Python 使用pipenv安装PySFML时出现问题
我尝试按照说明安装PySFMLPython 使用pipenv安装PySFML时出现问题,python,pip,pipenv,Python,Pip,Pipenv,我尝试按照说明安装PySFMLpipflat 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/pyth
pip
flat 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
我将url更改为#
而不是?
,它似乎开始工作,但随后:
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?似乎需要一些标签
在
需求文件用于用本地
存在于版本控制中的修补程序。例如,假设一个
依赖,PyPI中的一些依赖有一个bug,你等不及了
上游修复。您可以克隆/复制src,进行修复,然后放置
它在VCS中使用标记sometag。你应该在你的报告中引用它
需求文件,行如下:
git+https://myvcs.com/some_dependency@sometag#egg=SomeDependency
如果SomeDependency以前是您的
需求文件,然后用新行替换该行。如果
SomeDependency是一个子依赖项,然后添加新行