Closed adeebshihadeh closed 2 months ago
(.venv) batman:openpilot$ scons -j1 scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... clang++ -o common/tests/test_common -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/batman/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/batman/openpilot/third_party/snpe/x86_64 common/tests/test_runner.o common/tests/test_params.o common/tests/test_util.o common/tests/test_swaglog.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lmsgq_repo -Lthird_party -Lselfdrive/pandad -Lcommon -Lrednose/helpers common/libcommon.a -ljson11 -lzmq -lpthread clang++ -o msgq_repo/msgq/test_runner -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/batman/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/batman/openpilot/third_party/snpe/x86_64 msgq_repo/msgq/test_runner.o msgq_repo/msgq/msgq_tests.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lmsgq_repo -Lthird_party -Lselfdrive/pandad -Lcommon -Lrednose/helpers msgq_repo/libmsgq.a common/libcommon.a -ljson11 -lzmq clang++ -o msgq_repo/msgq/visionipc/test_runner -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/batman/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/batman/openpilot/third_party/snpe/x86_64 msgq_repo/msgq/visionipc/test_runner.o msgq_repo/msgq/visionipc/visionipc_tests.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lmsgq_repo -Lthird_party -Lselfdrive/pandad -Lcommon -Lrednose/helpers -lpthread msgq_repo/libvisionipc.a msgq_repo/libmsgq.a common/libcommon.a -ljson11 -lzmq -lzmq -lOpenCL clang++ -o msgq_repo/msgq/visionipc/visionipc_pyx.so -pthread -shared -Wl,-rpath=/home/batman/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/batman/openpilot/third_party/snpe/x86_64 msgq_repo/msgq/visionipc/visionipc_pyx.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lmsgq_repo -Lthird_party -Lselfdrive/pandad -Lcommon -Lrednose/helpers msgq_repo/libvisionipc.a msgq_repo/libmsgq.a common/libcommon.a -ljson11 -lzmq -lzmq -lOpenCL clang++ -o rednose/helpers/ekf_sym_pyx.so -pthread -shared -Wl,-rpath=/home/batman/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/batman/openpilot/third_party/snpe/x86_64 rednose/helpers/ekf_sym_pyx.o rednose/helpers/ekf_load.os rednose/helpers/ekf_sym.os -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lmsgq_repo -Lthird_party -Lselfdrive/pandad -Lcommon -Lrednose/helpers -ldl common/libcommon.a -ljson11 -lzmq -lzmq cd /home/batman/openpilot/selfdrive/controls/lib/lateral_mpc_lib && python3 lat_mpc.py python3: ./Include/cpython/tupleobject.h:23: Py_ssize_t PyTuple_GET_SIZE(PyObject *): Assertion `PyType_HasFeature((Py_TYPE(((PyObject*)((op))))), ((1UL << 26)))' failed. Aborted (core dumped) scons: *** [selfdrive/controls/lib/lateral_mpc_lib/c_generated_code/Makefile] Error 134 scons: building terminated because of errors.
Uninstalled the uv python and let it reinstall again with op setup and works fine now. Guess we can chalk it up to uv being experimental when it initially setup the first python.
op setup