JuliaPy / Conda.jl

Conda managing Julia binary dependencies
Other
173 stars 57 forks source link

silent failure "Using an already existing Conda installation" #96

Open liltaylor opened 6 years ago

liltaylor commented 6 years ago

I am on Julia 6.1, fresh install, and Ubuntu 16.04 after apt-get upgrade I have an Anaconda3 installation. (in the directory /home/myusername/anaconda3/)

I have tried these instructions from the README.md:

conda create -n conda_jl python export CONDA_JL_HOME="/home/myusername/anaconda3/envs/conda_jl" julia -e 'Pkg.build("Conda")'

(actually I did 'conda create --name conda_jl --clone py36' )

but when I finally start julia I get this:

julia> Pkg.build("PyCall") INFO: Building Conda INFO: Building PyCall INFO: PyCall is using /home/myusername/.julia/v0.6/Conda/deps/usr/bin/python (Python 2.7.14) at /home/myusername/.julia/v0.6/Conda/deps/usr/bin/python, libpython = /home/myusername/.julia/v0.6/Conda/deps/usr/lib/libpython2.7 INFO: /home/myusername/.julia/v0.6/PyCall/deps/deps.jl has not changed INFO: /home/myusername/.julia/v0.6/PyCall/deps/PYTHON has not changed

I also tried to the set CONDA_JL_HOME in ENV

julia> ENV["CONDA_JL_HOME"]="/home/myusername/anaconda3/envs/conda_jl/"

I the result was the same

I checked the env conda_jl had been created and the directory /home/myusername/anaconda3/envs/conda_jl/ existed. Also its bin/ has a "python" file and the lib/ has a "libpython3.so" and a "libpython3.6m.so"

The issue is: on re-build, Conda seems to ignore CONDA_JL_HOME without signaling any warning or error.

isuruf commented 6 years ago

try deleting /home/myusername/.julia/v0.6/PyCall/deps/deps.jl

liltaylor commented 6 years ago

I tried but no, this did not have any effect, thanks anyway