PyTorch not downloading - python

I go to the PyTorch website and select the following options
PyTorch Build: Stable (1.2)
Your OS: Windows
Package: pip
Language: Python 3.7
CUDA: None
(All of these are correct)
Than it displays a command to run
pip3 install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
I have already tried to mix around the the different options but none of them has worked.
ERROR: ERROR: Could not find a version that satisfies the requirement torch==1.2.0+cpu (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.2.0+cpu
I tried to do pip install pytorch but pytorch doesn't support pypi

I've been in same situation.
My prob was, the python version... I mean, in the 'bit' way.
It was 32 bit that the python I'd installed.
You should check which bit of python you installed.
you can check in the app in setting, search python, then you will see the which bit you've installed.
After I installed the 64 bit of Python, it solved.
I hope you figure it out!
environment : win 10

It looks like it can't find a version called "1.2.0+cpu" from it's list of versions that it can find (0.1.2, 0.1.2.post1, 0.1.2.post2). Try looking for one of those versions on the PyTorch website.

So it looks like I cant install PyTorch because I am running python 32-bit. This may or may not be the problem but this is the only possible error that I could see this being the cause.

Related

Trying to install torch for unity mlagents in the virtual enveiroment

When i enter the command:
pip3 install torch~=1.7.1 -f https://download.pytorch.org/whl/torch_stable.html
just like the manual at
https://github.com/Unity-Technologies/ml-agents/blob/develop/docs/Installation.md
says, i get this error message:
ERROR: Could not find a version that satisfies the requirement torch~=1.7.1 (from versions: none)
ERROR: No matching distribution found for torch~=1.7.1
My pip is on version 23.0, python 3.11.1
I tried a bunch of different ways to do this, even from the torch website, but nothing seems to work, i still get the same error message.
~=1.7.1 means >= 1.7.1, == 1.7.*.
But as far as I can tell, the PyTorch releases in this version range do not support Python 3.11. You are probably following instructions that are quite old.
You would need to instruct pip to install newer releases of PyTorch. Or use an older Python version (probably 3.7 or 3.8 which are quite old and heave nearly reached end of life).

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 not getting installed with pip

I keep getting errors like;
ERROR: Could not find a version that satisfies the requirement tensorflow (from
versions: none)
ERROR: No matching distribution found for tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow==2.0.0
(from versions: none)
ERROR: No matching distribution found for tensorflow==2.0.0
ERROR: Could not find a version that satisfies the requirement tensorflow==2.2.0
rc4 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.2.0rc4
I have tried searching for a solution since 4 to 5 hours. I am trying to install it in a virtualenv file.
This has never happened before.
What am I doing wrong?
Pip version: 20.2.3
Pip3 version: 20.2.3
Python version: Python 3.7
Windows: 8.1 64 bit
Tensorflow version I want to install: 2.x+
According to the PIP tensorflow file listing it should work. Are you are sure you are using a 64-bit python interpreter? If your python interpreter is 32 bit for some reason, it's going to need a 32 bit package.
The packages are not built for Windows 32 bit.
If this is your problem, you should install a 64 bit version of the Python interpreter.
Please verify that your python installation is 64 bit by using the following script:
import platform
platform.architecture()[0]
the script should return '64bit'. if not, install the correct version.
Also, if you wish to use tensorflow 2.2 and above, upgrade to python 3.8 or higher.
TensorFlow is compiled with recent processor. I had problems with this and I had to verify the processor flags (and recompile myself, pff).
Windows 8.1 is surely obsolete

'pip install pyeto' gives version and distribution error

I'm trying to install a package called pyeto. Their website (https://pyeto.readthedocs.io/en/latest/) does not mention any problems regarding the installation and I can't find any installation related problems of other users. I'm doubting what solution I should look for (I would appreciate it to not have to reinstall python). I'm running python version 3.6.8 and the errors are presented below.
If you have an idea on how to solve this issue please let me know. I'm not an expert on how python runs in the background and how packages are installed through pip. Thanks in advance! B.
ERROR: Could not find a version that satisfies the requirement pyeto (from versions: none)
ERROR: No matching distribution found for pyeto
EDIT: pip --version
pip 20.2.2 from c:\users\user\anaconda3\lib\site-packages\pip (python 3.6)
The author hasn't put it on pypi, so pip is treating it as an unknown package.
See https://github.com/woodcrafty/PyETo/issues/3
Check on the website on what version it is supported.

ERROR: No matching distribution found for opencv-contrib-python-nonfree

I am trying to install opencv nonfree on windows version to run the sift.
PS F:\DKE\CV\cvfinal> pip install opencv-contrib-python-nonfree
> ERROR: Could not find a version that satisfies the requirement opencv-contrib-python-nonfree (from versions: none)
> ERROR: No matching distribution found for opencv-contrib-python-nonfree`
can someone help me to install this .i don't want to use cmake to created the package because its giving me some other errors.I am using the python 3.8.2 64 bit version ith pip
pip 20.0.2 from C:\Users\DELL\Anaconda3\lib\site-packages\pip (python 3.6)
can some please help me
I was not able to use PYTHON on my computer but you can see the video.
C++: I have solved it by installing Cmake, and later using opencv_master and opencv_contrib_master. You have to install Cmake and add it to the Path directories on windows. Later you will have to add opencv_master to Cmake an configure it, check none error is matched, later you have to add opencv_contrib_master/include to EXTRA_MODULES, you have to choice NONFREE and WORLD option, configure and generate. Thats the most important, you can use the next video. It work for me, just remember to use the instrucctions above.
https://www.youtube.com/watch?v=_fqpYLM6SCw&t=312s

Categories