Closed pedro-acunha closed 4 months ago
Thank you for the info.
Do you know what step in your instructions is different to this example?
https://pyautogalaxy.readthedocs.io/en/latest/installation/conda.html
They look identical to me, except that you are using --no-cache-dir
which doesn't feel like it should matter.
Hi @Jammy2211,
The main difference lies in the --no-cache-dir
, setting the python version to 3.11, and not doing conda create -n autogalaxy astropy scikit-image scikit-learn scipy
. By creating the env and then running pip install autogalaxy
allows for conflicts to be solved.
In my previous message I posted some of the AtributeErrors that was shown when trying to run the example notebooks.
I believe that by using --no-cache-dir
it helps to avoid cache-related issues, specially if different package versions are requested, probably created when the requested packages are installed, alongside with the new env.
This came around after multiple people tried to install PyAutoGalaxy and we were stuck with AttributeErrors. It is probably not the most elegant one...
Ok thanks, I'll try doing some installs via conda and update the installation instructions!
I have updated the docs based on your suggestions :).
The docs themselves are not currently building due to some other error, but I'll close this.
Description:
I encountered issues while following the current installation instructions for PyAutoGalaxy. The steps provided in the documentation did not work as expected. After troubleshooting, an alternative method that successfully installed PyAutoGalaxy was found.
Steps to Reproduce:
Expected Result: PyAutoGalaxy should be run without any errors.
Actual Result: The installation is successful, running the examples failed with various errors.
Solution: I was able to successfully install and run PyAutoGalaxy after using the following steps:
Steps Taken:
pip
to the latest version.autogalaxy
usingpip
with the--no-cache-dir
option to avoid caching issues.numba
usingpip
with the--no-cache-dir
option.Request: Please update the installation instructions in the documentation to reflect the above steps or provide alternative troubleshooting steps for users who encounter similar issues.
Environment:
Thank you for your attention.
Additional Context: Examples of error messages and conflicts: