Ask coding questions

← Back to all posts
can't import binance package although its installed

pls help

I have a simple code and I'm using the binance package
I'm using binance==0.3 and binance-client==1.0.0

from binance.client import Client
from binance.enums import *

when I try to run my code I get this error

File "", line 7, in <module>
from binance.client import Client
ModuleNotFoundError: No module named 'binance'



How did you install it? Can you please provide more context?


@CosmicBear, yes. i installed it from the packages tab


You need to import it from the packages tab too


@MrVoo what do you mean ?
more then import binance ?


@NimrodGrinberg Yes, go to the packages tab (looks like a cube) and search for biance, then add it.


@MrVoo of course I did it ....
I know what's my problem.
on my local machine i had the same thing and to solve it I had to change
include-system-site-packages to false in the pyvenv.cfg file .
where can I do it in repl?


@NimrodGrinberg I don't know what a pyvenv.cfg is sooo sorry :P