Answer the question
In order to leave comments, you need to log in
Why doesn't Python see the vk_api library? (ModuleNotFoundError: No module named 'vk_api')?
I'm trying to write a bot for VKontakte in Python 3. OS - Windows 7. I downloaded the vk_api library, installed it using pip install. However, any attempt to call the code from the command line comes out like this:
Traceback (most recent call last):
File "C:\Python36-32\Scripts\vk_bot.py", line 3, in <module>
import vk_api
ModuleNotFoundError: No module named 'vk_api'
vk-api (11.0.0)
Answer the question
In order to leave comments, you need to log in
Try using virtualenv to avoid problems with python versions if you have more than one.
1. Create a virtual environment
2. Install vk_api in it and run the script.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question