Bonjour à tous,
Je voulais installer Tensorflow federated en utilisant la commande suivante avec pip3

pip3 install tensorflow-federated

mais je ne comprends pas trop les commandes du système linux

voici ce qu'il m'affiche comme erreur

pouvez-vous m'aider svp. Merci


DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting tensorflow-federated
Using cached tensorflow_federated-0.33.0-py2.py3-none-any.whl (885 kB)
Collecting tensorflow-privacy~=0.8.1
Using cached tensorflow_privacy-0.8.8-py3-none-any.whl (349 kB)
Collecting tensorflow-federated
Using cached tensorflow_federated-0.32.0-py2.py3-none-any.whl (884 kB)
Using cached tensorflow_federated-0.31.0-py2.py3-none-any.whl (884 kB)
Using cached tensorflow_federated-0.30.0-py2.py3-none-any.whl (875 kB)
Using cached tensorflow_federated-0.29.0-py2.py3-none-any.whl (867 kB)
Using cached tensorflow_federated-0.28.0-py2.py3-none-any.whl (859 kB)
Using cached tensorflow_federated-0.27.0-py2.py3-none-any.whl (861 kB)
Using cached tensorflow_federated-0.26.0-py2.py3-none-any.whl (862 kB)
Using cached tensorflow_federated-0.24.0-py2.py3-none-any.whl (866 kB)
Using cached tensorflow_federated-0.23.0-py2.py3-none-any.whl (866 kB)
Using cached tensorflow_federated-0.22.0-py2.py3-none-any.whl (863 kB)
Using cached tensorflow_federated-0.21.0-py2.py3-none-any.whl (857 kB)
Using cached tensorflow_federated-0.20.0-py2.py3-none-any.whl (819 kB)
Using cached tensorflow_federated-0.19.0-py2.py3-none-any.whl (602 kB)
Using cached tensorflow_federated-0.18.0-py2.py3-none-any.whl (578 kB)
Using cached tensorflow_federated-0.17.0-py2.py3-none-any.whl (517 kB)
Collecting tensorflow-model-optimization~=0.4.0
Using cached tensorflow_model_optimization-0.4.1-py2.py3-none-any.whl (172 kB)
Collecting tensorflow-privacy~=0.5.0
Using cached tensorflow_privacy-0.5.2-py3-none-any.whl (192 kB)
Collecting portpicker~=1.3.1
Using cached portpicker-1.3.9-py3-none-any.whl (13 kB)
Collecting semantic-version~=2.8.5
Using cached semantic_version-2.8.5-py2.py3-none-any.whl (15 kB)
Collecting retrying~=1.3.3
Using cached retrying-1.3.4-py3-none-any.whl (11 kB)
Collecting attrs~=19.3.0
Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting numpy~=1.18.4
Using cached numpy-1.18.5-cp35-cp35m-manylinux1_x86_64.whl (19.9 MB)
Requirement already satisfied: absl-py~=0.9.0 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow-federated) (0.9.0)
Requirement already satisfied: grpcio~=1.29.0 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow-federated) (1.29.0)
Requirement already satisfied: cachetools~=3.1.1 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow-federated) (3.1.1)
Collecting tensorflow-addons~=0.11.1
Using cached tensorflow_addons-0.11.2-cp35-cp35m-manylinux2010_x86_64.whl (1.1 MB)
Collecting dm-tree~=0.1.1
Using cached dm-tree-0.1.8.tar.gz (35 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vb8bhuug/dm-tree_18fb21b5ad6b484c95e79a8c50050146/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vb8bhuug/dm-tree_18fb21b5ad6b484c95e79a8c50050146/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-11bbbrde
cwd: /tmp/pip-install-vb8bhuug/dm-tree_18fb21b5ad6b484c95e79a8c50050146/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-vb8bhuug/dm-tree_18fb21b5ad6b484c95e79a8c50050146/setup.py", line 81
f'CMake must be installed to build the following extensions: {ext_names}'
^
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packa...f234acee4b9430 (from https://pypi.org/simple/dm-tree/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached dm-tree-0.1.7.tar.gz (35 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vb8bhuug/dm-tree_772a7565baf44fd5adc7cad9f7854673/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vb8bhuug/dm-tree_772a7565baf44fd5adc7cad9f7854673/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-0j2r4d7y
cwd: /tmp/pip-install-vb8bhuug/dm-tree_772a7565baf44fd5adc7cad9f7854673/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-vb8bhuug/dm-tree_772a7565baf44fd5adc7cad9f7854673/setup.py", line 81
f'CMake must be installed to build the following extensions: {ext_names}'
^
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packa...42405c5f77fd2a (from https://pypi.org/simple/dm-tree/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached dm-tree-0.1.6.tar.gz (33 kB)
Collecting tensorflow~=2.3.0
Using cached tensorflow-2.3.1-cp35-cp35m-manylinux2010_x86_64.whl (320.4 MB)
Requirement already satisfied: h5py~=2.10.0 in /usr/local/lib/python3.5/dist-packages (from tensorflow-federated) (2.10.0)
Requirement already satisfied: six in /usr/lib/python3.5 (from absl-py~=0.9.0->tensorflow-federated) (1.12.0)
Requirement already satisfied: google-pasta>=0.1.8 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow~=2.3.0->tensorflow-federated) (0.2.0)
Requirement already satisfied: tensorboard<3,>=2.3.0 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow~=2.3.0->tensorflow-federated) (2.4.1)
Requirement already satisfied: gast==0.3.3 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow~=2.3.0->tensorflow-federated) (0.3.3)
Collecting astunparse==1.6.3
Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: protobuf>=3.9.2 in /usr/local/lib/python3.5/dist-packages (from tensorflow~=2.3.0->tensorflow-federated) (3.9.2)
Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.5/dist-packages (from tensorflow~=2.3.0->tensorflow-federated) (3.1.0)
Requirement already satisfied: tensorflow-estimator<2.4.0,>=2.3.0 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow~=2.3.0->tensorflow-federated) (2.3.0)
Requirement already satisfied: wrapt>=1.11.1 in /usr/local/lib/python3.5/dist-packages (from tensorflow~=2.3.0->tensorflow-federated) (1.11.2)
Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.5/dist-packages (from tensorflow~=2.3.0->tensorflow-federated) (1.1.0)
Requirement already satisfied: keras-preprocessing<1.2,>=1.1.1 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow~=2.3.0->tensorflow-federated) (1.1.2)
Requirement already satisfied: wheel>=0.26 in /usr/lib/python3/dist-packages (from tensorflow~=2.3.0->tensorflow-federated) (0.29.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.5/dist-packages (from protobuf>=3.9.2->tensorflow~=2.3.0->tensorflow-federated) (50.3.2)
Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.5/dist-packages (from tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (3.1.1)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /home/leila/.local/lib/python3.5/site-packages (from tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (1.8.1)
Requirement already satisfied: requests<3,>=2.21.0 in /usr/local/lib/python3.5/dist-packages (from tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (2.22.0)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /home/leila/.local/lib/python3.5/site-packages (from tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (0.4.1)
Requirement already satisfied: google-auth<2,>=1.6.3 in /home/leila/.local/lib/python3.5/site-packages (from tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (1.23.0)
Requirement already satisfied: werkzeug>=0.11.15 in /usr/local/lib/python3.5/dist-packages (from tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (0.16.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /home/leila/.local/lib/python3.5/site-packages (from google-auth<2,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (0.2.8)
Requirement already satisfied: rsa<5,>=3.1.4 in /home/leila/.local/lib/python3.5/site-packages (from google-auth<2,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (4.7.2)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /home/leila/.local/lib/python3.5/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (1.3.1)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /home/leila/.local/lib/python3.5/site-packages (from pyasn1-modules>=0.2.1->google-auth<2,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (0.4.8)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.5/dist-packages (from requests<3,>=2.21.0->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (1.25.6)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.5/dist-packages (from requests<3,>=2.21.0->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.5/dist-packages (from requests<3,>=2.21.0->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.5/dist-packages (from requests<3,>=2.21.0->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (2019.9.11)
Requirement already satisfied: oauthlib>=3.0.0 in /home/leila/.local/lib/python3.5/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<3,>=2.3.0->tensorflow~=2.3.0->tensorflow-federated) (3.1.0)
Requirement already satisfied: typeguard>=2.7 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow-addons~=0.11.1->tensorflow-federated) (2.8.0)
Requirement already satisfied: scipy>=0.17 in /home/leila/.local/lib/python3.5/site-packages (from tensorflow-privacy~=0.5.0->tensorflow-federated) (1.3.1)
Requirement already satisfied: mpmath in /home/leila/.local/lib/python3.5/site-packages (from tensorflow-privacy~=0.5.0->tensorflow-federated) (1.2.1)
Building wheels for collected packages: dm-tree
Building wheel for dm-tree (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vb8bhuug/dm-tree_8e6bf767e879463594c81a3d8d85abfc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vb8bhuug/dm-tree_8e6bf767e879463594c81a3d8d85abfc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-hdkig2td
cwd: /tmp/pip-install-vb8bhuug/dm-tree_8e6bf767e879463594c81a3d8d85abfc/
Complete output (13 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/tree
copying tree/tree_benchmark.py -> build/lib.linux-x86_64-3.5/tree
copying tree/__init__.py -> build/lib.linux-x86_64-3.5/tree
copying tree/tree_test.py -> build/lib.linux-x86_64-3.5/tree
running build_ext
bazel build //tree:_tree --symlink_prefix=build/temp.linux-x86_64-3.5/bazel- --compilation_mode=opt
unable to execute 'bazel': No such file or directory
error: command 'bazel' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for dm-tree
Running setup.py clean for dm-tree
Failed to build dm-tree
Installing collected packages: numpy, dm-tree, astunparse, tensorflow-privacy, tensorflow-model-optimization, tensorflow-addons, tensorflow, semantic-version, retrying, portpicker, attrs, tensorflow-federated
WARNING: The scripts f2py, f2py3 and f2py3.5 are installed in '/home/leila/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for dm-tree ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vb8bhuug/dm-tree_8e6bf767e879463594c81a3d8d85abfc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vb8bhuug/dm-tree_8e6bf767e879463594c81a3d8d85abfc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6ddzj9c2/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/leila/.local/include/python3.5m/dm-tree
cwd: /tmp/pip-install-vb8bhuug/dm-tree_8e6bf767e879463594c81a3d8d85abfc/
Complete output (13 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/tree
copying tree/tree_benchmark.py -> build/lib.linux-x86_64-3.5/tree
copying tree/__init__.py -> build/lib.linux-x86_64-3.5/tree
copying tree/tree_test.py -> build/lib.linux-x86_64-3.5/tree
running build_ext
bazel build //tree:_tree --symlink_prefix=build/temp.linux-x86_64-3.5/bazel- --compilation_mode=opt
unable to execute 'bazel': No such file or directory
error: command 'bazel' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vb8bhuug/dm-tree_8e6bf767e879463594c81a3d8d85abfc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vb8bhuug/dm-tree_8e6bf767e879463594c81a3d8d85abfc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6ddzj9c2/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/leila/.local/include/python3.5m/dm-tree Check the logs for full command output.