-
Notifications
You must be signed in to change notification settings - Fork 15
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
omas install fails from a conda .yml file. #213
Comments
I would guess that the |
I have tried explicitly setting numpy before omas but it fails in the same manner.
On Oct 6, 2022, at 4:35 AM, Sterling Smith ***@***.******@***.***>> wrote:
I would guess that the pygacode package is not specifying a numpy dependence, but odd that it was "collected" up above (but maybe not installed yet).
—
Reply to this email directly, view it on GitHub<hxxps://github.com/gafusion/omas/issues/213#issuecomment-1269586917>, or unsubscribe<hxxps://github.com/notifications/unsubscribe-auth/ADAPYD24EGFFCIVP4ODPLBTWB2FLRANCNFSM6AAAAAAQ53PUSM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@cianciosa can you perhaps try to just install pygacode and see if that has the same issue? The pygacode dependency is not a hard requirement. It is really there only to allow some of the OMAS examples to run. |
@orso82 Trying just
Shows the same problem so it looks like it's not an omas problem but a problem in the |
Hi, the same problem here, when installing OMAS. The problem is that from numpy.distutils.core import setup, Extension in the Thank you @hetsko, for pointing this out. |
Hey, it seems that A quick and perhaps obvious note for anyone else running into this: a simple workaround for now seems to be to install pip install numpy
pip install omas |
I think another workaround is using the conda package instead instead of using the pip section in a conda yaml , since the conda package should have it pre-built. |
I pushed something in https://github.com/gafusion/gacode/pull/279 |
Stale issue message |
I'm afraid this is still a problem for [build-system]
requires = [
"setuptools < 64",
"wheel >= 0.29.0",
"numpy >= 1.20.3",
]
build-backend = "setuptools.build_meta" This will then let the build tool install numpy before trying to build pygacode. Is |
Take the simple
.yml
file to define a Conda environment.When building this environment, the pip command to install omas fails when trying to install the pygacode dependency.
The text was updated successfully, but these errors were encountered: