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

pip hangs after something down, such as Successfully installed ... #4588

Closed
eromoe opened this issue Jul 1, 2017 · 2 comments
Closed

pip hangs after something down, such as Successfully installed ... #4588

eromoe opened this issue Jul 1, 2017 · 2 comments
Assignees
Labels
auto-locked Outdated issues that have been locked by automation project: vendored dependency Related to a vendored dependency resolution: duplicate Duplicate of an existing issue/PR type: bug A confirmed bug or unintended behavior

Comments

@eromoe
Copy link

eromoe commented Jul 1, 2017

  • Pip version:9.0.1
  • Python version: 2.7.13 32bit
  • Operating system:WIN7 X64

Description:

It suddenly happened today, I find pip hangs after some work down, such as Successfully installed ....
I have to Ctrl + C to break.

For example:

E:\Workspace\HearthSim\fireplace\tests>pip install pytest
Collecting pytest
  Downloading http://mirrors.aliyun.com/pypi/packages/73/e8/6d02c991f66d25f5a5eb66168295401876377d29
37771704d0cd949354de/pytest-3.1.2-py2.py3-none-any.whl (180kB)
    100% |████████████████████████████████| 184kB 1.4MB/s
Requirement already satisfied: setuptools in d:\python27\lib\site-packages (from pytest)
Requirement already satisfied: colorama; sys_platform == "win32" in d:\python27\lib\site-packages (f
rom pytest)
Collecting py>=1.4.33 (from pytest)
  Downloading http://mirrors.aliyun.com/pypi/packages/53/67/9620edf7803ab867b175e4fd23c7b8bd8eba11cb
761514dcd2e726ef07da/py-1.4.34-py2.py3-none-any.whl (84kB)
    100% |████████████████████████████████| 92kB 4.6MB/s
Installing collected packages: py, pytest
Successfully installed py-1.4.34 pytest-3.1.2
Traceback (most recent call last):
  File "d:\python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "d:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "D:\Python27\Scripts\pip.exe\__main__.py", line 9, in <module>
  File "d:\python27\lib\site-packages\pip\__init__.py", line 233, in main
    return command.main(cmd_args)
  File "d:\python27\lib\site-packages\pip\basecommand.py", line 252, in main
    pip_version_check(session)
  File "d:\python27\lib\site-packages\pip\utils\outdated.py", line 138, in pip_version_check
    state.save(pypi_version, current_time)
  File "d:\python27\lib\site-packages\pip\utils\outdated.py", line 71, in save
    with lockfile.LockFile(self.statefile_path):
  File "d:\python27\lib\site-packages\pip\_vendor\lockfile\__init__.py", line 197, in __enter__
    self.acquire()
  File "d:\python27\lib\site-packages\pip\_vendor\lockfile\mkdirlockfile.py", line 57, in acquire
    time.sleep(wait)
KeyboardInterrupt
E:\Workspace\HearthSim\fireplace\tests>pip install -U pip
Requirement already up-to-date: pip in d:\python27\lib\site-packages
Traceback (most recent call last):
  File "d:\python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "d:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "D:\Python27\Scripts\pip.exe\__main__.py", line 9, in <module>
  File "d:\python27\lib\site-packages\pip\__init__.py", line 233, in main
    return command.main(cmd_args)
  File "d:\python27\lib\site-packages\pip\basecommand.py", line 252, in main
    pip_version_check(session)
  File "d:\python27\lib\site-packages\pip\utils\outdated.py", line 138, in pip_version_check
    state.save(pypi_version, current_time)
  File "d:\python27\lib\site-packages\pip\utils\outdated.py", line 71, in save
    with lockfile.LockFile(self.statefile_path):
  File "d:\python27\lib\site-packages\pip\_vendor\lockfile\__init__.py", line 197, in __enter__
    self.acquire()
  File "d:\python27\lib\site-packages\pip\_vendor\lockfile\mkdirlockfile.py", line 57, in acquire
    time.sleep(wait)
KeyboardInterrupt
@pradyunsg pradyunsg added type: bug A confirmed bug or unintended behavior project: vendored dependency Related to a vendored dependency labels Jul 1, 2017
@pradyunsg
Copy link
Member

Thanks for filing this issue!

I'll look into it; it seems to be related to the vendored lockfile project.

@pradyunsg pradyunsg self-assigned this Jul 1, 2017
@pradyunsg
Copy link
Member

This is a duplicate of #3532. Closing in favour of that.

@pradyunsg pradyunsg added the resolution: duplicate Duplicate of an existing issue/PR label Jul 1, 2017
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation project: vendored dependency Related to a vendored dependency resolution: duplicate Duplicate of an existing issue/PR type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants