Skip to content

Snap not reachable from Anaconda Python 3.8.5 #145

@MrPaulAlbert

Description

@MrPaulAlbert

Hi,

Running this command works:
conda install -c snap-stanford snap-stanford

I've copied both _snap.so and snap.py to my working directory. However, when I run "import snap" from Jupyter, I get this error:

ImportError: dlopen(/Users/paulalbert/_snap.so, 2): Symbol not found: _PyBytes_AsString

Referenced from: /Users/paulalbert/_snap.so

Expected in: /usr/lib/libpython2.7.dylib

in /Users/paulalbert/_snap.so

When I inspect installed modules in the Anaconda Navigator window, Snap is not listed as being installed. Is that an issue?

Also, just to confirm, I do not need to download SNAP C++ for snap.py to work, correct?

Thanks for any help you can offer!

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