osm4routing icon indicating copy to clipboard operation
osm4routing copied to clipboard

Setup: ImportError: No module named setuptools

Open giswhiz opened this issue 5 years ago • 0 comments

I am trying to install following the steps described here:
https://github.com/Tristramg/osm4routing

After unzipping files folder to Home in Ubuntu, I get the following issue:

sudo python setup.py install

Traceback (most recent call last): File "setup.py", line 6, in from setuptools import setup, find_packages, Extension ImportError: No module named setuptools

I also tried it with virtualenv, but it says:

ImportError: No module named _weakrefset ERROR: The executable env/bin/python is not functioning ERROR: It thinks sys.prefix is '/home/...../osm4routing-master' (should be '/home/...../osm4routing-master/env') ERROR: virtualenv is not compatible with this system or executable

What could be the solution?

giswhiz avatar Jul 15 '20 09:07 giswhiz