Steven G. Johnson
Steven G. Johnson
@aviks, both Conda.jl and PyCall.jl use `first(DEPOT_PATH)`. In particular, key preferences/paths are stored in `joinpath(first(DEPOT_PATH), "prefs", "PyCall")` and `abspath(first(DEPOT_PATH), "conda", "deps.jl")`
Weird. Someone reported this problem again just a couple weeks ago: https://discourse.julialang.org/t/error-building-pycall/16270/9
> There may be a python.exe on the path in newer Win10 machines, one that is not a real python interpreter. Could that possibly cause issues? PyCall is supposed to...
This isn't the correct fix because it only works for `@pywith` statements in global scope.
The right fix is probably to wrap the whole `try .. finally` in a `let exc=true` block.
cc @sethaxen since #879 is at issue here.
Impossible to reproduce since you don't provide the file…
I think we could use relative paths for things in .julia at least?
You can certainly re-run `build` for each package…it should re-generate the files if they have changed.
Can you give an example?