【发布时间】:2018-03-22 03:36:17
【问题描述】:
我尝试按照说明here 安装 PySFML。 pipflat out 不会接受这个命令:
pip git+https://github.com/Sonkun/python-sfml?egg=pySFML
ERROR: unknown command "git+https://github.com/Sonkun/python-sfml?egg=pySFML"
我尝试使用pipenv(无论如何我都希望使用它),它给出了:
pipenv install git+https://github.com/Sonkun/python-sfml?egg=pySFML
zsh: no matches found: git+https://github.com/Sonkun/python-sfml?egg=pySFML
我将网址更改为# 而不是?,它似乎开始工作,但随后:
Installing git+https://github.com/Sonkun/python-sfml#egg=pysfml…
⠦Warning: You installed a VCS dependency in non–editable mode. This will work fine, but sub-dependencies will not be resolved by $ pipenv lock.
To enable this sub–dependency functionality, specify that this dependency is editable.
Collecting pysfml from git+https://github.com/Sonkun/python-sfml#egg=pysfml
Cloning https://github.com/Sonkun/python-sfml to /tmp/pip-build-7z0jrlmi/pysfml
Error: An error occurred while installing git+https://github.com/Sonkun/python-sfml#egg=pysfml!
No files/directories in /tmp/pip-build-7z0jrlmi/pysfml/pip-egg-info (from PKG-INFO)
(注意:将? 切换到# 会为pip 提供相同的错误)
如何从这里获取pipenv 来安装 PySFML?
【问题讨论】: