I’m building FW version 0.5.1 from VS Code. The build claims jinja2 isn’t installed, however, pip indicates it’s already installed. Is there a secondary step I’m missing that allows the build process to see jinja2? Some other solution?
Output from VS Code terminal:
> Executing task in folder Firmware: make <
* 90) python -B interface_generator_stub.py --definitions odrive-interface.yaml --generate-endpoints ODrive --template fibre/cpp/endpoints_template.j2 --output autogen/endpoints.hpp
No module named 'jinja2'
Note that there are new compile-time dependencies since around v0.5.1.
Check out https://github.com/madcowswe/ODrive/blob/devel/docs/developer-guide.md#prerequisites for details.
*** tup messages ***
*** Command ID=367 failed with return value 1
* 89) python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre/cpp/function_stubs_template.j2 --output autogen/function_stubs.hpp
No module named 'jinja2'
Note that there are new compile-time dependencies since around v0.5.1.
Check out https://github.com/madcowswe/ODrive/blob/devel/docs/developer-guide.md#prerequisites for details.
*** tup messages ***
*** Command ID=365 failed with return value 1
* 88) python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre/cpp/interfaces_template.j2 --output autogen/interfaces.hpp
No module named 'jinja2'
Note that there are new compile-time dependencies since around v0.5.1.
Check out https://github.com/madcowswe/ODrive/blob/devel/docs/developer-guide.md#prerequisites for details.
*** tup messages ***
*** Command ID=363 failed with return value 1
* 87) python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre/cpp/type_info_template.j2 --output autogen/type_info.hpp
No module named 'jinja2'
Note that there are new compile-time dependencies since around v0.5.1.
Check out https://github.com/madcowswe/ODrive/blob/devel/docs/developer-guide.md#prerequisites for details.
*** tup messages ***
*** Command ID=369 failed with return value 1
[ ETA~=4s Remaining=87 Active=0 ] 4%
*** tup: 4 jobs failed.
make: *** [all] Error 1
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command make" terminated with exit code: 1.
Press any key to close the terminal.
Output from python:
pip install jinja2
Requirement already satisfied: jinja2 in c:\users\Username\anaconda3\lib\site-packages (2.11.3)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\Username\anaconda3\lib\site-packages (from jinja2) (1.1.1)
Thanks,
Alex