I activate my environment in the Anaconda3
and then install python-binance
package using pip install python-binance
or pip3. 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
. The binance
folder is inside site-packages
and client.py is inside: binance
folder
Can someone help me with this?
You have to make 3 installations following next setps
First of all, start installing pip with:
conda install pip
Second step:
conda install twisted
And finally:
pip install python-binance
conda does not offer this library. Therefore the best is to download it from the source and unzip and install into the folder: "...\\Anaconda3\\Lib\\site-packages"
PS: path should be set.
for me the easiest way was:
KR
conda install -c conda-forge python-binance
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.