PSLmodels/OG-USA

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

Closed this issue · 1 comments

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.

No longer an issue.