#Precompiling PyPlot and PyCall packages failing while adding Pluto package!!

1 messages · Page 1 of 1 (latest)

marble bluff
#

What sort of error are you seeing?

haughty heath
#

Here is the error. I already tried pre compiling multiple times but no luck.

marble bluff
#

What does it do when you run Pkg.build("PyCall")?

#

which can also be run via ] build PyCall

haughty heath
#

I think it’s some kind of python issue.

marble bluff
#

So in that error message, it says it will use Conda by default, is that what you want?

haughty heath
#

Hmm, I am installing conda now, if that’s default

marble bluff
#

It tried to install Conda for you, but it says it failed because your user directory has a space, which apparently it can't handle

haughty heath
#

Oh okay

marble bluff
#

Although it's allowed, I generally recommend against using spaces in directory or file names, for just that reason

#

from the command line, you'll usually have to wrap the path in "" which I find annoying

#

So I just habitually avoid spaces

haughty heath
#

Yeah same, I also don’t like this. But my IT department made that user name

#

So, as i am installing anaconda manually, will it solve issue?

marble bluff
#

You'll need to follow the rest of the instructions in the error message, you just need to set the environment variable to the correct path

haughty heath
#

Okay, I will do

#

Thanks for the help

marble bluff
#

No problem at all

naive saffron
#

Yeah you can instantiate your own pyenv and then point PyCall to use it by setting the ENV["PYTHON"] variable I think, then rebuilding PyCall

#

Not sure if the space thing will get in the way though, sounds like an annoying issue