Error building `PyCall`

I just installed Python3 from the installer at my Windows 10 device, and got this error while trying Pkg.add("PyPlot")

In my Mac I also installed python3 from the installer, and got the same 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").

In the terminal I tried:

set ENV["PYTHON"]="python3"

But did not work, it looks I did not understood the note.

Sounds like you fixed your problem in this thread: Set ENV["PYTHON"]="pythoncommand"

1 Like