You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it's a PyPlot-specific problem (could be caused by PyCall.jl or matplotlib itself I suppose)
Upon a fresh install of the latest release of PyCall (setting ENV["PYTHON"]="" to use a separate Julia miniconda environment), it fails to install certain packages, including matplotlib. Trying to install PyPlot.jl (or even manually activating the environment and performing conda install matplotlib) returns the following error:
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
ResolvePackageNotFound:
- conda==23.1.0
Reproducible across multiple Ubuntu machines running 18.04, 20.04, or 22.04
Yes, I was absolutely unable to register a package update on GitHub/Registrator because of this. My solution was install matplolib through Conda.pip and then Conda.add, before pointing PyCall to Conda's python. It works now, see here for my solution within a build script. This needs to remain an open issue IMHO.
Activity
a2ray commentedon Jul 22, 2023
Yes, I was absolutely unable to register a package update on GitHub/Registrator because of this. My solution was install matplolib through Conda.pip and then Conda.add, before pointing PyCall to Conda's python. It works now, see here for my solution within a build script. This needs to remain an open issue IMHO.
Alexander-Barth commentedon Aug 2, 2023
Here is a reproducer using docker:
I am wondering if it also affects non-Linux systems.
Full session
Conda info
Alexander-Barth commentedon Aug 2, 2023
Other workarounds:
As it is likely a conda problem, I posted this question of StackOverflow:
https://stackoverflow.com/questions/76817732/installing-matplotlib-with-conda-fails-with-conda-exceptions-resolvepackagenotfo