Python Forum
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python error
#21
seems like i have 64 bit python version 3.6.2 but as larz 60+ advised if i have 64 bit then by this command
"pip install matplotlib‑3.0.2‑cp36‑cp36m‑win_amd64.whl" all dependent packages numpy, dateutil, pytz, pyparsing, kiwisolver, cycler, setuptools should have got installed automatically but seems it's not happening like this and still same error " Could not find a version that satisfies the requirement cycler>=0.10 (from matplotlib==3.0.2) (from versions: )
No matching distribution found for cycler>=0.10 (from matplotlib==3.0.2)"

and was just able to install kiwisolver and list contains followings:-

et-xmlfile (1.0.1)
jdcal (1.4)
kiwisolver (1.0.1)
openpyxl (2.5.12)
pip (9.0.1)
setuptools (28.8.0)
xlrd (1.1.0)
xlsxwriter (1.1.2)
xlutils (2.0.0)
xlwt (1.3.0)

seems like cycler and dateutiland main matplotlib are not getting installed rest seems to be installed:

error for dateutil:-

" Could not find a version that satisfies the requirement six>=1.5 (from python-dateutil==2.7.5) (from versions: )
No matching distribution found for six>=1.5 (from python-dateutil==2.7.5)"

error for cycler :-"Could not find a version that satisfies the requirement six (from cycler==0.10.0) (from versions: )
No matching distribution found for six (from cycler==0.10.0)"

my latest pip list :-
et-xmlfile (1.0.1)
jdcal (1.4)
kiwisolver (1.0.1)
numpy (1.15.4+mkl)
openpyxl (2.5.12)
pip (9.0.1)
pyparsing (2.3.0)
setuptools (28.8.0)
xlrd (1.1.0)
xlsxwriter (1.1.2)
xlutils (2.0.0)
xlwt (1.3.0)

only cycler and dateutil and matplotlib are not getting installed despite copying them in same folder location where main python 3.6.2 ( 64 bit -Python version)- windows 10-64 bit(OS-Version) is installed

thanks a lot snippsat, your screen shots with all the required packages to install matplotlib really helped and please ignore my previous messages and now it's got installed successfully.
and thanks to everyone who helped for the same,appreciate the help of everyone of you..many thanks.
Reply
#22
I'm not sure why you are having an issue, and since I don't have a windows environment available, cannot try.
Are you sure that you downloaded the right wheel?
please do the following:
  • from command line in wheel directory -- following to get warm fuzzy feeling:
  • dir matplotlib‑3.0.2‑cp36‑cp36m‑win_amd64.whl
  • pip -V
  • pip install matplotlib‑3.0.2‑cp36‑cp36m‑win_amd64.whl
  • Please copy and post all dialog verbatim
Reply
#23
(Dec-20-2018, 05:05 AM)janho Wrote: " Could not find a version that satisfies the requirement six>=1.5 (from python-dateutil==2.7.5) (from versions: )
No matching distribution found for six>=1.5 (from python-dateutil==2.7.5)"
It look for Python 2.7.5,do you have several versions installed?
Do this for cmd.
Microsoft Windows [Version 10.0.17134.472]
(c) 2018 Microsoft Corporation. Med enerett.

C:\WINDOWS\system32>cd\

# This will Python version in Windows PATH
C:\>python -c "import sys; print(sys.executable)"
C:\python37\python.exe

# pip version 3.7,see that root folder of python is same as over
C:\>pip -V
pip 18.1 from c:\python37\lib\site-packages\pip (python 3.7)

# Start python,as you see so do i have 32-bit Python on this Pc.
C:\>python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()

C:\>
So my wheel for this as show in previous post is.
pip install matplotlib-3.0.2-cp37-cp37m-win32.whl


Maybe the easiest to follow this so you also get 3.7
Python 3.6/3.7 and pip installation under Windows
I go trough this in detail last in post,also a image how it should look in Windows Path.
Environment Variables Path
[Image: GUgLry.jpg]
When it look like this,it will work as shown in cmd over.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020