npbg icon indicating copy to clipboard operation
npbg copied to clipboard

An error occurred while installing metashape.

Open bring728 opened this issue 3 years ago • 1 comments

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?

bring728 avatar Mar 31 '21 02:03 bring728

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

seva100 avatar Mar 31 '21 04:03 seva100