Comments (8)
@ocefpaf great point. I've pointed people toward the ioos
channel in the past and I should probably update those instructions to point to conda-forge
instead.
from osmnx.
@ocefpaf Thanks for the tip! That worked.
Note to anyone with similar issues:
Once I ran that and installed osmnx, I tried importing osmnx in the Python interpreter and got a libstdc++.so.6: version GLIBCXX_3.4.20 not found
error. conda install libgcc
fixed that issue.
Thanks again for the help. I'm looking forward to playing around with OSMnx...
from osmnx.
sudo apt-get install libgeos-dev
i think
from osmnx.
As @jmz-b points out, the shapely install instructions tell you to install GEOS via sudo apt-get install libgeos-dev
on Debian/Ubuntu if you don't already have it.
from osmnx.
I tried this on a fresh install of Ubuntu:
- Installed Anaconda using the Python 2.7 64-bit install from Continuum.
- Ran
conda install -c ioos rtree=0.8.2
- Ran
sudo apt-get install libgeos-dev
- Tried to run
pip install osmnx
and got the same error as before.
sudo dpkg -S libgeos-dev
shows it is installed.
dpkg -S | grep Status
returns
Status: install ok installed
My guess is something is wrong with my install of libgeos-dev, but I'm not clear on next steps on trouble shooting that...
from osmnx.
find / | grep -E libgeos_c.so.1,add the path to /etc/ld.so.conf, and ldconfig maybe helpful
from osmnx.
@GordanBuckingham you might want to check with the GEOS folks directly regarding getting libgeos-dev installed and working properly on your system. Alternatively, the shapely folks might have some insight as it's their package that uses GEOS directly. For now I'm going to close this issue as it's a matter of installing shapely/libgeos, not with OSMnx.
from osmnx.
@GordanBuckingham if using conda try this:
conda install -c conda-forge osmnx
The ioos
channel is deprecated and you should always use conda-forge
instead. (I am a maintainer in both BTW 😉)
from osmnx.
Related Issues (20)
- Tests on Windows fail with [WinError 6] The handle is invalid HOT 4
- Adding type hints to the function signatures HOT 4
- Dictionaries attributes not handled in io.load_graphml() HOT 5
- Feature Request: Adding Buffer Zone Function to OSMnx HOT 1
- Node Identification within Buffer Zone (if buffer was to be implemented) HOT 1
- PermissionError [ErrNo 13] when connecting to localhost using the latest docker image HOT 2
- Contributing guidelines link nowhere HOT 2
- Document usage limitations HOT 10
- UnicodeDecodeError in graph_from_xml on Windows Installations HOT 4
- Calling graph_from_place("Alaska", network_type="drive") throws GEOSException: TopologyException HOT 4
- Vasu HOT 1
- Unable to plot superimposed image HOT 1
- street networks graphs not working HOT 3
- AttributeError: module 'osmnx' has no attribute 'clean_intersections' HOT 2
- Removal of inner_polygons from outer_polygons (creation of holes), creates maximum one hole. HOT 5
- Include parking space data in nodes HOT 7
- Fill missing values with most common value on similar roads HOT 4
- OSMnx 2.0 Migration Guide HOT 3
- Add junction/intersection types to nodes HOT 6
- Support directed bearing/orientation distributions and plots HOT 5
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 osmnx.