First time here? Checkout the FAQ!
0 votes
by (460 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.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 (4.1k points)
Thanks for the feedback, this could indeed be streamlined. We'll look into it.

1 Answer

0 votes
by (4.1k points)
Your suggestion was included in the master branch and will be part of the next release, thanks!
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