Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran
- [sudo] password for pc1:
- Sorry, try again.
- [sudo] password for pc1:
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- libblas-dev is already the newest version (3.7.1-4ubuntu1).
- libjpeg8-dev is already the newest version (8c-2ubuntu8).
- liblapack-dev is already the newest version (3.7.1-4ubuntu1).
- zip is already the newest version (3.0-11build1).
- zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
- hdf5-tools is already the newest version (1.10.0-patch1+docs-4).
- libhdf5-dev is already the newest version (1.10.0-patch1+docs-4).
- libhdf5-serial-dev is already the newest version (1.10.0-patch1+docs-4).
- gfortran is already the newest version (4:7.4.0-1ubuntu2.3).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- pc1@pc1-desktop:~$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- libblas-dev is already the newest version (3.7.1-4ubuntu1).
- libjpeg8-dev is already the newest version (8c-2ubuntu8).
- liblapack-dev is already the newest version (3.7.1-4ubuntu1).
- zip is already the newest version (3.0-11build1).
- zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
- hdf5-tools is already the newest version (1.10.0-patch1+docs-4).
- libhdf5-dev is already the newest version (1.10.0-patch1+docs-4).
- libhdf5-serial-dev is already the newest version (1.10.0-patch1+docs-4).
- gfortran is already the newest version (4:7.4.0-1ubuntu2.3).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- pc1@pc1-desktop:~$ sudo apt-get install python3-pip
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.4).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- pc1@pc1-desktop:~$ sudo pip3 install -U pip testresources setuptools==49.6.0
- WARNING: The directory '/home/pc1/.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.
- Requirement already satisfied: pip in /usr/local/lib/python3.6/dist-packages (21.0.1)
- Requirement already satisfied: testresources in /usr/local/lib/python3.6/dist-packages (2.0.1)
- Requirement already satisfied: setuptools==49.6.0 in /usr/local/lib/python3.6/dist-packages (49.6.0)
- Requirement already satisfied: pbr>=1.8 in /usr/local/lib/python3.6/dist-packages (from testresources) (5.5.1)
- pc1@pc1-desktop:~$ sudo pip3 install -U numpy==1.16.1 future==0.18.2 mock==3.0.5 h5py==2.10.0 keras_preprocessing==1.1.1 keras_applications==1.0.8 gast==0.2.2 futures protobuf pybind11
- WARNING: The directory '/home/pc1/.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.
- Collecting numpy==1.16.1
- Downloading numpy-1.16.1.zip (5.1 MB)
- |████████████████████████████████| 5.1 MB 1.6 MB/s
- Requirement already satisfied: future==0.18.2 in /usr/local/lib/python3.6/dist-packages (0.18.2)
- Requirement already satisfied: mock==3.0.5 in /usr/local/lib/python3.6/dist-packages (3.0.5)
- Requirement already satisfied: h5py==2.10.0 in /usr/local/lib/python3.6/dist-packages (2.10.0)
- Collecting keras_preprocessing==1.1.1
- Downloading Keras_Preprocessing-1.1.1-py2.py3-none-any.whl (42 kB)
- |████████████████████████████████| 42 kB 6.2 MB/s
- Requirement already satisfied: keras_applications==1.0.8 in /usr/local/lib/python3.6/dist-packages (1.0.8)
- Collecting gast==0.2.2
- Downloading gast-0.2.2.tar.gz (10 kB)
- Requirement already satisfied: futures in /usr/local/lib/python3.6/dist-packages (3.1.1)
- Requirement already satisfied: protobuf in /usr/local/lib/python3.6/dist-packages (3.15.4)
- Requirement already satisfied: pybind11 in /usr/local/lib/python3.6/dist-packages (2.6.2)
- Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from h5py==2.10.0) (1.15.0)
- Building wheels for collected packages: gast, numpy
- Building wheel for gast (setup.py) ... done
- Created wheel for gast: filename=gast-0.2.2-py3-none-any.whl size=7538 sha256=d3bfa702be8f00839dc074b9240629c821683cd2594a814eb61dbca90115a7e0
- Stored in directory: /tmp/pip-ephem-wheel-cache-hq12md58/wheels/19/a7/b9/0740c7a3a7d1d348f04823339274b90de25fbcd217b2ee1fbe
- Building wheel for numpy (setup.py) ... done
- Created wheel for numpy: filename=numpy-1.16.1-cp36-cp36m-linux_aarch64.whl size=7332627 sha256=19e7a87da08a6ece3278c274c9e089ac2d752b9b53014f19b9e90ba485cc9b98
- Stored in directory: /tmp/pip-ephem-wheel-cache-hq12md58/wheels/11/6e/75/98ac58953d51b83c763aaa04971aa962fb4b0af518b8b2f0c0
- Successfully built gast numpy
- Installing collected packages: numpy, keras-preprocessing, gast
- Attempting uninstall: numpy
- Found existing installation: numpy 1.19.5
- Uninstalling numpy-1.19.5:
- Successfully uninstalled numpy-1.19.5
- Attempting uninstall: keras-preprocessing
- Found existing installation: Keras-Preprocessing 1.1.2
- Uninstalling Keras-Preprocessing-1.1.2:
- Successfully uninstalled Keras-Preprocessing-1.1.2
- Attempting uninstall: gast
- Found existing installation: gast 0.3.3
- Uninstalling gast-0.3.3:
- Successfully uninstalled gast-0.3.3
- ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
- tensorflow 2.4.0+nv21.2 requires gast==0.3.3, but you have gast 0.2.2 which is incompatible.
- tensorflow 2.4.0+nv21.2 requires keras-preprocessing~=1.1.2, but you have keras-preprocessing 1.1.1 which is incompatible.
- tensorflow 2.4.0+nv21.2 requires numpy~=1.19.2, but you have numpy 1.16.1 which is incompatible.
- Successfully installed gast-0.2.2 keras-preprocessing-1.1.1 numpy-1.16.1
- pc1@pc1-desktop:~$ # TF-2.x
- pc1@pc1-desktop:~$ $ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v45 tensorflow
- bash: $: command not found
- pc1@pc1-desktop:~$ # TF-1.15
- pc1@pc1-desktop:~$ $ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v45 ‘tensorflow<2’
- bash: 2’: No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement