0

I am using a virtual environment for my python code. I installed the gmsh module inside the folder project\venv\lib\site-packages, and apparently, it is done properly since when I create the "requirement.txt" it appears within the required modules. However, when I open the project folder in Visual Studio Code, and I try to import the gmsh module, it is not found.

Can you give me some hints??

-- Edit installation vs code

1 Answers1

0

As this answer suggest, you need to set your Python interpreter in VS Code.

You should select project\venv\bin\python as your interpreter

ItayB
  • 10,377
  • 9
  • 50
  • 77