-
Notifications
You must be signed in to change notification settings - Fork 75
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
Triqs/Jupyter installation order using Anaconda on MacOS #922
Comments
Dear @Crampon16 Thank you for pointing out this issue. Do you get the same Problem if you do not install TRIQS at all? |
I personally can't reproduce the issues on my M1 MacBook Pro. We are investigating your problem. |
Dear @Crampon16, I assume you installed everything into the conda base environment? Can you try installing triqs and jupyter into a new environment? So after installing miniconda, you could do something like
Note, if you install triqs before jupyter, you need to install jupyter from conda-forge, i.e. |
@Wentzell @Thoemi09 I also just checked and the error message also appears if I install mamba using |
Do you still get the error message in a separate environment? Or just in the base?
Yes, I think so too. I can reproduce similar errors when installing other packages in the base env. I don't think it is written somewhere explicitly, but it is probably best to always create separate environments when possible. |
I just checked, installing triqs then jupyter, both through conda-forge, in a separate environment yields no error message. Except if you have further tests to propose, I think we can close this. |
No problem! Just to wrap things up: The error seems to be related to: conda-forge/libarchive-feedstock#69, which comes from a general compatibility issue between conda-forge and the defaults channel as described in https://conda-forge.org/docs/user/tipsandtricks.html. In fact, adding conda-forge as a channel and setting the channel priority to strict before installing triqs and jupyter gets rid of the error message, even in the base env:
However, it is recommended to use new environments anyway (see https://conda-forge.org/docs/user/introduction.html). |
Thank you @Thoemi09 for the clarifications, and for providing instructions for a workaround! This looks to be more of an anaconda issue than a triqs issue, so we are closing this. |
We updated the documentation accordingly 39e0506 |
I am using minconda3 to install triqs on a MacBook. Installing triqs first prevents later installation of Jupyter. The other way around works fine.
Steps to Reproduce
conda install -c conda-forge triqs
conda install jupyter
Expected behavior:
I can run
jupyter notebook
andimport triqs
inside.Actual behavior:
I get the following error message:
Versions
Latest triqs version I suppose ?
I am running this on a completely clean (nothing except triqs has been installed yet) M1 MacBook Air Sonoma. I got a similar issue on an Intel MacBook Pro running MacOS Sierra then Big Sur.
Additional Information
In the case I described but also when installing jupyter first then triqs (which successfully installs both), any later call to conda will display the error message
The text was updated successfully, but these errors were encountered: