Skip to content

How to install Python 3 with Numpy and matplotlib on MSys2/blueCFD-Core #236

Answered by wyldckat
wyldckat asked this question in Q&A
Discussion options

You must be logged in to vote

So here are the commands I've used, after the 2 commands from steps 5 and 6 on msys2's site:

pacman -S mingw64/mingw-w64-x86_64-python3
pacman -S mingw64/mingw-w64-x86_64-python3-numpy
pacman -S mingw64/mingw-w64-x86_64-python3-matplotlib

The last command is what was missing from your steps. This is because the error message was for this line:

import matplotlib.pyplot as plt

And looking for the module matplotlib:

pacman -Ss matplotlib

gave me that package among the list of possible packages.

Replies: 1 comment

Comment options

wyldckat
Mar 8, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by wyldckat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant