cancel
Showing results for 
Search instead for 
Did you mean: 

Using Python virtual environment in Cube IDE

Clark Sann
Senior

I am developing an SBSFU based project for the B-U585I-IOT02A discovery board. The SBSFU project contains various python scripts that are automatically run during the build process. 

How can I force STM32CubeIDE to use the Python version and packages in my virtual environment? 

1 REPLY 1
Pavel A.
Evangelist III

To force python to use a specific venv, make sure that the python binary is the one inside the venv. Modify the PATH or do whatever else.