Error installing from pip
#1
by
Elementirex
- opened
Hello! When installing, an error occurs lap: lap does not see numpy when it is installed. Tested both in venv and in conda on python 3.8
Building wheel for lap (setup.py) ... error
error: subprocess-exited-with-error
Γ python setup.py bdist_wheel did not run successfully.
β exit code: 1
β°β> [15 lines of output]
/tmp/pip-install-p3db5bsi/lap_257558827e4d4e138b62c67b3d86f93a/setup.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import parse_version
Partial import of lap during the build process.
Traceback (most recent call last):
File "/tmp/pip-install-p3db5bsi/lap_257558827e4d4e138b62c67b3d86f93a/setup.py", line 127, in get_numpy_status
import numpy
ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-p3db5bsi/lap_257558827e4d4e138b62c67b3d86f93a/setup.py", line 236, in <module>
setup_package()
File "/tmp/pip-install-p3db5bsi/lap_257558827e4d4e138b62c67b3d86f93a/setup.py", line 220, in setup_package
raise ImportError('lap requires numpy, '
ImportError: lap requires numpy, please "pip install numpy".
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lap
Running setup.py clean for lap
Successfully built ocsort
Failed to build lap
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (lap)
You should send a pull request to the github project.