Giter VIP home page Giter VIP logo

Comments (8)

gboeing avatar gboeing commented on May 16, 2024 2

@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.

GordanBuckingham avatar GordanBuckingham commented on May 16, 2024 1

@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.

jmz-b avatar jmz-b commented on May 16, 2024

sudo apt-get install libgeos-dev i think

from osmnx.

gboeing avatar gboeing commented on May 16, 2024

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.

GordanBuckingham avatar GordanBuckingham commented on May 16, 2024

I tried this on a fresh install of Ubuntu:

  1. Installed Anaconda using the Python 2.7 64-bit install from Continuum.
  2. Ran conda install -c ioos rtree=0.8.2
  3. Ran sudo apt-get install libgeos-dev
  4. 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.

lizhili avatar lizhili commented on May 16, 2024

find / | grep -E libgeos_c.so.1,add the path to /etc/ld.so.conf, and ldconfig maybe helpful

from osmnx.

gboeing avatar gboeing commented on May 16, 2024

@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.

ocefpaf avatar ocefpaf commented on May 16, 2024

@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)

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.