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

Problems with wheels / PEP 517 when trying to create a pip package #496

Closed
franciscaconcha opened this issue Sep 30, 2019 · 4 comments
Closed
Labels
stale Issues that have been around for a while without updates

Comments

@franciscaconcha
Copy link

franciscaconcha commented Sep 30, 2019

I'm trying to create a pip release (python2.7) for a version of AMUSE including a new community code (vader) and the interface we've developed for it. I based my pip package in the "original" AMUSE pip package. When I try to install my package, I get the following error:

ERROR: Could not build wheels for amuse-galaxia, amuse-simplex, amuse-mmams, amuse-brutus, amuse-evtwin, amuse-ph4 which use PEP 517 and cannot be installed directly

I know this error comes from wheels, and found this and this about it, but I'm not sure where to go from here. Any help would be very appreciated, it's my first time creating pip packages.

@ipelupessy
Copy link
Member

hmmm, what are your prerequisites for the pip package - it should only need amuse-framework (and then at least it will not complain about all these other code package) ..further:
are you trying to create a binary package? otherwise, we usually generate a source package:

python setup.py sdist 

in one of the package directories (under packages/)...

@PaoloSuin
Copy link

Actually I had the same problem. To solve it I downloaded the tar.gz directory from the sites.
In the directory with makefile, tried to run 'make' from the shell: it reported an error about the absence of '-llapack' and '-lblas', which are ubuntu libraries.

running the command:

sudo apt-get install liblapack-dev -y ; sudo apt-get install liblapack3 -y ; sudo apt-get install libopenblas-base -y ; sudo apt-get install libopenblas-dev -y ;

the installation proceeded without problems.

@stale
Copy link

stale bot commented Mar 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues that have been around for a while without updates label Mar 4, 2022
@ipelupessy
Copy link
Member

I think the Vader package has been merged (this was the same was it?) ; and there is a solution posted..

close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues that have been around for a while without updates
Projects
None yet
Development

No branches or pull requests

3 participants