nix-community / pypi2nix

Abandoned! Generate Nix expressions for Python packages
194 stars 47 forks source link

Cannot cythonize without Cython installed #429

Open GuillaumeDesforges opened 4 years ago

GuillaumeDesforges commented 4 years ago

Description

requirements.txt

jupyter

black
flake8

numpy
pandas

Error

% pypi2nix --version
1.8.1
% pypi2nix -V 3 -r requirements.txt
Collecting cython (from -r /tmp/pypi2nix/293c2f3e4b7613a6fbe763076e7c60fd/ca93d70f4da579ba9192c2733f2e0cfa.txt (line 1))

  Downloading https://files.pythonhosted.org/packages/d9/82/d01e767abb9c4a5c07a6a1e6f4d5a8dfce7369318d31f48a52374094372e/Cython-0.29.15.tar.gz (2.1MB)

Collecting jupyter (from -r /tmp/pypi2nix/293c2f3e4b7613a6fbe763076e7c60fd/ca93d70f4da579ba9192c2733f2e0cfa.txt (line 2))

  Using cached https://files.pythonhosted.org/packages/c9/a9/371d0b8fe37dd231cf4b2cff0a9f0f25e98f3a73c3771742444be27f2944/jupyter-1.0.0.tar.gz

Collecting black (from -r /tmp/pypi2nix/293c2f3e4b7613a6fbe763076e7c60fd/ca93d70f4da579ba9192c2733f2e0cfa.txt (line 4))

  Using cached https://files.pythonhosted.org/packages/b0/dc/ecd83b973fb7b82c34d828aad621a6e5865764d52375b8ac1d7a45e23c8d/black-19.10b0.tar.gz

Collecting flake8 (from -r /tmp/pypi2nix/293c2f3e4b7613a6fbe763076e7c60fd/ca93d70f4da579ba9192c2733f2e0cfa.txt (line 5))

  Using cached https://files.pythonhosted.org/packages/a5/bb/7e707d8001aca96f15f684b02176ecb0575786f041293f090b44ea04f2d0/flake8-3.7.9.tar.gz

Collecting numpy (from -r /tmp/pypi2nix/293c2f3e4b7613a6fbe763076e7c60fd/ca93d70f4da579ba9192c2733f2e0cfa.txt (line 7))

  Using cached https://files.pythonhosted.org/packages/40/de/0ea5092b8bfd2e3aa6fdbb2e499a9f9adf810992884d414defc1573dca3f/numpy-1.18.1.zip

Collecting pandas (from -r /tmp/pypi2nix/293c2f3e4b7613a6fbe763076e7c60fd/ca93d70f4da579ba9192c2733f2e0cfa.txt (line 8))

  Using cached https://files.pythonhosted.org/packages/02/c3/e8c56de02d6c52f8541feca2fd77117e8ae4956f7b3e5cdbed726624039b/pandas-1.0.1.tar.gz

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/tmp/pypi2nix/cache/pip/pandas/setup.py", line 757, in <module>

        ext_modules=maybe_cythonize(extensions, compiler_directives=directives),

      File "/tmp/pypi2nix/cache/pip/pandas/setup.py", line 515, in maybe_cythonize

        raise RuntimeError("Cannot cythonize without Cython installed.")

    RuntimeError: Cannot cythonize without Cython installed.

    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pypi2nix/cache/pip/pandas/

You are using pip version 9.0.1, however version 20.0.2 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.