AttributeError: module 'pypangolin' has no attribute 'DrawCameras'
kir486680 opened this issue · 1 comments
kir486680 commented
This issue only appear if pangolin is compiled from here. How would I add DrawCameras()
to the original repository?
chbGSmCm commented
make sure youre downloading the right pangolin (the python fork)
https://github.com/uoip/pangolin
instead of 'cmake ..' do:
cmake .. -DBUILD_PANGOLIN_FFMPEG=OFF -DPYBIND11_PYTHON_VERSION=3.8.5 (or whatever version of python youre using)
it should look like this
git clone https://github.com/uoip/pangolin.git
cd pangolin
mkdir build
cd build
cmake .. -DPYBIND11_PYTHON_VERSION=3.8.5 -DBUILD_PANGOLIN_FFMPEG=OFF
make -j8
cd ..
python setup.py install