ActivitySim / activitysim

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

Cannot import tracing with pip install #145

Closed gregmacfarlane closed 7 years ago

gregmacfarlane commented 7 years ago

If I install activitysim from pip and run the example, I get

Traceback (most recent call last):
  File "simulation.py", line 3, in <module>
    from activitysim import tracing
ImportError: cannot import name tracing

Installing the development version from my local working copy shows no such problem.

I'm using homebrew python 2.7 on macOS

toliwaga commented 7 years ago

I am not able to reproduce this. What version of activitysim do you have installed?

What is the output if you type: pip list | grep activitysim

e-lo commented 7 years ago

I got this error when I had an older version of activitysim installed in addition to the latest and my pythonpath was looking for it in wrong place. Eliminating the older version from the pip install and just using the clone from github fixed the problem for me (as I recall)

bstabler commented 7 years ago

This is likely a local configuration issue so I'm closing this for now.