Reputation:
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?
Upvotes: 1
Views: 7064
Reputation: 115
conda install -c conda-forge python-binance
https://anaconda.org/conda-forge/python-binance
Upvotes: 0
Reputation: 21
for me the easiest way was:
KR
Upvotes: 2
Reputation: 31
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
Upvotes: 3
Reputation:
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"
P.S.: path should be set.
Upvotes: 2