First time here? Checkout the FAQ!
x
+1 vote
by (1.2k points)
When I was installing openCARP from source(I have done this a lot of times), I always ran into a bash error message saying "python: not found", which refers to Python2. I circumvented this problem by installing the python-is-python3 package and forcing the pointer to Python3.

While everything does compile correctly after that, I am wondering if forcing the pointer to Python3 is the intended way to do it, or if I also need to install Python2.

---------------------------------------------------------------

[ 12%] Linking CXX executable param

[ 12%] Built target param-bin

[ 13%] Use param to generate openCARP_d.h;openCARP_p.cc;openCARP_p.h from openCARP.prm

[ 13%] Generate a C header file defining some information about the build

/bin/sh: 1: python: not found

make[2]: *** [simulator/CMakeFiles/carp.dir/build.make:62: simulator/build_info.h] Error 127

make[1]: *** [CMakeFiles/Makefile2:445: simulator/CMakeFiles/carp.dir/all] Error 2

make: *** [Makefile:152: all] Error 2
by (17.5k points)
Thanks for the feedback, this could indeed be streamlined. We'll look into it.

1 Answer

0 votes
by (17.5k points)
Your suggestion was included in the master branch and will be part of the next release, thanks!

https://git.opencarp.org/openCARP/openCARP/-/compare/3168a5175c66f36a2a7e4f2c02fb752aa2db66e8...0f953f6ebb910b7d0666f035572ea4a2e01479f7
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...