Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command-line tool needs extension? #51

Open
treatmesubj opened this issue Apr 1, 2020 · 1 comment · May be fixed by #71
Open

Command-line tool needs extension? #51

treatmesubj opened this issue Apr 1, 2020 · 1 comment · May be fixed by #71
Labels
enhancement New feature or request help wanted Extra attention is needed windows

Comments

@treatmesubj
Copy link

treatmesubj commented Apr 1, 2020

pip install importlab

Expected to use the importlab command-line tool on Windows but:

'importlab' is not recognized as an internal or external command,
operable program or batch file.

I saw importlab was in fact sitting in C:\Users...\AppData\Local\Programs\Python\Python38-32\Scripts, but I guess it wouldn't do anything without an extension, so I just renamed it to runimportlab.py to avoid circular reference and works fine.

runimportlab.py --tree script.py 
@rchen152 rchen152 added the enhancement New feature or request label Apr 2, 2020
@rchen152
Copy link
Contributor

rchen152 commented Apr 2, 2020

I don't think we test on Windows, so no surprise importlab doesn't work. If you're using Windows 10, you might be able to get around this using WSL. The "Requirements" and "Installing" sections of the README for pytype (a project that uses importlab for which users have contributed some bare-bones WSL installation instructions) might be helpful: https://github.com/google/pytype#requirements.

@martindemello martindemello added the help wanted Extra attention is needed label Jan 15, 2021
@jamesmyatt jamesmyatt linked a pull request May 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants