I cannot install torch with pip3 but I can with pip - python

So following the guide on pytorchs homepage I should be able to install pytorch by running:
pip3 install torch===1.3.1 torchvision===0.4.2 -f https://download.pytorch.org/whl/torch_stable.html
If I do so, I get the error message
Could not find a version that satisfies the requirement torch===1.3.1 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
No matching distribution found for torch===1.3.1
If I install using pip (and not pip3) it works, but I cannot import torch afterwards - it seems like pip3 is handling my packages.
OS: Windows 10
IDE: VScode

It turned out, that I was using a 32-bit version (eventhough python told me it was a 64 bit). Installing the 64-bit solved the issue

Related

Unable to install tensorflow in cygwin

I am trying to install tensorflow in cygwin on my Windows 7 machine using pip install tensorflow==2.9.0 command but it says
ERROR: Could not find a version that satisfies the requirement tensorflow==2.9.0 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.9.0
I tried using pip install tensorflow but it gives me a similar error.
The python version that I have is 3.8.12 and the python is 64 bits.
Please help me to install it.

Can't install open3d libraries (Error:Could not find a version that satisfies the requirement open3d)

I use pyCharm software in windows 10, and when I tried to install open3d the following error appeared:
ERROR: Could not find a version that satisfies the requirement open3d (from versions: none)
ERROR: No matching distribution found for open3d
I tried to install it using cmd but the same error appeared, also pip version is 20.1.1.
Image
If you can't seem to upgrade open3d to version 0.13.0;
Upgrade to the latest pip version
python3 -m pip install --upgrade pip
and
sudo pip3 install open3d==0.13.0
Hope that works.
Solved: by installing python version 3.77 and run code using it instead of 3.8

Error in installing python package Flair, about a dependent package not hosted in PyPI

I am trying to install flair. It is throwing below error when executing below command:
pip install flair
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
tiny-tokenizer depends on SudachiDict_core# https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/SudachiDict_core-20190927.tar.gz
I thought installing this package explicitly might fix the error but it doesn't. The error remains same.
The installed version of SudachiDict-core is below:
SudachiDict-core 0.0.0
Below is the Environment:
OS: Windows 10
Python: 3.6 (64 bit)
Any hint is appreciated. Thank you!
Note:
First hurdle when installing flair was torch package. It was resolved simply when torch package is installed. The error looked like below:
ERROR: Could not find a version that satisfies the requirement torch>=1.1.0 (from flair) (from verERROR: No matching distribution found for torch>=1.1.0 (from flair)
You can try
pip install --upgrade git+https://github.com/zalandoresearch/flair.git
Source: https://github.com/flairNLP/flair/issues/1327#issuecomment-571639994
Or
to install separately:
pip install tiny-tokenizer
After this run:
pip install flair
It is strange running below command solved the problem.
pip install flair==0.4.3
I assume that the problem is in a latest version 0.4.4 (and its dependencies).
Note: I had torch==1.1.0 package already installed.

Can't install curses package in pycharm [ Could not find a version that satisfies the requirement curses-win(from versions: none)]

when i try to install curses-win package i head ERROR
ERROR: Could not find a version that satisfies the requirement curses-win (from versions: none)
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter
command output:
ERROR: Could not find a version that satisfies the requirement curses-win (from versions: none)
ERROR: No matching distribution found for curses-win
i've installed numpy and tensorflow clearly
I faced with this problem when I tried to install cantools using pip on Ubuntu 16.04 LTS. I solved this issue by installing the pytest-runner package previously:
$ pip install pytest-runner --user

Tensorflow installation Mac error: unable to find matching distribution

I am attempting to install TensorFlow on my Macintosh computer. I was following the instructions as provided on their website when I reached a problem. I had established a virtual environment in the MacOS terminal and attempted to use pip to install TensorFlow with the command
pip install tensorflow
when I received the following message:
Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
How can I resolve this? Thank you for any assistance you can provide.
Sincerely,
Suren Grigorian
try updating pip using
python3 -m pip3 install --upgrade pip3
and try again by specifying tensorflow version with
pip3 install tensorflow==2.3.1

Categories

Resources