JuliaPy / JuliaPy/PyPlot.jl

ResolvePackageNotFound error in Ubuntu/Linux

未关闭
#571 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
488
派生
90
PR 合并指标
30 天内没有已合并 PR

描述

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:
```bash
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

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing a fresh PyCall.jl miniconda setup with ENV["PYTHON"]="" and the PyPlot.jl or matplotlib installation described in the report. Inspect the conda environment's package resolution and determine what change would allow matplotlib to install without the conda==23.1.0 ResolvePackageNotFound error across the reported Ubuntu versions.

由索引模型根据 Issue 内容生成。

评估

技术栈
anaconda, matplotlib, python
领域
data-visualization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。