-
Notifications
You must be signed in to change notification settings - Fork 56
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
Updated Python not compatible with Gala? #329
Comments
👋 Thanks for reporting this! Ah, interesting. This might be a bug with the new packaging setup I'm using. Can you try installing from source:
|
Of course! I tried that out but am sadly still receiving the following error: ERROR: Could not build wheels for gala, which is required to install pyproject.toml-based projects Thanks for your help! |
Interesting -- this works for me on both MacOS 13.5 and on CentOS linux. What operating system are you on? What version of Python? And what version of pip?
|
Hi! I've been testing out some other packages, too, and am realizing I'm getting similar errors so I'm wondering if it might not be a Gala thing! I'm on Windows 11 and python version 3.11.4 and pip version 23.2.1 |
Ah, yes, Gala does not install on Windows because of the C compiler (MSVC), but what's confusing me is that the error you are getting sounds like it is a packaging error and not related to compilation. Hmm... For others using Windows, I have recommended using the "Windows Subsystem for Linux" to install Gala. |
I see!! Yeah, that is odd. It's also weird because I've had it installed for a couple years at an earlier version of Python so I'm not sure why now that I've updated things it's stopped working!! I've used Windows Subsystem for Linux in the past and maybe can try that. Is there an alternative method I can also try related to the C compiler? |
I'll see if I can get the latest version of Gala to compile on Windows, but I've been unsuccessful in the past. I'll let you know after I take a look at this! |
Hello again! I managed to get the download to work by downgrading my Python version in a new environment, but am now getting the following error. ` ~\anaconda3\envs\galaenv\lib\site-packages\gala_init_.py in ~\anaconda3\envs\galaenv\lib\site-packages\gala\dynamics_init_.py in ~\anaconda3\envs\galaenv\lib\site-packages\gala\dynamics\analyticactionangle.py in ~\anaconda3\envs\galaenv\lib\site-packages\gala\potential_init_.py in ~\anaconda3\envs\galaenv\lib\site-packages\gala\potential\potential_init_.py in ImportError: DLL load failed: The specified module could not be found. Not sure if you have seen this before or what could potentially be causing this. Thank you in advance! |
Hi, I am facing the same issue, is there any way to install the package on Windows? |
@SlimakSlimak I got it to work by using Windows Subsystem for Linux! You can find a lot of tutorials on how to install it (eg. this one from Microsoft: https://learn.microsoft.com/en-us/windows/wsl/install). Then, you can pip install Gala in there (you have to run it through Ubuntu or something else - also weirdly, with WSL, I need to open up the Ubuntu notebook first every time I open my computer before opening my Anaconda (Windows) otherwise it doesn't work). It worked for me! |
Hi! I recently updated packages + Python and now I am having trouble installing Gala on a newly installed anaconda. I'm getting the following error when I run "pip install gala":
"note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for gala
Failed to build gala
ERROR: Could not build wheels for gala, which is required to install pyproject.toml-based projects"
I am also getting repeated errors like this:
**_Warning: Package 'gala.tests' is absent from the
packages
configuration.!!
Not sure if this is something on my end or in gala!
The text was updated successfully, but these errors were encountered: