I need to install tensorflow-text on a Raspbian machine and I'm facing some issues.
Python version: 3.7.3
Tensorflow version: 2.2 (installed from source)
Pip version: 20.2.4
When I try to install from pip, I get:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement tensorflow-text (from versions: none)
ERROR: No matching distribution found for tensorflow-text
So I then tried to install the package manualy downloading it's files, but it's wheels are all x86_64 and Raspbian is running in a 32bit machine so I'm not sure what can I do to install this package, I've seen many people tring this by their own but I couldn't find any valid solution, any ideas?
Related
I'm trying to install PyTorch with PyCharm Community Edition 2020.2.3 x64 and Python 3.9.0 on Windows 10 pro 64-bit OS PC machine
I've tried:
pip install torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
and:
python -m pip install torch==1.7.0 -f https://download.pytorch.org/whl/torch_stable.html
Should I downgrade Python version, let's say to Python 3.8.6 or PyTorch version, to make it work, or am I doing something else incorrectly besides this, maybe missed something to install, for example I did not selected CUDA, but seems like it is different reason:
ERROR: Could not find a version that satisfies the requirement
torch==1.7.0+cpu (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.7.0+cpu
with pip3 install https://download.pytorch.org/whl/cpu//torch-1.7.0%2Bcpu-cp38-cp38-win_amd64.whl:
ERROR: torch-1.7.0+cpu-cp38-cp38-win_amd64.whl is not a supported
wheel on this platform.
and
pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html -vvv
ERROR: Could not find a version that satisfies the requirement
torch==1.4.0+cpu (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.4.0+cpu
Any advice, guide or example would be helpful
Solution:
Installed successfully with Python 3.8.6
I tried with Python 3.8.0, Python 3.8.5, Python 3.8.6 and Python 3.9.0. It seems to work only with 3.8.6 version.
I'm installing tensorflow. My system has the following specifications:
py --version
Python 3.8.2
I tried the following commands to install tensorflow module
py -m pip install --upgrade tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
py -m pip install tensorflow==2.2
ERROR: Could not find a version that satisfies the requirement tensorflow==2.2 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.2
py -m pip install tensorflow==2.2.0
ERROR: Could not find a version that satisfies the requirement tensorflow==2.2.0 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.2.0
What can I do to install this successfully on my machine?
TensorFlow supports only 64-bit system architecture. Hence it shows compatibility issue in 32-bit and no matching distribution found.
I am trying to use 'pipenv' on Windows Subsystem for Linux (ubuntu 18.04)
When I run
$ pipenv sync
I am getting this error :
[pipenv.exceptions.InstallError]: ['ERROR: Could not find a version that satisfies the requirement
tensorflow==2.1.0 (from -r /tmp/pipenv-gy0uz1a7-requirements/pipenv-glre38t7-requirement.txt (line 1))
(from versions: 2.2.0rc1, 2.2.0rc2)', 'ERROR: No matching distribution found for tensorflow==2.1.0
(from -r /tmp/pipenv-gy0uz1a7-requirements/pipenv-glre38t7-requirement.txt (line 1))']
I followed some other instructions that say I have to install tensorflow, so I installed tensorflow
$ pip install --upgrade pip
$ pip install tensorflow==2.1.0
Even after installing tensorflow 2.1.0 I am still getting the same error when I run
$ pipenv sync
What should I do to fix this problem?
Check your python version, the python 3.8 doesn't support TensorFlow 2.1 version.
When i tried to install openCV using pip3 install opencv-python i got this error
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python
i have tried upgrading pip using
pip install --upgrade pip
and
curl https://bootstrap.pypa.io/get-pip.py | python
none of them helped me and pip is up to date
tried to download and compile opencv manually gives me bunch of errors
python version -2.7,3.6.2
pip version- up to date
raspberry pi 2
Normally this information means that your python version or OS version not compatible with any openCV version which pip can find on the internet.
Could not find a version that satisfies the requirement opencv-python (from versions: ) No matching distribution found for opencv-python
So, please check your python version (include 32bit or 64bit) and OS type, version, and then try pip again.
I use python3.6.5 32bit(virtualenv), windows 10 64bit install openCV succeed.
https://pypi.org/project/opencv-python/ says: "Note that the wheel (especially manylinux) format does not currently support properly ARM architecture so there are no packages for ARM based platforms in PyPI. However, opencv-python packages for Raspberry Pi can be found from https://www.piwheels.org/."
I'm trying to install turicreate beta 2 (version 5.0b2) on an old mac (El Capitan) but the terminal throws this:
Could not find a version that satisfies the requirement turicreate==5.0b2 (from versions: 4.1, 4.1.1, 4.2)
No matching distribution found for turicreate==5.0b2
When I enter this:
sudo python3.6 -m pip install turicreate==5.0b2
or this: pip3 install turicreate==5.0b2
So I tried to install the "basic" version (sudo python3.6 -m pip install turicreate,python3.6 -m pip install turicreate, pip3 install -U turicreate, pip3 install turicreate), but this time, the error was:
Could not find a version that satisfies the requirement coremltools==0.8 (from turicreate) (from versions: )
No matching distribution found for coremltools==0.8 (from turicreate)
Do anyone know if it is possible to install turicreate on El Capitan an how to do it ?
I had that same coremltools==0.8 error running pip install turicreate on Mac 10.11 (El Capitan). I was able to solve it fool myself into thinking I'd solved it by compiling and installing coremltools from source. See https://stackoverflow.com/a/55327526/1014857 for those steps.
But turicreate didn't actually work at that point. Running import turicreate in python gave an error (from turicreate's cypython files) about linking to a library built for 10.12.
I even tried building turicreate from source, but there was a dense thicket of dependencies. Eventually I came to my senses and just upgraded to Mac OSX >= 10.12, which was a much easier route.