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

[BUG] Installing via pip fails #124

Closed
BenediktPrusas opened this issue Feb 24, 2023 · 2 comments
Closed

[BUG] Installing via pip fails #124

BenediktPrusas opened this issue Feb 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@BenediktPrusas
Copy link

When installing the latest version via pip install pygmo i get the following error:

ERROR: pygmo==2.19.0 from https://files.pythonhosted.org/packages/e2/12/090ba61479f60d5177a0048736d09dc028b2d65063ed44cb952df506336f/pygmo-v2.19.0.tar.gz does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

@BenediktPrusas BenediktPrusas added the bug Something isn't working label Feb 24, 2023
@vicky-nike
Copy link

Having same issue in windows but I'm able to install without any issue in linux.
python version: 3.10.10
command: pip install pygmo

@bluescarni
Copy link
Member

@BenediktPrusas @vicky-nike there are no pre-built wheels for Windows, so I presume that pip is trying to fetch the source of pygmo and build it.

This won't work because the source tarball is not made to be built with pip, as pygmo uses CMake as build system. In the medium term, we might be able to provide pre-built Windows wheels once projects such as scikit-build-core ( https://github.com/scikit-build/scikit-build-core ) mature, but at the moment pre-built wheels are available only for Linux.

My suggestion would be to either switch to conda, or perhaps to install pygmo in a WSL environment (not tested though).

Closing the issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants