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

Which python version should i use? #44

Open
redmercy69 opened this issue Jan 16, 2025 · 2 comments
Open

Which python version should i use? #44

redmercy69 opened this issue Jan 16, 2025 · 2 comments

Comments

@redmercy69
Copy link

I'm using python 3.12 but i seems to interfere with chumpy 0.70, any solutions?

File "***/venv/lib/python3.12/site-packages/chumpy/ch.py", line 1203, in _depends_on
want_out = 'out' in inspect.getargspec(func).args
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?

@wenquanlu
Copy link
Owner

wenquanlu commented Jan 17, 2025

Hi, you can manually change the chumpy code to want_out = 'out' in inspect.getfullargspec(func).args

or maybe install a chumpy that is compatible with python3.12

@redmercy69
Copy link
Author

thanks, the first solution worked

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

2 participants