'Linux Python how to use libraries from an IDE
I have installed tensorflow and OpenCV in a virtual environment (located pi/projects/env)
In terminal I can access the environment then run "python3" to test if tensorflow is working. But I don't know how I can use tensorflow/opencv from an IDE (importing the libraries doesn't work) and gives an error saying the module has not been found.
So how do I add the path to the libraries to my IDE so it compilies the libraries?
*I am currently using Geany IDE on a raspberry pi 4
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|