I have installed tqdm
using pip install tqdm
but I still got an error that ModuleNotFoundError: No module named 'tqdm'
,
how can I fix this?
my code looks like this from tqdm import tqdm
CodePudding user response:
Here are some options I can advise:
- Check that you have
tdqm
with pip showtdqm
- Check that you're using the correct virtual environment.
- You can try uninstall and then reinstall it again.
CodePudding user response:
If you use a virtual environment, ensure the correct environment is activated.
Also, you might need to use pip3 instead of pip, as in
pip3 install tqdm
.Finally, check if you have multiple versions of python installed. For Windows/Mac/Linux. If you have multiple versions of python. Delete unused versions.