[英]How to install python-binance into anaconda3?
I activate my environment in the Anaconda3
and then install python-binance
package using pip install python-binance
or pip3.我在
Anaconda3
中激活我的环境,然后使用pip install python-binance
python-binance
pip3 安装 python-binance package。 Then I try to import it:然后我尝试导入它:
from binance.client import Client
But there is an error message:但是有一个错误信息:
"ModuleNotFoundError: No module named 'binance'"
I set environment separately: ...\Anaconda3\Lib\site-packages
.我单独设置环境:
...\Anaconda3\Lib\site-packages
。 The binance
folder is inside site-packages
and client.py is inside: binance
folder binance
文件夹在site-packages
里面,client.py 在里面: binance
文件夹
Can someone help me with this?有人可以帮我弄这个吗?
You have to make 3 installations following next setps您必须在下一个 setps 之后进行 3 次安装
First of all, start installing pip with:首先,开始安装pip:
conda install pip
Second step:第二步:
conda install twisted
And finally:最后:
pip install python-binance
conda does not offer this library. conda 不提供这个库。 Therefore the best is to download it from the source and unzip and install into the folder: "...\\Anaconda3\\Lib\\site-packages"
因此最好是从源代码下载并解压缩并安装到文件夹中:“...\\Anaconda3\\Lib\\site-packages”
PS: path should be set. PS:应该设置路径。
for me the easiest way was:对我来说,最简单的方法是:
KR韩国
conda install -c conda-forge python-binance
https://anaconda.org/conda-forge/python-binance https://anaconda.org/conda-forge/python-binance
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.