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
The Python package matplotlib could not be imported by pyimport. Usually this means
that you did not install matplotlib in the Python version being used by PyCall.
PyCall is currently configured to use the Julia-specific Python distribution
installed by the Conda.jl package. To install the matplotlib module, you can
use pyimport_conda("matplotlib", PKG), where PKG is the Anaconda
package that contains the module matplotlib, or alternatively you can use the
Conda package directly (via using Conda followed by Conda.add etcetera).
Alternatively, if you want to use a different Python distribution on your
system, such as a system-wide Python (as opposed to the Julia-specific Python),
you can re-configure PyCall with that Python. As explained in the PyCall
documentation, set ENV["PYTHON"] to the path/name of the python executable
you want to use, run Pkg.build("PyCall"), and re-launch Julia.
running
Pkg.build("PyCall") solves this issue
The text was updated successfully, but these errors were encountered:
The TOFTracer2 has been tested with the long-term support release version 1.6.7 and up until julia 1.8.x
Please don't use newer julia versions with the current TOFTracer2 version yet.
For me this problem did not occur with the tested julia versions. Please state, if this is the case for you, or not.
julia> include("$(pwd())\src\processingProjects\processingProject-CLOUD15.jl")
[ Info: Installing matplotlib via the Conda matplotlib package...
[ Info: Running
conda install -y matplotlib
in root environmentChannels:
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: done
Package Plan
environment location: C:\Users\Umwelt.julia\conda\3\x86_64
added / updated specs:
- matplotlib
The following packages will be downloaded:
The following NEW packages will be INSTALLED:
brotli pkgs/main/win-64::brotli-1.0.9-ha925a31_2
contourpy pkgs/main/win-64::contourpy-1.2.0-py310h59b6b97_0
cycler pkgs/main/noarch::cycler-0.11.0-pyhd3eb1b0_0
fonttools pkgs/main/noarch::fonttools-4.25.0-pyhd3eb1b0_0
freetype pkgs/main/win-64::freetype-2.12.1-ha860e81_0
giflib pkgs/main/win-64::giflib-5.2.1-h8cc25b3_3
glib pkgs/main/win-64::glib-2.69.1-h5dc1a3c_2
gst-plugins-base pkgs/main/win-64::gst-plugins-base-1.18.5-h9e645db_0
gstreamer pkgs/main/win-64::gstreamer-1.18.5-hd78058f_0
icu pkgs/main/win-64::icu-58.2-ha925a31_3
jpeg pkgs/main/win-64::jpeg-9e-h2bbff1b_1
kiwisolver pkgs/main/win-64::kiwisolver-1.4.4-py310hd77b12b_0
lerc pkgs/main/win-64::lerc-3.0-hd77b12b_0
libclang pkgs/main/win-64::libclang-12.0.0-default_h627e005_2
libdeflate pkgs/main/win-64::libdeflate-1.17-h2bbff1b_1
libogg pkgs/main/win-64::libogg-1.3.5-h2bbff1b_1
libpng pkgs/main/win-64::libpng-1.6.39-h8cc25b3_0
libtiff pkgs/main/win-64::libtiff-4.5.0-h8a3f274_0
libvorbis pkgs/main/win-64::libvorbis-1.3.7-he774522_0
libwebp pkgs/main/win-64::libwebp-1.3.2-hbc33d0d_0
libwebp-base pkgs/main/win-64::libwebp-base-1.3.2-h2bbff1b_0
matplotlib pkgs/main/win-64::matplotlib-3.8.0-py310haa95532_0
matplotlib-base pkgs/main/win-64::matplotlib-base-3.8.0-py310h4ed8f06_0
munkres pkgs/main/noarch::munkres-1.1.4-py_0
openjpeg pkgs/main/win-64::openjpeg-2.4.0-h4fc8c34_0
pcre pkgs/main/win-64::pcre-8.45-hd77b12b_0
pillow pkgs/main/win-64::pillow-10.0.1-py310h045eedc_0
ply pkgs/main/win-64::ply-3.11-py310haa95532_0
pyparsing pkgs/main/win-64::pyparsing-3.0.9-py310haa95532_0
pyqt pkgs/main/win-64::pyqt-5.15.10-py310hd77b12b_0
pyqt5-sip pkgs/main/win-64::pyqt5-sip-12.13.0-py310h2bbff1b_0
python-dateutil pkgs/main/noarch::python-dateutil-2.8.2-pyhd3eb1b0_0
qt-main pkgs/main/win-64::qt-main-5.15.2-he8e5bd7_7
sip pkgs/main/win-64::sip-6.7.12-py310hd77b12b_0
six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1
sqlite pkgs/main/win-64::sqlite-3.41.2-h2bbff1b_0
tomli pkgs/main/win-64::tomli-2.0.1-py310haa95532_0
tornado pkgs/main/win-64::tornado-6.3.3-py310h2bbff1b_0
zlib conda-forge/win-64::zlib-1.2.13-hcfcfb64_5
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR: LoadError: InitError: PyError (PyImport_ImportModule
The Python package matplotlib could not be imported by pyimport. Usually this means
that you did not install matplotlib in the Python version being used by PyCall.
PyCall is currently configured to use the Julia-specific Python distribution
installed by the Conda.jl package. To install the matplotlib module, you can
use
pyimport_conda("matplotlib", PKG)
, where PKG is the Anacondapackage that contains the module matplotlib, or alternatively you can use the
Conda package directly (via
using Conda
followed byConda.add
etcetera).Alternatively, if you want to use a different Python distribution on your
system, such as a system-wide Python (as opposed to the Julia-specific Python),
you can re-configure PyCall with that Python. As explained in the PyCall
documentation, set ENV["PYTHON"] to the path/name of the python executable
you want to use, run Pkg.build("PyCall"), and re-launch Julia.
running
Pkg.build("PyCall") solves this issue
The text was updated successfully, but these errors were encountered: