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

AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'? #51

Open
Lichtfarbenspiel opened this issue May 11, 2023 · 2 comments

Comments

@Lichtfarbenspiel
Copy link

This error occured when trying to load a pkl file.
I am using an Anacona environment with Python 3.11 and chumpy 0.70 installed- I'm guessing the current chumpy version isn't compatible with python 3.11 yet?

Traceback (most recent call last):
File "c:_MyDrive\Detectron\code\SMPL-densepose.py", line 8, in
data = pickle.load(f, encoding="latin1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\anaconda3\envs\densepose\Lib\site-packages\chumpy_init_.py", line 1, in
from .ch import *
File "C:\Users\user\anaconda3\envs\densepose\Lib\site-packages\chumpy\ch.py", line 1319, in
from . import linalg
File "C:\Users\user\anaconda3\envs\densepose\Lib\site-packages\chumpy\linalg.py", line 178, in
class SvdD(Ch):
File "C:\Users\user\anaconda3\envs\densepose\Lib\site-packages\chumpy\linalg.py", line 181, in SvdD
@depends_on('x')
^^^^^^^^^^^^^^^
File "C:\Users\user\anaconda3\envs\densepose\Lib\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'?

@mrinalTheCoder
Copy link

I am also getting this error, I think you have to use an older version of Python 3.

@jinzishuai
Copy link

how do we get this to work? @mrinalTheCoder which version of old python 3 works as it is? Thanks

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