简体   繁体   中英

ModuleNotFoundError, even after pip install

I have recently bought a new laptop and was viewing some python projects of mine which I made on my pc. For one of them I use the python-bitvavo-api library which I installed using pip3 install python-bitvavo-api . The version I installed is 1.2.2 which is the latest on their website.

Now when I try to import it using this code: from python_bitvavo_api.bitvavo import Bitvavo , I get the following error:

Traceback (most recent call last): File "C:\Users\indig\OneDrive\Documenten\Python Projects\Personal\Cryptone\Cryptone.py", line 6, in <module> from python_bitvavo_api.bitvavo import Bitvavo ModuleNotFoundError: No module named 'python_bitvavo_api'

I read online that it may occur when using multiple python versions, Im only using 1 and thats python 3.7

Btw. I have the same error with the Pillow module, so it might be a setting in visual studio that I dont know of. Anyway, someone please help. If you need more details please ask.

How are you running it? From the terminal or from VS? You can also check the installed libraries running the command pip list

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM