JuliaPy / JuliaPy/Conda.jl

Conda.add may downgrade Python

Open
#127 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
187
Forks
59
PR merge metrics
No merged PRs in 30d

Description

If a package installed via `Conda.add` is not available for installed Python version, `conda` may downgrade Python:
https://discourse.julialang.org/t/help-understanding-pycall-related-travis-failure/15957

The error is cryptic when it's installed via `pyimport_conda` since the Python installed in disk is different from the one loaded in PyCall.

Maybe we should [pin](https://conda.io/docs/user-guide/tasks/manage-pkgs.html#preventing-packages-from-updating-pinning) Python version and provide a nicer error message pointing to a command that re-builds Conda and PyCall? Or detect change in Python version, automatically run Pkg.build, and then throw an error with message saying that you need to restart Julia?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.