You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should do the following to install and handle the Python environment from Julia (and not just assume the correct installation):
An alternative is to configure PyCall to use a Julia-specific Python distribution via the Conda.jl package (which installs a private Anaconda Python distribution), which has the advantage that packages can be installed and kept up-to-date via Julia. As explained in the PyCall documentation, set ENV["PYTHON"]="", run Pkg.build("PyCall"), and re-launch Julia. Then, to install the torch module, you can use pyimport_conda("torch", PKG), where PKG is the Anaconda package that contains the module torch, or alternatively you can use the Conda package directly (via using Conda followed by Conda.add etcetera).
The text was updated successfully, but these errors were encountered:
We should do the following to install and handle the Python environment from Julia (and not just assume the correct installation):
An alternative is to configure PyCall to use a Julia-specific Python distribution via the Conda.jl package (which installs a private Anaconda Python distribution), which has the advantage that packages can be installed and kept up-to-date via Julia. As explained in the PyCall documentation, set ENV["PYTHON"]="", run Pkg.build("PyCall"), and re-launch Julia. Then, to install the torch module, you can use
pyimport_conda("torch", PKG)
, where PKG is the Anaconda package that contains the module torch, or alternatively you can use the Conda package directly (viausing Conda
followed byConda.add
etcetera).The text was updated successfully, but these errors were encountered: