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

Primesieve installment error #4924

Open
jddeoro20 opened this issue Oct 29, 2024 · 1 comment
Open

Primesieve installment error #4924

jddeoro20 opened this issue Oct 29, 2024 · 1 comment

Comments

@jddeoro20
Copy link

Describe the current behavior
i'm trying to install primesieve but it givees me this error

Collecting primesieve
Using cached primesieve-2.3.4.tar.gz (146 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: primesieve
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for primesieve (setup.py) ... error
ERROR: Failed building wheel for primesieve
Running setup.py clean for primesieve
Failed to build primesieve
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (primesieve)

Describe the expected behavior
A clear and concise explanation of what you expected to happen.

What web browser you are using
Brave

@jddeoro20 jddeoro20 added the bug label Oct 29, 2024
@metrizable
Copy link
Contributor

@jddeoro20 Thanks for filing the issue and thanks for using Colab.

I tried installing primesieve==2.3.4 from PyPI and from source and both installations failed. Adding --verbose to pip install, it fails when trying to build the primesieve._primesieve extension with No module named 'distutils.msvccompiler'.

One work-around I found was to downgrade to setuptools<74, restart the session, then install primesieve<=2.3.0 (newer versions of primesieve fail for other reasons):

59qWEg4ziAw3Zqe

I'd recommend reaching out to the package maintainers, referencing this issue.

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

No branches or pull requests

2 participants