Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specific pyyaml version needed #253

Closed
bstabler opened this issue Mar 31, 2019 · 2 comments
Closed

specific pyyaml version needed #253

bstabler opened this issue Mar 31, 2019 · 2 comments

Comments

@bstabler
Copy link
Contributor

bstabler commented Mar 31, 2019

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 yaml/pyyaml#265.

@bhargavasana
Copy link
Collaborator

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 added a commit that referenced this issue Apr 4, 2019
@bstabler
Copy link
Contributor Author

bstabler commented Apr 4, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants