Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer broken by h5py, webbrowser, et al #201

Open
cornpo opened this issue Oct 29, 2023 · 3 comments
Open

Installer broken by h5py, webbrowser, et al #201

cornpo opened this issue Oct 29, 2023 · 3 comments

Comments

@cornpo
Copy link

cornpo commented Oct 29, 2023

I did git clone, then; ./setup.py --prefix=../neuro/ --verbose --blender-version 3.1

Installing collected packages: pytz, tzdata, six, numpy, python-dateutil, pandas
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
botocore 1.31.68 requires urllib3<2.1,>=1.25.4; python_version >= "3.10", which is not installed.
Successfully installed numpy-1.26.1 pandas-2.1.2 python-dateutil-2.8.2 pytz-2023.3.post1 six-1.16.0 tzdata-2023.3
INSTALL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed Pillow
* SHELL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed Pillow
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting Pillow
Downloading Pillow-10.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (9.5 kB)
Downloading Pillow-10.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 7.4 MB/s eta 0:00:00
Installing collected packages: Pillow
Successfully installed Pillow-10.1.0
INSTALL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed webbrowser
* SHELL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed webbrowser
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
ERROR: Could not find a version that satisfies the requirement webbrowser (from versions: none)
ERROR: No matching distribution found for webbrowser
INSTALL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed tqdm
* SHELL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed tqdm
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting tqdm
Downloading tqdm-4.66.1-py3-none-any.whl.metadata (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 1.8 MB/s eta 0:00:00
Downloading tqdm-4.66.1-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 7.8 MB/s eta 0:00:00
Installing collected packages: tqdm
Successfully installed tqdm-4.66.1
INSTALL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed morphio
* SHELL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed morphio
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting morphio
Downloading MorphIO-3.3.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.5 kB)
Collecting numpy>=1.14.1 (from morphio)
Downloading numpy-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 1.6 MB/s eta 0:00:00
Downloading MorphIO-3.3.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 9.2 MB/s eta 0:00:00
Downloading numpy-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 10.3 MB/s eta 0:00:00
Installing collected packages: numpy, morphio
Successfully installed morphio-3.3.6 numpy-1.26.1
INSTALL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed h5py==2.10.0
* SHELL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install --ignore-installed h5py==2.10.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting h5py==2.10.0
Downloading h5py-2.10.0.tar.gz (301 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.1/301.1 kB 3.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting numpy>=1.7 (from h5py==2.10.0)
Downloading numpy-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 20.6 MB/s eta 0:00:00
Collecting six (from h5py==2.10.0)
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading numpy-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 10.3 MB/s eta 0:00:00
Building wheels for collected packages: h5py
Building wheel for h5py (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [66 lines of output]
/home/cornpop/.local/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/h5py
copying h5py/version.py -> build/lib.linux-x86_64-cpython-310/h5py
copying h5py/ipy_completer.py -> build/lib.linux-x86_64-cpython-310/h5py
copying h5py/highlevel.py -> build/lib.linux-x86_64-cpython-310/h5py
copying h5py/h5py_warnings.py -> build/lib.linux-x86_64-cpython-310/h5py
copying h5py/init.py -> build/lib.linux-x86_64-cpython-310/h5py
creating build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/vds.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/selections2.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/selections.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/group.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/filters.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/files.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/dims.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/datatype.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/dataset.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/compat.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/base.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/attrs.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
copying h5py/_hl/init.py -> build/lib.linux-x86_64-cpython-310/h5py/_hl
creating build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_threads.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_slicing.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_selections.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_objects.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_h5t.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_h5pl.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_h5p.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_h5f.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_h5d_direct_chunk.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_h5.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_group.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_filters.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_file_image.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_file2.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_file.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_dtype.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_dims_dimensionproxy.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_dimension_scales.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_deprecation.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_datatype.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_dataset_swmr.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_dataset_getitem.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_dataset.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_completions.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_base.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_attrs_data.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_attrs.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/test_attribute_create.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/common.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
copying h5py/tests/init.py -> build/lib.linux-x86_64-cpython-310/h5py/tests
creating build/lib.linux-x86_64-cpython-310/h5py/tests/test_vds
copying h5py/tests/test_vds/test_virtual_source.py -> build/lib.linux-x86_64-cpython-310/h5py/tests/test_vds
copying h5py/tests/test_vds/test_lowlevel_vds.py -> build/lib.linux-x86_64-cpython-310/h5py/tests/test_vds
copying h5py/tests/test_vds/test_highlevel_vds.py -> build/lib.linux-x86_64-cpython-310/h5py/tests/test_vds
copying h5py/tests/test_vds/init.py -> build/lib.linux-x86_64-cpython-310/h5py/tests/test_vds
running build_ext
Loading library to get version: libhdf5.so
error: libhdf5.so: cannot open shared object file: No such file or directory
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for h5py
Running setup.py clean for h5py
Failed to build h5py
ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects
* Installing: BBP dependencies
* SHELL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install -i https://bbpteam.epfl.ch/repository/devpi/simple/ bluepy
Looking in indexes: https://bbpteam.epfl.ch/repository/devpi/simple/, https://pypi.ngc.nvidia.com
ERROR: Could not find a version that satisfies the requirement bluepy (from versions: none)
ERROR: No matching distribution found for bluepy
* SHELL: ../neuro//bbp-blender-3.1/blender-bbp/3.1/python/bin//pip install -i https://bbpteam.epfl.ch/repository/devpi/simple/ bluepy_configfile
Looking in indexes: https://bbpteam.epfl.ch/repository/devpi/simple/, https://pypi.ngc.nvidia.com
ERROR: Could not find a version that satisfies the requirement bluepy_configfile (from versions: none)
ERROR: No matching distribution found for bluepy_configfile
* Cleaning
* SHELL: rm ../neuro//bbp-blender-3.1/blender.tar.xz

@marwan-abdellah
Copy link
Member

@cornpo which operating system ?

@KeremKurban
Copy link
Member

I have the same problem with windows on unix shell (wsl)

@KeremKurban
Copy link
Member

After making a ssh connection , the installation finished but following the rest of the installation guide, it is still not running

./blender: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants