-
How to build a freestanding Zephyr application with cmake and venv?And how does it work when python modules were installed within python venv? I always get an error the global pip list does not contain this module, but the pip list in venv contains it, as expected. Here is the whole log:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I found a workaround.
This path is were python venv is located. |
Beta Was this translation helpful? Give feedback.
-
Setting some variable in
See https://docs.python.org/3/library/venv.html#how-venvs-work Or you can use one of virtual environment tools, such as conda, pipenv, poetry.
|
Beta Was this translation helpful? Give feedback.
I found a workaround.
put the following two commands in CMakeLists before "findpackage()"
This path is were python venv is located.