Hello,when I run the command sudo apt install hailo-all
in the Linux terminal, it installs all the packages and I can import them without any issues. However, when I try to use this command in a virtual environment in Visual Studio Code, I can’t import the necessary libraries(hailo_platform). I need the virtual environment because I will also install TensorFlow via pip. So, how can I import the libraries(hailo_platform) from hailo-all
in this virtual environment?
Hey @faikkom66,
The hailo-all
package is specific to Raspberry Pi. To use it within a virtual environment, you need to ensure that hailo-all
is installed system-wide, and then you can access it from within the virtual environment.
In your Visual Studio Code terminal, run the following:
python3 -m venv --system-site-packages <path_to_virtualenv>