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
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
Here are some options I can advise:
tdqm with pip show tdqmIf 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.