JuliaPy / PyCall.jl

Package to call Python functions from the Julia language
MIT License
1.47k stars 189 forks source link

Unable to install PyCall #919

Closed andrecvalerio closed 3 years ago

andrecvalerio commented 3 years ago

When I try to install the package I get the following error

ERROR: Error building `PyCall`:
┌ Info: Using the Python distribution in the Conda package by default.
└ To use a different Python version, set ENV["PYTHON"]="pythoncommand" and re-run Pkg.build("PyCall").
[ Info: Downloading miniconda installer ...
ERROR: LoadError: IOError: unlink("C:\\Users\\Andre\\.julia\\conda\\3\\installer.exe"): permission denied (EACCES)

I've tried running the julia terminal as admin and the error persists. Any tips?


EDIT: I solved by installing anaconda by myself and changing the ENV["PYTHON"] to anaconda's binary

jmanthony3 commented 9 months ago

Thank you for including this comment! This probably saved me an hour of googling.