julia> include("$(pwd())\src\processingProjects\processingProject-CLOUD15.jl")
[ Info: Installing matplotlib via the Conda matplotlib package...
[ Info: Running conda install -y matplotlib in root environment
Channels:
- defaults
- conda-forge
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:
package | build
---------------------------|-----------------
brotli-1.0.9 | ha925a31_2 332 KB
contourpy-1.2.0 | py310h59b6b97_0 203 KB
cycler-0.11.0 | pyhd3eb1b0_0 12 KB
fonttools-4.25.0 | pyhd3eb1b0_0 632 KB
freetype-2.12.1 | ha860e81_0 490 KB
giflib-5.2.1 | h8cc25b3_3 88 KB
glib-2.69.1 | h5dc1a3c_2 1.8 MB
gst-plugins-base-1.18.5 | h9e645db_0 1.7 MB
gstreamer-1.18.5 | hd78058f_0 1.7 MB
icu-58.2 | ha925a31_3 9.4 MB
jpeg-9e | h2bbff1b_1 320 KB
kiwisolver-1.4.4 | py310hd77b12b_0 60 KB
lerc-3.0 | hd77b12b_0 120 KB
libclang-12.0.0 |default_h627e005_2 17.8 MB
libdeflate-1.17 | h2bbff1b_1 153 KB
libogg-1.3.5 | h2bbff1b_1 33 KB
libpng-1.6.39 | h8cc25b3_0 369 KB
libtiff-4.5.0 | h8a3f274_0 1.2 MB
libvorbis-1.3.7 | he774522_0 202 KB
libwebp-1.3.2 | hbc33d0d_0 73 KB
libwebp-base-1.3.2 | h2bbff1b_0 306 KB
matplotlib-3.8.0 | py310haa95532_0 9 KB
matplotlib-base-3.8.0 | py310h4ed8f06_0 6.8 MB
munkres-1.1.4 | py_0 13 KB
openjpeg-2.4.0 | h4fc8c34_0 219 KB
pcre-8.45 | hd77b12b_0 382 KB
pillow-10.0.1 | py310h045eedc_0 788 KB
ply-3.11 | py310haa95532_0 81 KB
pyparsing-3.0.9 | py310haa95532_0 154 KB
pyqt-5.15.10 | py310hd77b12b_0 4.1 MB
pyqt5-sip-12.13.0 | py310h2bbff1b_0 75 KB
python-dateutil-2.8.2 | pyhd3eb1b0_0 233 KB
qt-main-5.15.2 | he8e5bd7_7 50.0 MB
sip-6.7.12 | py310hd77b12b_0 521 KB
six-1.16.0 | pyhd3eb1b0_1 18 KB
sqlite-3.41.2 | h2bbff1b_0 894 KB
tomli-2.0.1 | py310haa95532_0 25 KB
tornado-6.3.3 | py310h2bbff1b_0 647 KB
zlib-1.2.13 | hcfcfb64_5 105 KB conda-forge
------------------------------------------------------------
Total: 101.7 MB
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 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
julia> include("$(pwd())\src\processingProjects\processingProject-CLOUD15.jl")
[ Info: Installing matplotlib via the Conda matplotlib package...
[ Info: Running
conda install -y matplotlibin 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 Condafollowed byConda.addetcetera).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