Comments (4)
I am guessing that you are using python 3. We built APLS with python 2, and haven't yet ported it to python 3. The python 3 version should be coming soon.
from apls.
Hi @avanetten,
I am using python2
MAC:~ an.tran$ python
Python 2.7.15 (default, Sep 18 2018, 20:16:18)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
from apls.
The issue is networkx 2.2. The apls_environment.yml file uses networkx 1.11, which treats iterators differently than networkx 2.2. Once we update the code to python 3, we will also use the most recent version of networkx, but for now I recommend just invoking the included environment with:
conda env create -f apls_environment.yml
source activate apls_environment
from apls.
Any updates on this thread. Thanks.
from apls.
Related Issues (14)
- relaxing the 'GDAL==2.4.0' requirement
- 2 typo of the example, and a KeyError: 'travel_time_s'
- module 'apls_utils' has no attribute 'convert_to_8Bit
- Construct graph from segmentation mask HOT 2
- ValueError: No Shapely geometry can be created from null value
- Running create_spacenet_masks.py gives AttributeError: module 'apls_utils' has no attribute 'get_road_buffer' HOT 1
- Comparison of two graphs gives not implemented for directed type graph exception
- Computation of the APLS metric HOT 1
- CRS of geojson_road_buffer geojson file will not get changed to UTM
- Fail to read geojson file HOT 1
- Calling apls.gather_files() function would raise errors HOT 2
- AttributeError: 'NoneType' object has no attribute 'nodes' HOT 1
- Node name overlap
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 apls.