ActivitySim / activitysim

An Open Platform for Activity-Based Travel Modeling
https://activitysim.github.io
BSD 3-Clause "New" or "Revised" License
194 stars 99 forks source link

specific pyyaml version needed #253

Closed bstabler closed 5 years ago

bstabler commented 5 years ago

The example throws a YAML error immediately because yaml.load without specifying the "Loader=" keyword argument is deprecated. We need to update our usage of pyyaml or specify a specific version in setup.py. See https://github.com/yaml/pyyaml/issues/265.

bhargavasana commented 5 years ago

I just tried running the example for the first time yesterday and encountered this error. Good to know that this is indeed an issue and that I wasn't running it incorrectly.

bstabler commented 5 years ago

This is now fixed in the setup.py file in the verification-fixes branch. You can reinstall activitysim by cloning this branch and running python setup.py develop. You may need to first pip uninstall pyyaml. The pypi version of the package will be updated once we do an official release, which I expect to do within the next few weeks.