ImportError: version Qt_5 not defined in file libQt5Xml.so.5 with link time reference
See original GitHub issueDescribe the bug I run following command to obtain the point cloud in colab demo:
ns-export pointcloud --load-config outputs/data-nerfstudio-poster/nerfacto/2022-12-13_194317/config.yml --output-dir exports/pcd/ --num-points 1000000 --remove-outliers True --estimate-normals False --use-bounding-box True --bounding-box-min -1 -1 -1 --bounding-box-max 1 1 1
But it’s showing the next error:
Traceback (most recent call last):
File "/usr/local/bin/ns-export", line 5, in <module>
from scripts.exporter import entrypoint
File "/usr/local/lib/python3.8/site-packages/scripts/exporter.py", line 20, in <module>
from nerfstudio.exporter import texture_utils, tsdf_utils
File "/usr/local/lib/python3.8/site-packages/nerfstudio/exporter/texture_utils.py", line 36, in <module>
from nerfstudio.exporter.exporter_utils import Mesh
File "/usr/local/lib/python3.8/site-packages/nerfstudio/exporter/exporter_utils.py", line 29, in <module>
import pymeshlab
File "/usr/local/lib/python3.8/site-packages/pymeshlab/__init__.py", line 11, in <module>
from .pmeshlab import *
ImportError: /usr/local/lib/python3.8/site-packages/pymeshlab/lib/libmeshlab-common.so: symbol __cxa_throw_bad_array_new_length version Qt_5 not defined in file libQt5Xml.so.5 with link time reference
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
[Solved] Qt_5 not defined in file libQt5Core.so.5 with link time ...
I went into the /usr/lib/x86_64-linux-gnu folder and both the libQt5Xml.so.5 and libQt5Core.so.5 files are there. However, they are .so files ...
Read more >version Qt_5 not defined in file libQt5Gui.so.5 with link time ...
Hi,when I run examplepython example_baxter_pick_and_pass.py I got the error: ImportError: /home/hetolin/vrep/libv_rep.so.1: symbol ...
Read more >Error on execution -version `Qt_5' not found required by
Issue happens because you have Qt installed in /usr/lib/x86_64-linux-gnu from distro which ld will use by default.
Read more >version Qt_5 not defined in file libQt5Core.so.5 with link time ...
version Qt_5 not defined in file libQt5Core.so.5 with link time reference ... ImportError: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: symbol ...
Read more >Ubuntu 18.4 libQt5Core.so.5: cannot open shared object file
For me, the libqt5gui5 package was already installed. I tried reinstalling like in the other answer, but still got the error:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gowriaddepalli @tojiboyevf Looks like I was able to fix the issue by recommendation from this github issue.
After training and copying down the export command, run
!conda remove --force qt-main
to remove conda’s version of Qt. Then run the export command in a cell as you normally would.This might have issues with training, so I would only run this after you’ve done your model training.
I was getting this same error when using latest docker image 0.1.13, finally got this fixed by building my own image as follows
EDIT: BTW this breaks the command ns-process-data, I was only interested in training though