Skip to content

import mda_xdrlib issue in blender/blenderlib.py and in blender/__init__.py #566

Open
@dazhang930

Description

@dazhang930

When running the command "cortex.segment.cut_surface(subjectID, "rh") ", it throws the following error:

File "~/.conda/envs/pycortex/lib/python3.8/site-packages/cortex/blender/blendlib.py", line 5, in
import mda_xdrlib.xdrlib as xdrlib
ModuleNotFoundError: No module named 'mda_xdrlib'

Then, I need to modify line 5 in ~/.conda/envs/pycortex/lib/python3.8/site-packages/cortex/blender/blendlib.py, changing "import mda_xdrlib as xdrlib" to "import xdrlib", and it works.

In another file "~/.conda/envs/pycortex/lib/python3.8/site-packages/cortex/blender/init.py", I have to change line 5 "import mda_xdrlib as xdrlib" to "import mda_xdrlib.xdrlib as xdrlib" and it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions