JuliaPy / JuliaPy/PyCall.jl

pyimport not working for custom conda environment

Aperta
#891 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
1.5k
Fork
186
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.