Skip to content

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

@Lichtfarbenspiel

Description

@Lichtfarbenspiel

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'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions