'ModuleNotFoundError: No module named 'faker'
I am trying to install faker
package and I got a message that is successfully installed
But when trying the code from faker import Faker
, I got a message ModuleNotFoundError: No module named 'faker'
I have tried to uninstall it pip uninstall Faker
then I used this line to install it again python -m pip install Faker
but the problem is still there.
Any idea how to fix that?
Solution 1:[1]
Install faker in Anaconda prompt using the following code:
pip install faker
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Chris |