Coder Social home page Coder Social logo

Comments (8)

fzenoni avatar fzenoni commented on July 1, 2024

Hi all,

Was this ever solved?
I am on Ubuntu 16.04.4 LTS, gcc version 5.4.0. I managed to install pandana by doing pip2.7 install -U pandana (using pip gave an error as it was using by default python3). But then I am unable to do import pandana in a python session.
Here's the log:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/fzenoni/.local/lib/python2.7/site-packages/pandana/__init__.py", line 1, in <module> from network import Network File "/home/fzenoni/.local/lib/python2.7/site-packages/pandana/network.py", line 10, in <module> from . import _pyaccess ImportError: /home/fzenoni/.local/lib/python2.7/site-packages/pandana/_pyaccess.so: undefined symbol: GOMP_parallel

from pandana.

Eh2406 avatar Eh2406 commented on July 1, 2024

@pksohn I know you have been doing a lot of work on our releases infrastructure. Is this still broken?

from pandana.

pksohn avatar pksohn commented on July 1, 2024

This should be fixed now that latest is out on Conda. @sablanchard?

from pandana.

sablanchard avatar sablanchard commented on July 1, 2024

@pksohn I no longer have access to the machine that had that particular environment, the latest Pandana installs fine on linux on other machines so I am unable to test the particulars of this issue again unless I try to duplicate the environment which still may not replicate it fully. I am more curious about @fzenoni issue here, do you still experience this error on the latest release?

from pandana.

 avatar commented on July 1, 2024

I'm having a similar issue here:

ubuntu 16.04 LTS
installed pandana with: pip install -U pandana

when I try to import pandana I get the following error:

Traceback (most recent call last):
  File "simple_example.py", line 23, in <module>
    import pandana.network as pdna
  File "build/bdist.linux-x86_64/egg/pandana/__init__.py", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/pandana/network.py", line 10, in <module>
  File "build/bdist.linux-x86_64/egg/pandana/_pyaccess.py", line 7, in <module>
  File "build/bdist.linux-x86_64/egg/pandana/_pyaccess.py", line 6, in __bootstrap__
ImportError: /home/jccb/.cache/Python-Eggs/pandana-0.3.0-py2.7-linux-x86_64.egg-tmp/pandana/_pyaccess.so: undefined symbol: GOMP_parallel

Also installed conda gcc:

$ conda install -y gcc
Fetching package metadata ...........
Solving package specifications: .

Package plan for installation in environment /media/shared/anaconda2/anaconda2:

The following NEW packages will be INSTALLED:

    cloog: 0.18.0-0     
    gcc:   4.8.5-7      
    gmp:   6.1.0-0      
    isl:   0.12.2-0     
    mpc:   1.0.3-0      
    mpfr:  3.1.5-0      

The following packages will be UPDATED:

    conda: 4.3.16-py27_0 --> 4.3.21-py27_0

from pandana.

 avatar commented on July 1, 2024

Solved it by completely removing anaconda and reinstalling everything from scratch. I think the problem was that I din't use the conda-forge channel

from pandana.

fzenoni avatar fzenoni commented on July 1, 2024

Sorry about the delay. I reinstalled Pandana using the simple command pip2.7 install -U pandana. I did not manually reinstall anything else (some other package was automatically included in the installation process) . Eventually, the import pandana didn't give any error!
This is as far as I went, so I have no idea if bugs are still living elsewhere, but this is a major improvement.

Thank you very much.

from pandana.

sablanchard avatar sablanchard commented on July 1, 2024

Closing this issue for now. Latest version is 0.4.1 and no issues like this have been reported on linux yet.

from pandana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.