Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Installation error in python 3.11 with "numpy >= 1.10.2p" #218

Closed
andrewchch opened this issue Dec 30, 2023 · 2 comments
Closed

Installation error in python 3.11 with "numpy >= 1.10.2p" #218

andrewchch opened this issue Dec 30, 2023 · 2 comments

Comments

@andrewchch
Copy link

Hi All,

When trying:

pip install -e 'git+https://github.com/AB-CE/abce.git#egg=abcEconomics'

install on python 3.11 (earlier "pip install abcEconomics" failed with same error", I get:

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [3 lines of output] error in abcEconomics setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier) numpy >= 1.10.2p ~~~~~~~~~^

When I remove the trailing "p" from "1.10.2p", and run:

pip install -e .

in the src directory, the installation works. Any ideas?

Cheers,
Andrew

@rht
Copy link
Member

rht commented Jan 3, 2024

I agree the "p" needs to be removed.

The upcoming release of Mesa 2.2.0 has an API has become similar to abcEconomics in expressivity, see projectmesa/mesa#1916 and projectmesa/mesa#1917. I am planning to gradually port the examples to Mesa as well.

@andrewchch
Copy link
Author

Thanks for the update, I'll close this issue.

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

No branches or pull requests

2 participants