no module found even after installation of any module for python

89 Views Asked by At

I am using VS code and python 3.10.5 with pip 24.0. I am getting error of nomodulefound even after installing. I want to use biopython and sciki-allele. I have created virtual environment too. Your help will be valuable. Thank you!

I tried different solutions which were previously given. like 'pip3 install biopython'. Also I am using windows10

for reference

1

There are 1 best solutions below

0
Klops On

You probably use pip that does not "belong" to your python. Maybe you got confused with python environments.

which pip will help you to understand which pip is used.

if you want to make sure it is the one belonging to your current python. Install with python -m pip install packagename

As you name vscode: If you are using interactive python (the line-by-line execution of python code), make sure you select the right kernel:

enter image description here