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.
Related
Tried running pip3 install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html first, taken from PyTorch website
which resulted in
No matching distribution found for torch===1.4.0
and Could not find a version that satisfies the requirement torch===1.4.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
Finally downloaded the .whl file from downloads page and tried installing locally like so 'C:\Users\Raf\AppData\Local\Programs\Python\Python38\Scripts\pip.exe' install torch-1.4.0+cpu-cp37-cp37m-win_amd64.whl
after which I get torch-1.4.0+cpu-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
using 64 Python 3.8, on 64 bit Windows
using 64 Python 3.8
but you downloaded the cp37 whl which is for python 3.7. There is currently no whl file available for python 3.8. So either install from source (probably not recommended), install a different python version or create a virtual environment with python 3.7
Update
There is now: https://download.pytorch.org/whl/cpu/torch-1.4.0%2Bcpu-cp38-cp38-win_amd64.whl
I faced the similar issue, even if your python version is correct you can still face this problem if you had install 32x instead of 64x
If it is 32-bit you will face the same problem.
To check the bit version of python on your system run this
python -c "import struct;print( 8 * struct.calcsize('P'))"
This will return 32 or 64
If it returns 32 change it to 64 and reinstall the PyTorch
https://www.python.org/downloads/windows/
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.
I have problems with installing Autokeras with Anaconda.
I downgraded python to 3.6
I installed pytorch and downgraded to
version 0.4.1
I downgraded numpy to 1.14.5
I installed visual studio C++ build tool
But now I get the error that tensorflow will require max numpy version 1.14.5. but autokeras will upgrade numpy to 1.15.4 and it failed to build the wheel for lws
After every step ther was an error.
Is there a simple, straight forward way to install Autokeras on Annaconda (Win)?
Thanks for your help
I have Windows 10, Anaconda 2019.10 and Python 3.7.5. In my case, I get the error ERROR: No matching distribution found for torch==1.0.1.post2 (from autokeras) on Windows 10 when trying to pip install autokeras as indicated by the official documentation.
Then I try to get the source code from https://github.com/keras-team/autokeras and run python setup.py install. It successfully installs autokeras for me.
I had the same issues, using Windows 10 Pro. I installed VMware Workstation 15 Player, installed lubuntu as the guest OS, installed anaconda onto that, created a conda virtual environment, and was able to install autokeras as per https://autokeras.com/start/ . The autokeras installation gave a numpy version error, but seems to work. This might not be the answer you are looking for.
Another answer you might not be looking for is to use Docker, as per https://autokeras.com/docker/ . Once I'd changed "$(pwd)":/app to "$(pwd):/app" in the example, this also seems to work.
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.
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