I wanna install tensorflow2.0, but it just failed.
According to error, it said, zsh: 2.0.0-beta1 not found.
pip install tensorflow==2.0.0-beta1
zsh: 2.0.0-beta1 not found.
Remove the hypen -
pip install tensorflow==2.0.0beta1
First,Download tensorflow package ,this is the version of tensorflow about 2.1rc in Windows,you can download by url(https://files.pythonhosted.org/packages/e3/44/a88475dc6905a9816227bff0f31355f7072efa119faff336aa18b27a3347/tensorflow-2.1.0rc2-cp36-cp36m-win_amd64.whl), other version and platform(https://pypi.org/project/tensorflow/2.1.0rc2/#files), finally,you can use pip command to install(pip install tensorflow****).
Related
When I try to install Tensor Flow 1.4.0 via pip install
pip install tensorflow==1.4.0
I get error:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.4.0 (from
versions: 2.5.0rc0, 2.5.0rc1, 2.5.0rc2, 2.5.0rc3, 2.5.0, 2.6.0rc0)
ERROR: No matching distribution found for tensorflow==1.4.0
How can I install Tensor Flow version 1.4.0 on my mac?
EDIT: SOLUTION:
run this:
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
You can read here. Tensorflow 1.4.0 only support python<=3.6. You should uninstall python and pip after reinstall according to the required version
Hello I want to pip install pymc3 in tensorflow version 3.5 on windows
but it is not worked.
pip install git+https://github.com/pymc-devs/pymc3
tensorflow-tensorboard 1.5.0 has requirement bleach==1.5.0, but you'll have bleach 2.1.2 which is incompatible.
tensorflow-tensorboard 1.5.0 has requirement html5lib==0.9999999, but you'll have html5lib 1.0.1 which is incompatible
please help me :(
It is clear from the error that there is a mismatch of the package versions. You have several options from here.
If you haven't installed tensorboard already, install tensorboard and see if the error is resolved: pip install tensorboard
If you have installed tensorboard already, uninstall tensorboard with: pip uninstall tensorboard and specify the version of tensorboard you want to install: pip install tensorboard=1.5.1. Refer to here for more details
As suggested by your screenshot, it is evident that the package tensorflow-tensorboard is not compatible with the latest version of bleach package. These are interdependent packages.
An easy solution, as suggested by your command prompt is to use an older version of bleach package.
I tested the following command, which worked for me for installing bleach 1.5.0.pip install -I bleach==1.5.0
I am using pip version = 10.0.1.To check your current pip version, run the following command: pip --version
After you're done with the installation, you can check the version of all your installed packages usingpip freeze
For more information about this compatibility issue, refer this TensorFlow Article on GitHub.
You can do the same for html5lib as well, by following the exact steps above and changing the parameter.
Hope it works!
Tensorflow-tensorboard is not compatible with the latest version of bleach package.
You have to install the following packages by
$ pip install numpy==1.13.0 --user
You install the other with same
Check the version of pip:
$ pip --version
Update pip: $pip install --upgrade pip
I am trying to install tensorflow on mac Sierra. When I run pip install tensorflow I get following report.
It works fine for me by using command :
pip3 install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.10.1-py3-none-any.whlrflow-1.10.1-py3-none-any.whl
run sudo pip install tensorflow
The problem appears to be, that you have not got the rights to install tensorflow globally. Therefore, one solution appears to be, that you try to install tensorflow locally using the following command:
pip install tensorflow --user
I am trying to install tensorflow with virtualenv
I have successfully went through the first 5 steps but on the 5th
pip install --upgrade tensorflow
I am getting an error
Found existing installation: numpy 1.8.0rc1
DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling numpy-1.8.0rc1:
OSError: [Errno 1] Operation not permitted: '/tmp/pip-Z5MKQS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy-1.8.0rc1-py2.7.egg-info'
You might be installing globally try adding sudo
sudo pip install --upgrade tensorflow
Otherwise just upgrade numpy separately with sudo and then you can try to install tensorflow locally.
I have no idea why you have that error.
But you can try with first installing pip3 and then try install with pip3 as
pip3 install --upgrade tensorflow
This will help you.
Despite using sudo, the pip install command sometimes generates an error similar to the following:
...
Installing collected packages: setuptools, protobuf, wheel, numpy, tensorflow
Found existing installation: setuptools 1.1.6
Uninstalling setuptools-1.1.6:
Exception:
…
[Errno 1] Operation not permitted:
'/tmp/pip-a1DXRT-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'
Try to install using --ignore-installed option:
sudo pip install --ignore-installed tensorflow
It should work.