Closed Badr-MOUFAD closed 2 years ago
@mathurinm could you pls verify whether this bug is OS related?
I use conda envs not virtual envs, can you give me steps to reproduce ?
Is it related to the wheel buidling we released in 0.7 ? Does pip install celer --no-binary
work? And with version 6.1 ?
If it fails in an empty env it will fail in CI's of benchmarks were celer is a requirement, we can check that too
I use conda envs not virtual envs, can you give me steps to reproduce ?
The bug doesn't occur in conda
environment.
Is it related to the wheel buidling we released in 0.7 ?
No, we also get the same bug for previous versions.
This was solved after releasing wheels (https://github.com/mathurinm/celer/pull/274) for Windows, macOS, and Linux.
minimal steps to reproduce,
cd
to a new directorypython -m venv venv
pip install -U celer
Error logs
(click to expend)
import numpy.distutils.command.sdist Traceback (most recent call last): File "C:\Users\HP\AppData\Local\Temp\easy_install-unrz350b\numpy-1.23.0rc3\setup.py", line 251, in generate_cython ModuleNotFoundError: No module named 'Cython' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\HP\Desktop\install-celer\venv\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules yield saved File "C:\Users\HP\Desktop\install-celer\venv\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context yield File "C:\Users\HP\Desktop\install-celer\venv\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup _execfile(setup_script, ns) File "C:\Users\HP\Desktop\install-celer\venv\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile exec(code, globals, locals) File "C:\Users\HP\AppData\Local\Temp\easy_install-unrz350b\numpy-1.23.0rc3\setup.py", line 493, inAdditional comments
It seems that the error is related to fetching NumPy builds
https://github.com/mathurinm/celer/blob/bd11a44471ff5b688eea30bb43030ec547dd3a4d/setup.py#L4
Also, a portion of the error, namely
is related to https://github.com/numpy/numpy/blob/705244444526804860e9f8d52459e2ca5c255366/setup.py#L257-L258