Advertisement
hpc34746

Untitled

Mar 3rd, 2021
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1. sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran
  2. [sudo] password for pc1:
  3. Sorry, try again.
  4. [sudo] password for pc1:
  5. Reading package lists... Done
  6. Building dependency tree
  7. Reading state information... Done
  8. libblas-dev is already the newest version (3.7.1-4ubuntu1).
  9. libjpeg8-dev is already the newest version (8c-2ubuntu8).
  10. liblapack-dev is already the newest version (3.7.1-4ubuntu1).
  11. zip is already the newest version (3.0-11build1).
  12. zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
  13. hdf5-tools is already the newest version (1.10.0-patch1+docs-4).
  14. libhdf5-dev is already the newest version (1.10.0-patch1+docs-4).
  15. libhdf5-serial-dev is already the newest version (1.10.0-patch1+docs-4).
  16. gfortran is already the newest version (4:7.4.0-1ubuntu2.3).
  17. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  18. pc1@pc1-desktop:~$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran
  19. Reading package lists... Done
  20. Building dependency tree
  21. Reading state information... Done
  22. libblas-dev is already the newest version (3.7.1-4ubuntu1).
  23. libjpeg8-dev is already the newest version (8c-2ubuntu8).
  24. liblapack-dev is already the newest version (3.7.1-4ubuntu1).
  25. zip is already the newest version (3.0-11build1).
  26. zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
  27. hdf5-tools is already the newest version (1.10.0-patch1+docs-4).
  28. libhdf5-dev is already the newest version (1.10.0-patch1+docs-4).
  29. libhdf5-serial-dev is already the newest version (1.10.0-patch1+docs-4).
  30. gfortran is already the newest version (4:7.4.0-1ubuntu2.3).
  31. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  32. pc1@pc1-desktop:~$ sudo apt-get install python3-pip
  33. Reading package lists... Done
  34. Building dependency tree
  35. Reading state information... Done
  36. python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.4).
  37. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  38. pc1@pc1-desktop:~$ sudo pip3 install -U pip testresources setuptools==49.6.0
  39. 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.
  40. Requirement already satisfied: pip in /usr/local/lib/python3.6/dist-packages (21.0.1)
  41. Requirement already satisfied: testresources in /usr/local/lib/python3.6/dist-packages (2.0.1)
  42. Requirement already satisfied: setuptools==49.6.0 in /usr/local/lib/python3.6/dist-packages (49.6.0)
  43. Requirement already satisfied: pbr>=1.8 in /usr/local/lib/python3.6/dist-packages (from testresources) (5.5.1)
  44. 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
  45. 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.
  46. Collecting numpy==1.16.1
  47. Downloading numpy-1.16.1.zip (5.1 MB)
  48. |████████████████████████████████| 5.1 MB 1.6 MB/s
  49. Requirement already satisfied: future==0.18.2 in /usr/local/lib/python3.6/dist-packages (0.18.2)
  50. Requirement already satisfied: mock==3.0.5 in /usr/local/lib/python3.6/dist-packages (3.0.5)
  51. Requirement already satisfied: h5py==2.10.0 in /usr/local/lib/python3.6/dist-packages (2.10.0)
  52. Collecting keras_preprocessing==1.1.1
  53. Downloading Keras_Preprocessing-1.1.1-py2.py3-none-any.whl (42 kB)
  54. |████████████████████████████████| 42 kB 6.2 MB/s
  55. Requirement already satisfied: keras_applications==1.0.8 in /usr/local/lib/python3.6/dist-packages (1.0.8)
  56. Collecting gast==0.2.2
  57. Downloading gast-0.2.2.tar.gz (10 kB)
  58. Requirement already satisfied: futures in /usr/local/lib/python3.6/dist-packages (3.1.1)
  59. Requirement already satisfied: protobuf in /usr/local/lib/python3.6/dist-packages (3.15.4)
  60. Requirement already satisfied: pybind11 in /usr/local/lib/python3.6/dist-packages (2.6.2)
  61. Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from h5py==2.10.0) (1.15.0)
  62. Building wheels for collected packages: gast, numpy
  63. Building wheel for gast (setup.py) ... done
  64. Created wheel for gast: filename=gast-0.2.2-py3-none-any.whl size=7538 sha256=d3bfa702be8f00839dc074b9240629c821683cd2594a814eb61dbca90115a7e0
  65. Stored in directory: /tmp/pip-ephem-wheel-cache-hq12md58/wheels/19/a7/b9/0740c7a3a7d1d348f04823339274b90de25fbcd217b2ee1fbe
  66. Building wheel for numpy (setup.py) ... done
  67. Created wheel for numpy: filename=numpy-1.16.1-cp36-cp36m-linux_aarch64.whl size=7332627 sha256=19e7a87da08a6ece3278c274c9e089ac2d752b9b53014f19b9e90ba485cc9b98
  68. Stored in directory: /tmp/pip-ephem-wheel-cache-hq12md58/wheels/11/6e/75/98ac58953d51b83c763aaa04971aa962fb4b0af518b8b2f0c0
  69. Successfully built gast numpy
  70. Installing collected packages: numpy, keras-preprocessing, gast
  71. Attempting uninstall: numpy
  72. Found existing installation: numpy 1.19.5
  73. Uninstalling numpy-1.19.5:
  74. Successfully uninstalled numpy-1.19.5
  75. Attempting uninstall: keras-preprocessing
  76. Found existing installation: Keras-Preprocessing 1.1.2
  77. Uninstalling Keras-Preprocessing-1.1.2:
  78. Successfully uninstalled Keras-Preprocessing-1.1.2
  79. Attempting uninstall: gast
  80. Found existing installation: gast 0.3.3
  81. Uninstalling gast-0.3.3:
  82. Successfully uninstalled gast-0.3.3
  83. 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.
  84. tensorflow 2.4.0+nv21.2 requires gast==0.3.3, but you have gast 0.2.2 which is incompatible.
  85. tensorflow 2.4.0+nv21.2 requires keras-preprocessing~=1.1.2, but you have keras-preprocessing 1.1.1 which is incompatible.
  86. tensorflow 2.4.0+nv21.2 requires numpy~=1.19.2, but you have numpy 1.16.1 which is incompatible.
  87. Successfully installed gast-0.2.2 keras-preprocessing-1.1.1 numpy-1.16.1
  88. pc1@pc1-desktop:~$ # TF-2.x
  89. pc1@pc1-desktop:~$ $ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v45 tensorflow
  90. bash: $: command not found
  91. pc1@pc1-desktop:~$ # TF-1.15
  92. pc1@pc1-desktop:~$ $ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v45 ‘tensorflow<2’
  93. bash: 2’: No such file or directory
  94.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement