Open ufechner7 opened 1 year ago
The PythonCall issue was closed as "won't fix"...
I use now the following script for the installation as workaround:
#!/bin/bash -eu
if [[ $(basename $(pwd)) == "bin" ]]; then
cd ..
fi
echo "Updating packages..."
if test -f "Manifest.toml"; then
mv Manifest.toml Manifest.toml.bak
fi
rm -rf .CondaPkg
rm -rf ~/.julia
mv Project.toml Project.toml.bak
julia --project="." --pkgimages=no -e "using Pkg;Pkg.add(\"PythonPlot\")" | true
julia --project --pkgimages=no -e "using PythonPlot"
rm Project.toml
mv Project.toml.bak Project.toml
Don't copy and paste this script without thinking, it deletes your .julia folder!
I tried to install: a. PythonPlot b. PythonPlot#main
using the package manager after a fresh install of Julia and deleting the .julia directory.
In both cases the precompilation fails.
But strange enough, if I restart Julia and do
it downloads and installs a lot of stuff and it just works.
Any idea?