Comments (8)
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.
@pksohn I know you have been doing a lot of work on our releases infrastructure. Is this still broken?
from pandana.
This should be fixed now that latest is out on Conda. @sablanchard?
from pandana.
@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.
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.
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.
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.
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)
- Support for M1 Macs HOT 3
- [Question] How to get different Key|Value combinations in osm.node_query
- [Feature Request] Aggreggation queries to subset of nodes
- Binary incompatibility error with older versions of NumPy HOT 1
- Shortest path length exists but shortest path is empty HOT 5
- shortest path distance between non connected nodes
- Allow specifying mapping distance for POIs
- Issue: the POI Accessibility computation is taking forever
- OSM loader - POIs that are ways in OSM HOT 1
- Pandana network initiation slow for large network HOT 4
- how to increase the performance of the aggregate when impedance is changed to time?
- net.shortest_paths doesn't work with multiprocessing
- tables sub-dependency versions conflict with python 3.10 compatibility when installing with pip HOT 1
- incorrect shortest paths solutions when impendance values are particularly small or large HOT 1
- Plotting with Pandana does not render title HOT 1
- osm.pdna_network_from_bbox error HOT 6
- Pulling network object from OSM bugged HOT 2
- New release ?
- Google Colab install pandana error HOT 1
- query the OSM API for the street network within the specified bounding box error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandana.