PSLmodels / OG-USA

Overlapping-generations macroeconomic model for evaluating fiscal policy in the United States
https://pslmodels.github.io/OG-USA/
Creative Commons Zero v1.0 Universal
19 stars 34 forks source link

Can't access `calibrate` module from `ogusa` package installed via pip #80

Open jdebacker opened 5 months ago

jdebacker commented 5 months ago

In an fresh environment, I did:

pip install ogusa

Then:

(base) jason.debacker@JDEBACKER-7 Downloads % ipython
Python 3.7.16 (default, Jan 17 2023, 09:28:58)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import ogusa.calibrate as calib
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-4517818ef156> in <module>
----> 1 import ogusa.calibrate as calib

ModuleNotFoundError: No module named 'ogusa.calibrate'

Other modules seem to be accessible, but not calibrate.py.

The problem do not exist if one builds the package from source. Thus the error seems to be in the packages pushed to PyPI.