Closed js1010 closed 3 years ago
Anyone tested this PR? @ita9naiwa @js1010
pip install .
(which uses pyproject.toml (PEP518), build isolation (PEP517))example_als.py example1
, or performing pytest gives following error
Traceback (most recent call last):
File "example_als.py", line 7, in <module>
from buffalo.algo.als import ALS
File "/home/nailbrainz/buffalo_temp/buffalo/djangoenv2/lib/python3.7/site-packages/buffalo/algo/als.py", line 12, in <module>
from buffalo.evaluate import Evaluable
File "/home/nailbrainz/buffalo_temp/buffalo/djangoenv2/lib/python3.7/site-packages/buffalo/evaluate/__init__.py", line 1, in <module>
from .base import Evaluable
File "/home/nailbrainz/buffalo_temp/buffalo/djangoenv2/lib/python3.7/site-packages/buffalo/evaluate/base.py", line 3, in <module>
from buffalo.parallel._core import quickselect
ImportError: /tmp/pip-build-env-f080z5r0/overlay/lib/python3.7/site-packages/n2.cpython-37m-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
previous install command works. Only the ones wrt pyproject.toml fails. It would be great if anyone can provide commands used in the testing.
I think the problem is n2==0.1.6 (cannot be properly installed by pip) => should be changed to n2 == 0.1.7, will make other PR thanks @nailbrainz
pyproject.toml
ensures installing dependencies before running setup.py