警告:我是python和pipenv的新手
我正在尝试使用shakedown
和pipenv
创建一个可复制的DC/OS测试设置。我认为下面的问题更像是一个pipenv
的问题。在
我第一次安装:
pipenv install dcoscli
如果我这样做,我可以看到:
...
dcoscli (0.5.7)
...
然后,我尝试安装dcos-shakedown
,它抱怨找不到{
尽管出现错误消息,dcos-shakedown
似乎已安装并正在工作。在
pipenv shell
python
------
Python 3.6.3 (default, Oct 3 2017, 21:45:48)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from shakedown import *
(succeeds)
安装失败后,我的pip文件如下所示:
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
[packages]
dcoscli = "*"
dcos-shakedown = "*"
behave = "*"
[requires]
python_version = "3.6"
我也尝试显式地安装pipenv install dcoscli==0.5.7
,但是我得到了与上面相同的错误消息。在
我确实在两个依赖项的virtualenv(pipenv shell
)中尝试了一个“普通”pip install
),但它没有给我带来任何问题。(为了避免污染,我确实在试验之间清理了virtualenv
目录)
我是做错什么了还是遇到了一些问题?在
所以这对我来说很好。如果我在MacOS或Ubuntu上从头开始
现在看起来您的
pipenv
可能是从一个已有来源的venv或{a2}运行的我会从香草壳开始。或者检查shell上的PATH变量是否指向系统上的“不同”python二进制文件
相关问题 更多 >
编程相关推荐