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

Cannot run on Windows10 #78

Open
eblis opened this issue Oct 30, 2020 · 0 comments
Open

Cannot run on Windows10 #78

eblis opened this issue Oct 30, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@eblis
Copy link

eblis commented Oct 30, 2020

What's the bug all about?

I've found out about the project and wanted to use it to upgrade my libraries but cannot get it to run successfully.

What command led to this issue?

$ pipupgrade --verbose

Logs

Please paste the logs using pipupgrade --verbose

pipupgrade --verbose
2020-10-30 12:41:03,032 | INFO | Executing command: C:\Program Files\Python38\Scripts\pip.EXE --version
Traceback (most recent call last):
  File "c:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\program files\python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python38\Scripts\pipupgrade.exe\__main__.py", line 7, in <module>
  File "c:\program files\python38\lib\site-packages\pipupgrade\cli\__init__.py", line 15, in wrapper
    return fn(**params)
  File "c:\program files\python38\lib\site-packages\pipupgrade\commands\__init__.py", line 73, in command
    logger.info("Environment: %s" % environment())
  File "c:\program files\python38\lib\site-packages\pipupgrade\config.py", line 126, in environment
    environ["pip_executables"]  = [dict(
  File "c:\program files\python38\lib\site-packages\pipupgrade\config.py", line 128, in <listcomp>
    version    = _pip.call("--version", pip_exec = executable,
  File "c:\program files\python38\lib\site-packages\pipupgrade\_pip.py", line 75, in call
    output = popen(*params, output = output, raise_err = raise_err)
  File "c:\program files\python38\lib\site-packages\pipupgrade\util\system.py", line 84, in popen
    raise PopenError(code, command)
pipupgrade.exception.PopenError: Command 'C:\Program Files\Python38\Scripts\pip.EXE --version' returned non-zero exit status 1.

I can run the command myself though:

"c:\Program Files\Python38\Scripts\pip.exe" --version
pip 20.2.4 from c:\program files\python38\lib\site-packages\pip (python 3.8)
pipupgrade==1.7.4
@eblis eblis added the bug Something isn't working label Oct 30, 2020
max-nicholson added a commit to max-nicholson/pipupgrade that referenced this issue Jan 30, 2021
`test_command` hangs forever on Windows (see achillesrasquinha#78), so CI runs for
the full 6hrs for each Windows run
Until achillesrasquinha#78 is resolved, test should be skipped so the Windows CI can at
least test the rest of the codebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants