简体   繁体   English

Anaconda PyPi安装

[英]Anaconda PyPi Installation

I'm trying to install a package not build in conda on Python 3.5 but founded on PyPi: "Seasonal" 我正在尝试安装一个不是在Python 3.5上的conda中构建而是在PyPi上创建的软件包: “季节性”

https://pypi.python.org/pypi/seasonal https://pypi.python.org/pypi/seasonal

So I think I just have to do that : 所以我认为我只需要这样做:

conda skeleton pypi seasonal
conda build seasonal
conda install --use-local seasonal

It worked for an other one, but here I have this error : 它为另一个工作,但这里我有此错误:

((env-smart-data)) smartdata@smartdata-VirtualBox:~/PycharmProjects/TimeSerie$ conda skeleton pypi seasonal
Warning, the following versions were found for seasonal
0.3.1
0.3.0
0.2.0
0.1.0
0.0.0
Using 0.3.1
Use --version to specify a different version.
Error: Could not parse url for seasonal: UNKNOWN

So conda can find it, but there is a problem .. Any ideas ? 所以conda可以找到它,但是有一个问题..有什么想法吗?

I've seen that seasonal is build on a Python 2.7, so I've tested it on a virtual env with Python 2.7, but it's exactly the same 我已经看到季节性是在Python 2.7上构建的,所以我已经在使用Python 2.7的虚拟环境中对其进行了测试,但这是完全相同的

If you can find it on PyPi, then you can simply do this: 如果您可以在PyPi上找到它,则只需执行以下操作:

pip install seasonal

Since you have conda installed, pip called here is actually calling anaconda's pip . 既然你有conda安装, pip这里所说的实际上是调用蟒蛇的pip Thus it will automatically handle install path etc. 因此它将自动处理安装路径等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM