Packages won’t install on IDLE in Linux

  Kiến thức lập trình

Reinstalled Linux, to upgrade it to
Linux Mint 21.3
Python 3.11

Installed Idle via Software Manager

Went into terminal and started installing the packages
pip3 install numpy
pip3 install scipy
etc

When I go to try to import anything with Idle it come up ‘No module named’

If I go back to terminal and open up the terminal python and try to import numpy it looks like it imports it fine. When I look at the packages installed it shows all of them that I installed with pip3 install, but, I think, anything that wasn’t installed with Linux(how do you say) doesn’t work, things like bs4 work fine in Idle.

How do I correct the problem and get these darn things to work in Idle?

LEAVE A COMMENT