Pip and Python 3.10.4 problem

349 views
Skip to first unread message

Phil

unread,
Aug 26, 2022, 6:06:12 AM8/26/22
to wxpytho...@googlegroups.com
Thank you for reading this.

After having been unsuccessful with a WxPython installation I
discovered, after an Internet search, that  there is a problem with pip
and Python3. Part way through the installation process I'm greeted with
pages of error similar to the following:

ERROR: Exception:

Traceback (most recent call last):
  File
"/usr/lib/python3/dist-packages/pip/_vendor/urllib3/response.py", line
438, in _error_catcher
    yield
  File
"/usr/lib/python3/dist-packages/pip/_vendor/urllib3/response.py", line
519, in read
    data = self._fp.read(amt) if not fp_closed else b""
  File
"/usr/lib/python3/dist-packages/pip/_vendor/cachecontrol/filewrapper.py",
line 90, in read
    data = self.__fp.read(amt)

Is there a work-around or do I just need to be patient until this
problem is resolved?

--
Regards,
Phil

Steve Barnes

unread,
Aug 26, 2022, 6:28:20 AM8/26/22
to wxpytho...@googlegroups.com
Hi Phil,

I have been successfully installing wxpython into Python 3 using pip for some time now. The questions are which Python 3, on which platform(s) and are you installing from pypi (the default) or elsewhere?

The wxpython binary downloads for wxpython 4.2.0 are available pre-built for Python 3.7, 3.8, 3.9 & 3.10 for both MacOS & Windows 64 bit. If you are using a python <3.7 I would strongly suggest upgrading and likewise if you are using 32 bit python on Windows switch to 64 bit if possible. If you are on Linux check to see if there is a pre-built version available in your distribution channels (apt-get, etc.).

For other targeted versions and platforms it will require some work on your part ensuring tools & dependencies are met for the build to take place.

Hope that helps.

Steve
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.
To view this discussion on the web visit https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fwxpython-users%2Fe1547b48-8439-6f5b-7492-a1edf29d650b%2540gmail.com&amp;data=05%7C01%7C%7C0a6d580de0ee4930322008da874a9b16%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637971051735863316%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cXPbZwjiWosoTXoIqjGM%2FFUfSumXnwH9pGGpfAaw%2BiI%3D&amp;reserved=0.
Screenshot 2022-08-26 112006.png
Reply all
Reply to author
Forward
0 new messages