Unable to upgrade tensorflow to 1.3.0 - linux

My current tensorflow version is 1.2.1, and I want to upgrade it to a new version 1.3.0. I download the whl file from website and type the command in the terminal:
sudo pip install --upgrade tensorflow_gpu-1.3.0-cp27-none-linux_x86_64.whl
but it couldn't work. It gives me the following message:
Requirement already up-to-date: mock>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from tensorflow-gpu==1.3.0)
Downloading/unpacking tensorflow>=1.2.0 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu==1.3.0)
Could not find any downloads that satisfy the requirement tensorflow>=1.2.0 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu==1.3.0)
Cleaning up...
No distributions at all found for tensorflow>=1.2.0 (from tensorflow-tensorboard<0.2.0,>=0.1.0->tensorflow-gpu==1.3.0)
Storing debug log for failure in /home/zxf/.pip/pip.log
Anyone knows what's wrong with?

I face the same problem. Just try upgrade CPU version which will upgrade all needed libraries. Then upgrade GPU version, everything works fine.

Related

Is there a go-to way to install CuPy on Windows 10 right now?

I can see that the installation guide:
https://docs.cupy.dev/en/stable/install.html
is quite outdated and a note on the Github release page of v9.0.0a2:
https://github.com/cupy/cupy/releases/tag/v9.0.0a2
states that the older version supporting CUDA v11.1 did not work in the first place and all wheels have been removed from PyPi as a response. Trying to install CuPy with an updated pip, none of the wheels are back up. Is there still a version (for any CUDA version for that matter) that works on Windows then? Can I build the newer v9.0.0b1 on Windows from source maybe?
C:\Windows\system32>python -m pip install -U setuptools pip
Requirement already satisfied: setuptools in c:\users\c\appdata\local\programs\python\python38-32\lib\site-packages (51.1.2)
Requirement already satisfied: pip in c:\users\c\appdata\local\programs\python\python38-32\lib\site-packages (20.3.3)
C:\Windows\system32>pip install cupy-cuda111
ERROR: Could not find a version that satisfies the requirement cupy-cuda111
ERROR: No matching distribution found for cupy-cuda111

Why is an older version of sktime getting installed using pip?

I'm trying to install sktime using pip. The latest version in pypi is 0.5.1, however when I install 0.4.3 gets installed. I tried installing using pip3 install sktime==0.5.1, it throws error
Could not find a version that satisfies the requirement sktime==0.5 (from versions: 0.1.dev0, 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3)
No matching distribution found for sktime==0.5
For future users, relevant details from chat:
Ubuntu 18.0.4
pip 9.0.1
python 3.6.9
The issue here is that the pip version is too old to install any of the wheel files for 0.5.1. manylinux2010 support was added in pip 19.0, according to this issue. To fix this, just upgrade pip to a version >19.
So why does this issue only occur for version 0.5.1 and not any of the previous ones? It's because all of the previous version(for instance, 0.4.3) also provide a source distribution(the .tar.gz) which can be used to build from source as an alternative to wheels. However, this sdist was removed in 0.5.1.

ERROR: Could not find a version that satisfies the requirement tensorflow (fro versions: none)

I have MS Server 2012R2x64 and Python3.7 , i have installed needed packages, but when i try install tensorflow, i get sush error
C:\Windows\system32>pip3 install tensorflow
Collecting tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (fro
m versions: none)
ERROR: No matching distribution found for tensorflow
I saw many similar topics here, but no one helped me.
This error means that there is no version(distributuon) for my OS,
Why there is no distirbution? because on my Win 8.1 x 64, python 3.7.2 tensorflow was installed very quickly. But on my server there is more RAM, so to perform analysis i need my server.
How to install tensorflow on my server?
In case people are still having this problem, it seems TensorFlow simply stopped hosting certain versions from PyPI. The pip error should now tell you what options are actually available. For example:
$ pip install tensorflow==1.11.0
Collecting tensorflow==1.11.0
ERROR: Could not find a version that satisfies the requirement tensorflow==1.11.0 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0)
ERROR: No matching distribution found for tensorflow==1.11.0
To install tensorflow normally with pip from a requirements file, you have to use one of the supported versions for example the ones listed above. The closest one for the example would be 1.13.1. However the easiest fix is to change the requirement to tensorflow>=1.11.0, which will install the latest ver 1 distribution, 1.14.0.
Try to follow with these instructions:
Install TensorFlow with pip
In particuar, you can try using this command:
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
but if it does not work, additional tips or other URLs can be found under the link above.
I hope I helped.

Is there any way by which I can install pypiwin32 in python version 3.7.1

I am trying to use wmi or netuse. For which, I need to have pypiwin32 in the path.
How to connect to a remote Windows machine to execute commands using python?
I am trying to achieve close to something like above.Is this package is available for 3.7.1 version of python.
I have tried installing it using
- pip
- going to its website
- cherry package
pip install -U pypiwin32
Collecting pypiwin32
Using cached https://files.pythonhosted.org/packages/d0/1b/2f292bbd742e369a100c91faa0483172cd91a1a422a6692055ac920946c5/pypiwin32-223-py3-none-any.whl
Collecting pywin32>=223 (from pypiwin32)
Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: )
No matching distribution found for pywin32>=223 (from pypiwin32)
It looks like the pywin32 project has published Python 3.7-compatible releases for version 223:
pywin32-223-cp37-cp37m-win32.whl
pywin32-223-cp37-cp37m-win_amd64.whl
and version 224:
pywin32-224-cp37-cp37m-win32.whl
pywin32-224-cp37-cp37m-win_amd64.whl
It seems like the platform you're installing from is not compatible with these releases, is it not a Windows machine?

Issue Installing scikit image in python 3

I am having issues installing scikit-image for use with python3
I have it installed for python version 2.7 using pip install. I am now trying to install it in my folder for python3 and am getting this issue
Obtaining file:///usr/lib/python3/dist-packages/scikit-image
Collecting numpy>=1.11 (from scikit-image==0.14.dev0)
Could not fetch URL https://pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement numpy>=1.11 (from scikit-image==0.14.dev0) (from versions: )
No matching distribution found for numpy>=1.11 (from scikit-image==0.14.dev0)
I am navigating to the source folder and using
sudo pip install -e . as per the documentation. I have also tried sudo pip3 install -e . http://scikit-image.org/docs/dev/install.html
I am new to Ubuntu/programming so don't understand the issue; looking at the error it talks about numpy version 1.11. I do have this installed in my python3 folder so I don't understand the issue. The only way I have been able to install skimage for python3 is by using synaptic package manager, unfortunately, the only version available is version 0.10.1

Resources