esa / pygmo2

A Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pygmo2/
Mozilla Public License 2.0
414 stars 56 forks source link

[BUG] pyproject.toml and setup.py missing? #152

Closed danihae closed 4 months ago

danihae commented 4 months ago

When I install pygmo via pip pip install pygmo, I get this error message, suggesting that a setup.py and pyproject.toml file are missing.

ERROR: pygmo 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.

Thanks for your help!

bluescarni commented 4 months ago

Hi @danihae

pygmo does not have a fully-fledged and standard-compliant pip-based build system. We have only the bare minimum to produce binary wheels, which are the only supported types of pip packages.

We would need to understand why pip install pygmo attempts to use the source distribution rather than the binary wheels. Specifically:

Finally, I would suggest you to use conda rather than pip: on conda we have up-to-date packages for all major operating systems and platforms.

danihae commented 4 months ago

Hi @bluescarni

Thanks for the quick response! I use OSX. I now tried conda and it's working well.