JuliaPy / JuliaPy/PyCall.jl

PyCall does not use virtualenv

Open
#706 12 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

I'm running Python 3.7.3 and Julia 1.1.1 (2019-05-16). I have a virtual environment set up for python and PyCall is unable to import the packages installed there. In addition, when I run

```julia
py"""import site
print(site.getsitepackages())"""
```

I get the site packages folder of my main install and not the environment one. I can also import packages if they are installed on my system's Python.

When adding PyCall I have my environment activated. I have also tried setting the ENV["PYTHON"] and running `Pkg.build("PyCall")` as well with no change.

I am 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.