How to fix module not found error in pycharm

Pycharm helps us to create the virtual environment . The virtual environment helps us to manage setting and the dependencies of a particular project. Like in one project we want the module tensorflow of version 2.0 and in another project we want its version of 1.1. So by the help of virtual environment we can do this easily.

Therefore sometime we have installed the module but because of the virtual environment it shows that the module is not found or not installed.

To solve this problem follow the following step:

Open your cmd and type "python"
It will display the current version of your python installed in your system.

make sure you don't have two python version installed into your system.If exist delete one version of it. 

Now open your Pycharm ide 
Click on the button to edit configuration

now click on the interpreter and select your main python version which you have installed into your system and then click on apply and then press ok.

Like in my case Python 3.6 is the main version and others are virtual environment.

 
Now go to setting (ctrl + alt + s)
Select Project and then click on Project Interpreter.
Now choose the location where your main python is installed.


Click on apply and then press ok.

Now your problem must have resolved.



Comments

Popular posts from this blog

How to make a folder completely hidden

Java

How to hack wifi password using cmd