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

numpy.distutils not compatible with python version>=3.12 #15

Open
nmiller95 opened this issue Jul 29, 2024 · 2 comments
Open

numpy.distutils not compatible with python version>=3.12 #15

nmiller95 opened this issue Jul 29, 2024 · 2 comments

Comments

@nmiller95
Copy link

Hi! Tried to install ellc in python 3.12 and it failed since numpy.distutils has been removed for the newest python versions - https://numpy.org/doc/stable/reference/distutils.html. It still imports OK in a v3.11 environment but might need attention soon!

@zhang-zhixiang
Copy link
Contributor

I also got the same failure when installing ellc in python 3.12. It would be good to fix this version incompatibility issue.

@wangxianyu7
Copy link

Thank you for making this significant update, @zhang-zhixiang! I have tested it on my M4 Mac Mini with Python 12, and it works perfectly. It should also work for other M-series chips (M1, M2, and M3).

The general installation procedure for Mac with M-series chips is as follows:

### Install gfortran via Homebrew
brew install gfortran

### Install the latest version of ellc (now, it is 1.8.11)
pip install git+https://github.com/pmaxted/ellc.git

And, @pmaxted, if you need me to perform any additional tests, feel free to let me know!

Best,
Xian-Yu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants