Closed Nate-Wessel closed 5 years ago
Thanks for the report @Nate-Wessel, I am assuming you have pandana version 0.4.0, correct? If so, this error is generated by pandana 0.4.0 which no longer uses reserve_num_graphs
. As such urbanaccess 0.1.0 is only compatible with pandana 0.3.0 mainly due to issues with 0.4.0 builds on different OS platforms which have only recently been resolved. We have compatibility with pandana 0.4.0 on our to do list but it wont get in for some time yet. For the time being I suggest you downgrade pandana to 0.3.0 or comment out that line code in the codebase here: https://github.com/UDST/urbanaccess/blob/master/urbanaccess/osm/load.py#L12. Please let us know if this solves your issue.
I did indeed have Pandana 0.4.0. Commenting that line out seems to solve the issue and the module now imports with reporting any errors.
Thanks for the quick reply!!
Problem still exists, confirm that urbanaccess works with downgrading pandana to 0.3.0
PR #48 updated urbanaccess to v0.2.0
which now supports pandana v0.3.0 and v0.4.1 so this issue should now be addressed. Closing issue for now.
Description of the bug
When importing the module, errors are produced and the module fails to be imported.
Environment
Operating system: Xubuntu 16.04
Python version: 2.7.12
UrbanAccess version: Latest development version as of now
UrbanAccess required packages versions (optional): The pip install process indicated that all dependencies are installed and up to date.
The code that reproduces the issue:
The error message: