尝试安装python软件包时出现错误

时间:2019-11-07 11:34:24

标签: python anaconda conda

我尝试安装特定的软件包cx_oracle

cd ~/anaconda3
export http_proxy=********:80
export https_proxy=********:80
export ftp_proxy=********:80
source activate root
conda config --set ssl_verify False
conda install -c anaconda cx_oracle

并出现了很多错误:

>     If the requested url is in fact a valid conda channel, please request that the
>     channel administrator create `noarch/repodata.json` and associated
>     `noarch/repodata.json.bz2` files, even if `noarch/repodata.json` is empty.
>     $ mkdir noarch
>     $ echo '{}' > noarch/repodata.json
>     $ bzip2 -k noarch/repodata.json

......

>  PackageNotFoundError: Package missing in current linux-64 channels:
>       - cx_oracle

以前我不得不禁用ssl验证(由于ssl证书错误):conda config --set ssl_verify False

有什么想法吗? 谢谢

0 个答案:

没有答案