Re: Error installing matplotlib
Rob Cliffe via Python-list <[email protected]>
| Newsgroups | gmane.comp.python.general |
|---|---|
| Message-ID | <[email protected]> |
On 03/09/2025 15:45, Oscar Benjamin wrote: > > > On Wed, 3 Sep 2025, 15:40 Rob Cliffe, <[email protected]> wrote: > > > > On 03/09/2025 15:35, Oscar Benjamin wrote: >> >> >> On Wed, 3 Sep 2025, 15:21 Rob Cliffe via Python-list, >> <[email protected]> wrote: >> >> >> >> On 03/09/2025 14:59, Mats Wichmann wrote: >> > On 9/3/25 07:20, Rob Cliffe wrote: >> >> >> >> >> >> On 03/09/2025 00:01, Mats Wichmann wrote: >> >>> On 9/2/25 14:51, Rob Cliffe via Python-list wrote: >> > >> >> > >> > # do a test install with some flags that *might* give you >> useful info: >> > pip -v install --dry-run --only-binary :all: >> --ignore-installed matplotlib >> I'm not familiar with these pip options, but I tried this and >> got the >> following output: >> >> Using pip 25.2 from C:\Python313\Lib\site-packages\pip >> (python 3.13) >> ERROR: Could not find a version that satisfies the requirement >> matplotlib (from versions: none) >> ERROR: No matching distribution found for matplotlib >> >> >> This means that pip can't find matching wheels. You would see >> this error message at the end if you didn't have a network >> connection. Assuming pip can reach pypi then it thinks that none >> of these wheels is suitable: >> >> https://pypi.org/project/matplotlib/#files >> >> There seem to be wheels for 3.13 on Windows for amd64 and arm64. >> >> Is it possible that you are on a 32 bit machine or using a 32 bit >> build of python? >> >> -- >> Oscar > I'm using a 32-bit build of python: > > >python > Python 3.13.3 (tags/v3.13.3:6280bb5, Apr 8 2025, 14:32:59) [MSC > v.1943 32 bit (Intel)] on win32 > > > Then the problem is that matplotlib no longer provides prebuilt wheels > for 32 bit python on windows. The simplest fix is to install a 64 bit > build of python. > > Oscar > Thanks Oscar, that solved the problem. (I had other issues doing this: I had to convert some DLLs from 32- to 64-bit. But as far as I know I have resolved them all.) Best wishes Rob Cliffe -- https://mail.python.org/mailman3//lists/python-list.python.org