-
Notifications
You must be signed in to change notification settings - Fork 52
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
Grizli Modules Not Found #84
Comments
Thanks, @Bren314 . Can you try compiling with the |
Hey Gabe, that did not work. I'm not too sure where to start. My terminal told me I successfully installed grizli, but when I go into python to start testing it. It allows me to import grizli but the version is an empty string and it won't import any modules that I know are installed (see error below): Successfully installed grizli-1.4.0
I noticed a previous post about "Numpy module not found when installing with requirements.txt #59" and trying to solve it by first pip installing numpy and then re-running the command, I pip uninstalled and reinstalled it still didn't work. |
Hey it is working now not sure why |
I suspect that you were trying to |
When running the second cell of Grizli-Pipeline.ipynb I get the errror AttributeError: module 'grizli' has no attribute 'version'
I also notice when running this cell that it is using the lines ! git clone https://github.com/gbrammer/grizli.git and
! pip install grizli/ -r grizli/requirements.txt rather than the import grizli.
Due to this I can also see it return things it had in my terminal when I was installing grizli such as lines as: Requirement already satisfied: numpy in /opt/anaconda3/envs/grizli-dev/lib/python3.7/site-packages (from grizli==1.4.0) (1.21.5)
I fallowed the installation instructions on https://grizli.readthedocs.io/en/latest/grizli/install.html#installation-with-conda-and-environment-yml. When I ran the pytest on grizli it returns:
===========short test summary info =====================
FAILED grizli/tests/test_autoscript.py::UtilsTester::test_parse_wfc3_visits
FAILED grizli/tests/test_fits.py::FittingTools::test_config - FileNotFoundErr...
FAILED grizli/tests/test_fits.py::FittingTools::test_multibeam - FileNotFound...
FAILED grizli/tests/test_fits.py::FittingTools::test_redshift_fit - FileNotFo...
===========4 failed, 12 passed in 31.97s =================
Not sure where to go from here, so any tip can help a lot.
The text was updated successfully, but these errors were encountered: