Skip to content

Conda.add may downgrade Python #127

Open
JuliaPy/PyCall.jl
#613
@tkf

Description

@tkf

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 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions