J-Cake
1
I installed LapPlot, and want to use Python for a project. Unfortunately, the python CAS worksheet doesn’t let me import modules.
>>> import numpy as np
ModuleNotFoundError: No module named 'numpy'
I installed the packages via pacman
and running it from the terminal works:
sudo pacman -Sy python-numpy python-scipy python-pandas python-matplotlib
python3
>>> import numpy as np
>>>
Why isn’t LapPlot pickin up these modules?
asemke
2
probably multiple version of Python are installed on your system and you installed the modules now not for the version that is being used by LabPlot.
Which path of the executable do you see once you created a python notebook in labplot? What is the output of
import sys
print(sys.executable)
J-Cake
3
hi, thanks for your reply.
My system is a fresh install of Arch. I insalled the packages via pacman. LabPlot reports /usr/bin/python3
asemke
4
which path do you get when you start python3 in your terminal and print out sys.executable?
asemke
5
@J-Cake did you have a chance to check it once more?