How to resolve version compatible error for python 3.6 - python

I need to install matplotlib on Python 3.6.2 but when trying to install it getting this error (installing matplotlib package for designing the graphs.)The error is :-
Could not find a version that satisfies the requirement install (from versions: )
No matching distribution found for install”
operating system is Windows 10 -64 bit.
I tried to install the package from same link shared as https://www.lfd.uci.edu/~gohlke/pythonlibs/ .
but the same error appears.
I tried to install from command line plus from blue screen command python packagename.setup and it ended up throwing mentioned error.
it seems for python version 3.6.2 package matplotlib version 3.0.2 can not be installed because each time same error keeps populating as mentioned in previous post.
Can we use a similar other package for pie charts or graphs etc. as matplotlib version 3.0.2 is not getting installed because of mentioned error?

Have you tried installing it with "python3 -m pip install matplotlib"? Matplotlib should work with your Python version, maybe you are accidentally trying to install it for an older Python version.

Related

can't install pptk in python

I'm trying to install the pptk module in PyCharm for visualising 3D point clouds.
Initially I tried installing in PyCharm via File > Settings > Python Interpreter > Install > pptk
However, it couldn't be found and advised I use pip instead.
So on my command prompt I navigated to the folder containing Python 3.9 and tried pip install pptk
And I got the following error ERROR: Could not find a version that satisfies the requirement pptk (from versions: none) ERROR: No matching distribution found for pptk
I'm not sure what I'm doing wrong or why no version can be found? Am I missing something obvious in the installation?
According to the requirements by the pptk module, the minimum Python version required is 3.6. Judging by the fact that there's no distribution found for 3.9 I believe that it was missing a PyPi repo for it, therefore downgrading to Python 3.6 should fix the problem. Judging by your response to my comment, that did work.

Tensorflow installing error: __ is not a supported wheel on this platform

I'm trying to install tensorflow on my PC but I keep getting errors.
I have seen multiple posts about tensorflow installing errors online but all I found was solutions saying that the version of python was not compatible. However, I am using python 3.8 and I am using the URL for python 3.8 provided on tensorflow's website, so I don't see how that could be the issue.
The command I'm using:
python -m pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.2.0-cp38-cp38-win_amd64.whl
The error I'm getting:
ERROR: tensorflow_cpu-2.2.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
I'm using python 3.8, pip 20.1.1 and my PC is running 64 bit Windows 10.
From tensorflow's website, the requirements are :
Python 3.5-3.8
pip 19.0 or later
Windows 7 or later
Which are all satisfied.
Why am I getting this error?
EDIT: using only pip install tensorflow gets me the following errors:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
It's likely you're using the 32bit version of python 3.8 instead of the 64bit version. You can check by opening the interpreter and looking at the first line. If it has 32 bit (Intel) or something similar, then it would be the 32 bit version. To get the 64bit edition, scroll down to Files on this link https://www.python.org/downloads/release/python-380/ and pick up the x86-64 version.

Unable to install curses (python/windows 10)

I have tried to use
python -m pip install windows-curses
and the error that shows up is:
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
I have also tried the method provided by this answer and the same error shows up in my terminal window. How can I install Curses for Python/Windows 10 on my machine?
What's your Python version? This library works on 2.7 and 3.5+.
I have installed here without problems.
I have tested in 3.6 and 3.7 and worked fine.
Try downloading wheel from https://pypi.org/project/windows-curses/#files if you has the apropriate version of Python.

Python for windows, matplotlib and opencv

I have tried to install Python3.7 for Windows. After that I tried to install packages such as numpy, all works fine. However, when I tried to install matplotlib, the following error found:
* The following required packages can not be built:
* freetype, png
* Please check http://gnuwin32.sourceforge.net/packa
* ges/freetype.htm for instructions to install
* freetype
* Please check http://gnuwin32.sourceforge.net/packa
* ges/libpng.htm for instructions to install png
And then when I tried to install opencv-python, I got the following error:
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python
How can I fix the problems?
Python 3.7 just released 2 days ago and not many modules are not supported on Python 3.7 yet. If you don't really need Python 3.7, then downgrade to Python 3.6 to download packages.
Or
Download Anaconda 5.2 to use matplotlib and opencv in Python 3.6. Here is Anaconda Download link for Windows: [link] (https://www.anaconda.com/download/#windows)
I recommend to download Anaconda for using both matplotlib and opencv.

SciPy can't install old version Windows 10

I'm trying to install an older version of SciPy (either 0.16.1 or 0.17.0), but when I try to use pip I get the result:
pip install scipy==0.16.1
I get the following message
Failed building wheel for scipy
So I found the .whl file here https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy but the problem is that the version here is 1.0.1, and I can't seem to find any older ones, even in the SciPy website (there are for linux and mac)
.
.
PS.
I need to use either of this versions because I'm trying to run Theano on a GPU, and the tutorial provided here http://deeplearning.net/software/theano/install_windows.html says this version is a requirement if there is any tutorial that is better and more up-to-date I would be appreciated

Categories