我在微软视窗系统上通过PyCharm运行msys2。
我尝试运行以下命令:
C:\msys32\usr\bin\python3.exe -m pip install -e git+https://source.example.com/repos/myapp#egg=myapp我得到以下输出:
15 [main] python3 5640 child_info_fork::abort: address space needed by '_bz2.cpython-36m.dll' (0x5A0000) is already occupied
Obtaining myapp from git+https://source.example.com/repos/myapp#egg=myapp
Cloning https://source.example.com/repos/myapp to ./src/myapp
9 [main] python3 7008 child_info_fork::abort: address space needed by '_bz2.cpython-36m.dll' (0x5A0000) is already occupied
Error [Errno 11] Resource temporarily unavailable while executing command git clone -q https://source.example.com/repos/myapp "/c/Users/tguettler/PycharmProjects/myproject/src/myapp"
Could not install packages due to an EnvironmentError: [Errno 11] Resource temporarily unavailable
Process finished with exit code 1会出什么问题呢?
通过web浏览器访问URL工作正常。
如果我运行以下命令,则会发生大致相同的情况:
$ pip install cx_freeze
16 [main] python3 5748 child_info_fork::abort: address space needed by '_bz2.cpython-36m.dll' (0x390000) is already occupied
Collecting cx_freeze
Using cached https://files.pythonhosted.org/packages/5f/16/eab51d6571dfec2554248cb027c51babd04d97f594ab6359e0707361297d/cx_Freeze-5.1.1.tar.gz
10 [main] python3 2652 child_info_fork::abort: address space needed by '_bz2.cpython-36m.dll' (0x390000) is already occupied
Error [Errno 11] Resource temporarily unavailable while executing command python setup.py egg_info
Could not install packages due to an EnvironmentError: [Errno 11] Resource temporarily unavailable发布于 2018-08-29 21:12:30
我想我是这样解决的:
c:\msys32\usr\bin\dash c:\msys32\usr\bin\rebaseall -v以上代码行是在ms-dos终端中执行的。
现在,它似乎起作用了。
发布于 2018-08-29 20:42:41
在运行pip时,您只需指定包名,而不是包所在的URL。例如。
pip install package-name而且,大多数人直接从命令行运行它,而不是通过PyCharm
https://stackoverflow.com/questions/52077195
复制相似问题