alievk / npbg

Neural Point-Based Graphics
MIT License
324 stars 51 forks source link

An error occurred while installing metashape. #18

Open bring728 opened 3 years ago

bring728 commented 3 years ago

in ubuntu 18.04

(npbg) vig-titan2@vigtitan2-System-Product-Name:~/PycharmProjects/npbg/metashape-pro$ LD_LIBRARY_PATH="python/lib:$LD_LIBRARY_PATH" ./python/bin/python3.5 -m pip install pillow Collecting pillow Using cached https://files.pythonhosted.org/packages/60/f0/dd2eb7911f948bf529f58f0c7931f6f6466f711bd6f1d81a69dc4edd4e2a/Pillow-8.1.2.tar.gz Complete output from command python setup.py egg_info: /home/vig-titan2/PycharmProjects/npbg/metashape-pro/python/bin/python3.5: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory

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

Command "python setup.py egg_info" failed with error code 127 in /tmp/pip-build-2xuxzoaq/pillow/

It seems that LD_LIBRARY_PATH is not set properly. can you help me?

seva100 commented 3 years ago

Hi @bring728, not sure but please try using absolute paths in LD_LIBRARY_PATH. Please also see other possible solutions here.