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

Zones in 4 step model #3

Open
orlandombaa opened this issue Sep 13, 2020 · 1 comment
Open

Zones in 4 step model #3

orlandombaa opened this issue Sep 13, 2020 · 1 comment

Comments

@orlandombaa
Copy link

Hi

I just move from R to python and it has been very frustrating with the topic of the libraries.
I download DPD correctly using first pip install DPD and with conda too.

In my beginning understanding of python when you want to use just some of the functions of a library you use from x import y.

In this case from dpd.modeling import Zones, OriginDestinationDataFrame

However, this gives me an error. when I use DPD. (and use tab) I donnt see the function modelling neither.

Can you help to understnd this?

Thank you.

@davidbailey
Copy link
Owner

Interesting. My first thought is there is a mismatch between your python environment and pip/conda. For example, I use python installed via Homebrew, but pip installs packages for the default install of python. Therefore I have to run pip3 to install any packages. You can also try python -m pip install ... to make sure python/pip align.

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