Search code examples
pythonbinancemodulenotfounderrorbinance-api-client

ModuleNotFoundError: No module named 'binance'


I ran pip install python-binance.

from binance.client import Client and get the error ModuleNotFoundError: No module named 'binance

I have renamed the binance.py file because some people have said that solved it for them but still getting the error? Tried a bunch of other things like uninstall and reinstall


Solution

  • Found the solution to this problem. In the python interpreter I had the wrong package. I had 'binance' which I removed and added 'python-binance' package