JuliaPy / JuliaPy/PyCall.jl

pyimport not working for custom conda environment

Open
#891 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

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.

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.