JuliaPy / JuliaPy/PyCall.jl

pyimport not working for custom conda environment

Offen
#891 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi! When I use PyCall with the default environment `ENV["PYTHON"]=""` everything works fine. However, as soon as I switch it to another path like `ENV["PYTHON"]=raw"C:\Users\neun8\.julia\conda\3\envs\tf-gpu\python.exe"` it doesn't find any modules I have installed even if that environment is an exact copy of the default PyCall environment (created using `conda create --name tf-gpu --clone base`). This is a problem because it would be very convenient to be able to have seperate environments for say Tensorflow and PyTorch. I'm using PyCall 1.92.2 on Julia 1.6.0 on Windows 10.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.