Skip to content
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

Error while installing AutoPhOT using conda #1

Closed
navii98 opened this issue Jan 17, 2022 · 4 comments
Closed

Error while installing AutoPhOT using conda #1

navii98 opened this issue Jan 17, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@navii98
Copy link

navii98 commented Jan 17, 2022

Hi Sean, I tried to install AutoPHoT using conda on two of my linux machines (one running on fedora and other on ubuntu).
And I'm getting a similar error in on both during the installation.

In the fedora machine -

(autophot) [navii@fedora ~]$ conda install -c astro-sean AutoPhOT
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment:
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  • feature:/linux-64::__glibc==2.34=0
  • feature:|@/linux-64::__glibc==2.34=0

Your installed version is: 2.34

And in the ubuntu machine -

❯ conda install -c astro-sean AutoPhOT
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  • feature:/linux-64::__glibc==2.33=0
  • feature:|@/linux-64::__glibc==2.33=0

Your installed version is: 2.33

I was hoping if you could help me resolve this.

@Astro-Sean Astro-Sean self-assigned this Jan 18, 2022
@Astro-Sean
Copy link
Owner

Looking into this!- Will report back shortly!!

@Astro-Sean Astro-Sean added the bug Something isn't working label Jan 18, 2022
@Astro-Sean
Copy link
Owner

Hi again,

I managed to reproduce the error for a ubuntu system running on a virtual machine.

This error seems to be due to packages clashing with conda-forge and astropy channls.

Can you make sure these are accessible in the channel lists? So in your autophot_env can you run:

conda config --show channels

If you don't see conda-forge and/or astropy can you run:

conda config --append channels conda-forge
conda config --append channels astropy

and then try the install again:

conda install -c astro-sean autophot

By performing the above I was successfully able to import autophot in a python script. Let me know how it goes!!

@navii98
Copy link
Author

navii98 commented Jan 18, 2022

Cheers! Adding the conda-forge and astropy channels solved the issue. I was able to successfully install AutoPhOT after that. Thanks, for the quick response. I guess you can close this issue now.

This is a very interesting project and something I believe will be very useful for the community. What is your preferred method of communication for questions and discussions related to this project.

@Astro-Sean
Copy link
Owner

Astro-Sean commented Jan 18, 2022

Brilliant!

Depends on the topic - for bugs, bad user experience, bad science (if any) and/or installation/execution issues - best to open an issue.

Also open an issue if you need some help (i.e. a tutorial notebook) on how to perform a certain task with the code, how to deal with an annoying scenario etc.

For anything more "long term" i.e. adding new features, packages, or functionality - probably best to shoot me an email!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants