-
Notifications
You must be signed in to change notification settings - Fork 24
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
Issue installing in conda environment - astrometry.utils not found #105
Comments
Ugh, yes, this is something I have been (unsuccessfully) wrestling with
lately. (the whole setuptools ecosystem is changing in recent pythons,
which is why I didn't just leave it alone...). Instead of using pip, what
I have been doing for my own Docker container builds is this,
https://github.com/legacysurvey/legacypipe/blob/main/docker/Dockerfile#LL78C1-L78C1
Sorry for the trouble, I appreciate that it's a huge pain.
…On Fri, May 26, 2023 at 5:18 PM dmasters ***@***.***> wrote:
I am trying to install Tractor and astrometry.net in a conda environment
using pip (from yaml file):
- pip:
- ***@***.***
- ***@***.***
This worked before, and seems to complete successfully. However, I now get
an error loading Tractor because the package "astrometry.utils" is not
found, and I don't see the utils directory in the conda env
.../site-packages/astrometry/ directory where it would normally live after
a successful installation.
—
Reply to this email directly, view it on GitHub
<#105>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIEH7JTOUQNRRIIJJJAZRDXIEM2FANCNFSM6AAAAAAYQWMUDY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks, Dustin. We were able to get a workaround installation running, by specifying a previous version of setuptools and earlier versions of tractor and astrometry.net. Not ideal, but it works for now. We thought this could potentially help debug the issue with pip installation. The details are below.
The env.yaml file looks like this: name: tractor
git+https://github.com/dstndstn/astrometry.net.git@0.92
conda env create --name tractor_20230604 --file env.yaml |
I am also running into this problem. It looks like the setup.py is not properly copying over sub-directories in the installation process. On my local machine, I am able to get around this by using |
I am trying to install Tractor and astrometry.net in a conda environment using pip (from yaml file):
This worked before, and seems to complete successfully. However, I now get an error loading Tractor because the package "astrometry.utils" is not found, and I don't see the utils directory in the conda env .../site-packages/astrometry/ directory where it would normally live after a successful installation.
The text was updated successfully, but these errors were encountered: