Problem Installing Packages with Thonny 4.0.2

437 views
Skip to first unread message

Ronald Kumon

unread,
Feb 6, 2023, 2:48:43 PM2/6/23
to thonny
I just installed thonny 4.0.2 on a Windows 11 computer on our campus using the installer with 64-bit Python 3.10.  I am trying to install the "numpy" package.  When I go to "Tools: Manage Packages" and search for "numpy", I get the following error message: 

"Could not fetch search results:
<urlopen error [WinError 10061] No connection could be made because the target machine actively refused it>
Try opening the package directly:
numpy"

When I click on the direct link to numpy, I get essentially the same error:
"Could not find the package info from PyPI. Error code: <urlopen error [WinError 10061] No connection could be made because the target machine actively refused it>"

I have the same problem installing other packages as well. 

I installed the same software and package on my Windows 11 laptop at home without an issue just yesterday without a problem, which makes me think there is some sort of network issue.  Any thoughts about how to fix the problem?
---Ron 


Ronald Kumon

unread,
Feb 7, 2023, 3:04:51 PM2/7/23
to thonny
Update: I solved the problem by installing a USB wireless network card in the computer.  After moving over to our wireless network, the package installation worked just fine.  I'm still not clear why the PyPI is rejected requests from our wired network, but this was an effective, albeit inconvenient, workaround. If anyone has any insights as to what could cause this problem and what can be done to fix it without moving to a different network, I would still like to know.
--Ron

Хуан Матус

unread,
Feb 13, 2023, 7:01:42 PM2/13/23
to thonny

numpy is in python pakage why install it?

SLAVA UKRAINE!! GLORY TO UKRAINE!!  ᛋ ᛋ

вторник, 7 февраля 2023 г. в 23:04:51 UTC+3, rku...@kettering.edu:
Reply all
Reply to author
Forward
0 new messages