while installing the TensorFlow I am getting this error.
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.9.0+nv18.8 (from versions: none)
ERROR: No matching distribution found for TensorFlow-gpu==1.9.0+nv18.8
I also tried with a different version of tensor flow (1.11.0,1.12.0,1.8.0) and Nvidia version(19.1,18.8,19.01) but cannot be able to install the TensorFlow.
Please help meβ¦
I canβt say for certain because I didnβt document it as I should have, but I do believe I had the same issue. I just went back to Jetpack 3.3 although now I am having issue with that as well I ran out of timeβ¦
thank you for this.
When install tensorflow 1.14.0, at last I have this ERROR:
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
Installing collected packages: tensorflow-estimator, setuptools, werkzeug, markdown, tensorboard, tensorflow-gpu
Found existing installation: setuptools 39.0.1
Uninstalling setuptools-39.0.1:
Successfully uninstalled setuptools-39.0.1
Successfully installed markdown-3.1.1 setuptools-41.2.0 tensorboard-1.14.0 tensorflow-estimator-1.14.0 tensorflow-gpu-1.14.0+nv19.7 werkzeug-0.15.6
What should I do?
I am getting a File does not exist error.
sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev
Reading package lists⦠Done
Building dependency tree
Reading state information⦠Done
E: Unable to locate package libhdf5-serial-dev
E: Unable to locate package hdf5-tools
E: Unable to locate package libhdf5-dev
E: Unable to locate package libjpeg8-dev
Any thoughts,please?
hi,
First, i want to get the version of JetPack.this is a problem.
Hi, When can I get TX2 software packages for Tensorflow 2.0?
What plan of TensorFlow for Jetson TX2 JetPack4.2.2οΌ
I followed this installation tutorial on a Jetson TX2 right after flashing it with Jetpack 4.2.1. Iβm using the default python 3.6.8.
When I open a python3 terminal and import tensorflow, the terminals waits for a few seconds then prints βSegmentation fault (core dumped)β.
There were no error messages during the install. Any help would be greatly appreciated, thank you.
Hi,
Please noticed that there are some dependencies on the environment and package.
Itβs recommended to use JetPack4.2.2 and install TensorFlow with this command:
sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu==1.14.0+nv19.10
Thanks.
Thank you for the reply, however, I still get the same error message.
I was able to get tensorflow working with Jetpack 3.3.1 and was even able to get Yolo V2working.
Here is a list of steps that I compiled from multiple sources on installing tensorflow and running Yolo V2: https://docs.google.com/document/d/1ESMs5ZiPgvUO7UkRtpiXnA0fQRIzbK97Nxwb0lSnEGs/edit?usp=sharing
Thanks.
Hi,
Thanks for your feedback.
We are checking this issue and will update more information with you soon.
Thanks.
Hi,
We have confirmed that TensorFlow can work correctly on the TX2 with JetPack4.2.2.
Here is our steps for your reference:
1. Install dependencies
$ sudo apt-get update
$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev
$ sudo apt-get install python3-pip
$ sudo pip3 install -U pip
$ sudo pip3 install -U numpy==1.16.1 future==0.17.1 mock==3.0.5 h5py==2.9.0 keras_preprocessing==1.0.5 keras_applications==1.0.6 enum34 futures testresources setuptools protobuf
2. Install TensorFlow
$ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu==1.14.0+nv19.10
3. Test
$ python3
>>> import tensorflow
2019-11-20 16:54:35.138928: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
Thanks.
i just installed Python 3.6+JetPack4.2.2 but, keras-application is not found a version that satisfies the requirement.
what can i do?
thankyou.
Hi chisfariani,
Please file a new topic with your specific issue. Thanks
Hi,
I have been trying to install tensorflow 2. Using the instruction from Jetson Zoo - eLinux.org. But no progress yet. The following is the error log:
sudo -H pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v44 tensorflow
Looking in indexes: Simple index, https://developer.download.nvidia.com/compute/redist/jp/v44
Collecting tensorflow
Downloading https://developer.download.nvidia.com/compute/redist/jp/v44/tensorflow/tensorflow-2.1.0%2Bnv20.4-cp36-cp36m-linux_aarch64.whl (242.8 MB)
|ββββββββββββββββββββββββββββββββ| 242.8 MB 830 bytes/s
Requirement already satisfied: wheel>=0.26; python_version >= β3β in /usr/lib/python3/dist-packages (from tensorflow) (0.30.0)
Requirement already satisfied: protobuf>=3.8.0 in /usr/local/lib/python3.6/dist-packages (from tensorflow) (3.11.3)
Collecting google-pasta>=0.1.6
Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
|ββββββββββββββββββββββββββββββββ| 57 kB 176 kB/s
Collecting absl-py>=0.7.0
Downloading absl-py-0.9.0.tar.gz (104 kB)
|ββββββββββββββββββββββββββββββββ| 104 kB 712 kB/s
Collecting grpcio>=1.8.6
Downloading grpcio-1.29.0.tar.gz (19.6 MB)
|ββββββββββββββββββββββββββββββββ| 19.6 MB 927 kB/s
Collecting tensorflow-estimator<2.2.0,>=2.1.0rc0
Downloading tensorflow_estimator-2.1.0-py2.py3-none-any.whl (448 kB)
|ββββββββββββββββββββββββββββββββ| 448 kB 5.6 MB/s
Collecting scipy==1.4.1; python_version >= β3β
Downloading scipy-1.4.1.tar.gz (24.6 MB)
|ββββββββββββββββββββββββββββββββ| 24.6 MB 106 kB/s
Installing build dependencies β¦ error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-y2mx_h2u/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v44 --pre β wheel setuptools βCython>=0.29.13β βnumpy==1.13.3; python_version==ββ'ββ3.5ββ'ββ and platform_system!=β"βββAIXβββ"ββ βnumpy==1.13.3; python_version==ββ'ββ3.6ββ'ββ and platform_system!=β"βββAIXβββ"ββ βnumpy==1.14.5; python_version==ββ'ββ3.7ββ'ββ and platform_system!=β"βββAIXβββ"ββ βnumpy==1.17.3; python_version>=ββ'ββ3.8ββ'ββ and platform_system!=β"βββAIXβββ"ββ βnumpy==1.16.0; python_version==ββ'ββ3.5ββ'ββ and platform_system==β"βββAIXβββ"ββ βnumpy==1.16.0; python_version==ββ'ββ3.6ββ'ββ and platform_system==β"βββAIXβββ"ββ βnumpy==1.16.0; python_version==ββ'ββ3.7ββ'ββ and platform_system==β"βββAIXβββ"ββ βnumpy==1.17.3; python_version>=ββ'ββ3.8ββ'ββ and platform_system==β"βββAIXβββ"ββ βpybind11>=2.4.0β
cwd: None
Complete output (39 lines):
Traceback (most recent call last):
File β/usr/lib/python3.6/runpy.pyβ, line 193, in _run_module_as_main
βmainβ, mod_spec)
File β/usr/lib/python3.6/runpy.pyβ, line 85, in _run_code
exec(code, run_globals)
File β/usr/local/lib/python3.6/dist-packages/pip/main.pyβ, line 23, in
from pip._internal.cli.main import main as _main # isort:skip # noqa
File β/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/main.pyβ, line 5, in
import locale
File β/usr/lib/python3.6/locale.pyβ, line 16, in
import re
File β/usr/lib/python3.6/re.pyβ, line 142, in
class RegexFlag(enum.IntFlag):
AttributeError: module βenumβ has no attribute βIntFlagβ
Error in sys.excepthook:
Traceback (most recent call last):
File β/usr/lib/python3/dist-packages/apport_python_hook.pyβ, line 53, in apport_excepthook
if not enabled():
File β/usr/lib/python3/dist-packages/apport_python_hook.pyβ, line 24, in enabled
import re
File β/usr/lib/python3.6/re.pyβ, line 142, in
class RegexFlag(enum.IntFlag):
AttributeError: module βenumβ has no attribute βIntFlagβ
Original exception was:
Traceback (most recent call last):
File β/usr/lib/python3.6/runpy.pyβ, line 193, in _run_module_as_main
βmainβ, mod_spec)
File β/usr/lib/python3.6/runpy.pyβ, line 85, in _run_code
exec(code, run_globals)
File β/usr/local/lib/python3.6/dist-packages/pip/main.pyβ, line 23, in
from pip._internal.cli.main import main as _main # isort:skip # noqa
File β/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/main.pyβ, line 5, in
import locale
File β/usr/lib/python3.6/locale.pyβ, line 16, in
import re
File β/usr/lib/python3.6/re.pyβ, line 142, in
class RegexFlag(enum.IntFlag):
AttributeError: module βenumβ has no attribute βIntFlagβ
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-y2mx_h2u/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v44 --pre β wheel setuptools βCython>=0.29.13β βnumpy==1.13.3; python_version==ββ'ββ3.5ββ'ββ and platform_system!=β"βββAIXβββ"ββ βnumpy==1.13.3; python_version==ββ'ββ3.6ββ'ββ and platform_system!=β"βββAIXβββ"ββ βnumpy==1.14.5; python_version==ββ'ββ3.7ββ'ββ and platform_system!=β"βββAIXβββ"ββ βnumpy==1.17.3; python_version>=ββ'ββ3.8ββ'ββ and platform_system!=β"βββAIXβββ"ββ βnumpy==1.16.0; python_version==ββ'ββ3.5ββ'ββ and platform_system==β"βββAIXβββ"ββ βnumpy==1.16.0; python_version==ββ'ββ3.6ββ'ββ and platform_system==β"βββAIXβββ"ββ βnumpy==1.16.0; python_version==ββ'ββ3.7ββ'ββ and platform_system==β"βββAIXβββ"ββ βnumpy==1.17.3; python_version>=ββ'ββ3.8ββ'ββ and platform_system==β"βββAIXβββ"ββ βpybind11>=2.4.0β Check the logs for full command output.
Any help would be greatly appreciated, thanks.
Hi gigwegbe,
Please open a new topic for your issue. Thanks
@AastaLLL HiοΌWhen I install tensorflow following your command, I get the error:
nvidia@nvidia-desktop:~$ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v43 tensorflow==1.15.2+nv20.3
WARNING: The directory β/home/nvidia/.cache/pipβ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudoβs -H flag.
Looking in indexes: Simple index, https://developer.download.nvidia.com/compute/redist/jp/v43
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.2+nv20.3 (from versions: none)
** ERROR: No matching distribution found for tensorflow==1.15.2+nv20.3**
Is there Tensorflow-gpu for JetPack 4.4