Skip to content
This repository was archived by the owner on Jul 2, 2019. It is now read-only.
This repository was archived by the owner on Jul 2, 2019. It is now read-only.

rtree, centerline not installed #109

Description

@chilieeh

I am using Ubuntu 16.04 and v3 of this project. When running the utilities package with python 3 (default version when installing python on Ubuntu is 3.6.7), I get the error that the versions are not compatible (package is written in python 2.7 I assume?) just like this:

python3 createDataSpaceNet.py /LabData/AOI_2_Vegas_Roads_Train/
Traceback (most recent call last):
File "createDataSpaceNet.py", line 4, in
from spaceNetUtilities import labelTools as lT
File "/home/marcin/utilities-3.0/python/spaceNetUtilities/labelTools.py", line 381
print imageId
^
SyntaxError: Missing parentheses in call to 'print'

And when I force python 2.7 installation and then switch to python 2.7 I still get the error like this one:

python createDataSpaceNet.py /LabData/AOI_2_Vegas_Roads_Train/
Traceback (most recent call last):
File "createDataSpaceNet.py", line 4, in
from spaceNetUtilities import labelTools as lT
File "/home/marcin/utilities-3.0/python/spaceNetUtilities/labelTools.py", line 4, in
import geoTools as gT
File "/home/marcin/utilities-3.0/python/spaceNetUtilities/geoTools.py", line 17, in
import centerline
ImportError: No module named centerline

I tried installing centerline separately but I would still get an error with rtree/geopandas/osgeo or simply GDAL package.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions