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

Installation outdated and not functional #183

Open
MSnPTV opened this issue Jan 4, 2024 · 2 comments
Open

Installation outdated and not functional #183

MSnPTV opened this issue Jan 4, 2024 · 2 comments

Comments

@MSnPTV
Copy link

MSnPTV commented Jan 4, 2024

The installation process as it is described on https://activitysim.github.io/populationsim/getting_started.html#installation does not lead to a functioning working environment. Any python run ends with the error message

Traceback (most recent call last):
File "D:\MSn\PopSim\example_calm\run_populationsim.py", line 39, in
sys.exit(run(args))
File "D:\MSn\PopSimInstallTest\lib\site-packages\activitysim\cli\run.py", line 329, in run
info = np.config.get_info(cfg_key)
AttributeError: module 'numpy.config' has no attribute 'get_info'

The installation process installs Python modules that are not compatible with each other. Although nothing has changed in the code for some time, this happens because the installation program is instructed to use the latest version of each package. And of course that has changed in recent years. And now not all modules are compatible.

@GregorSchroeder
Copy link

Seeing similar issue as well. If anyone has information on how to resolve please update. Otherwise will continue to investigate.

@bettinardi bettinardi added this to the Phase 9 Priorities milestone Jan 5, 2024
@brynpickering
Copy link

conda install "numpy < 1.20" should do the trick. I have found that creating the initial conda environment with some more content than just python works well: conda create -n popsim python=3.9 numpy<1.20 pandas<1.5 activitysim; conda activate popsim; pip install populationsim

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

4 participants