J'ai tenté d'installer OneDrive sur mon PC Linux (Ubuntu 18.04.1) à l'aide du tuto "synchroniser ses fichiers avec OneDrive depuis Linux" ( https://www.pcastuces.com/pratique/linu ... /page1.htm ).
J'ai suivi scrupuleusement les différentes étapes, mais je rencontre une erreur d’exécution lors du téléchargement et installation d'onedrived (plus tôt que Sergi006)
Voici ma config:
Code : Tout sélectionner
stagiaire@dc4lp5cg5382lzh:~$ uname -a
Linux dc4lp5cg5382lzh 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
└─┬─┘ └───┬───┘ └─────┬─────┘ └─────────┬──────────┘ └─┬──┘ └───┬───┘ ┌────> Option courte de la commande "uname"
│ │ │ │ │ │ ┴
│ │ │ │ │ └──── -o Nom du système d'exploitation.
│ │ │ │ └───────────── -m Architecture matérielle de la machine.
│ │ │ └──────────────────────────── -v Version du noyau.
│ │ └────────────────────────────────────────────── -r Révision du noyau.
│ └────────────────────────────────────────────────────────── -n Nom d'hôte (« hostname ») sur le réseau.
└────────────────────────────────────────────────────────────────── -s Nom du noyau.
Code : Tout sélectionner
stagiaire@dc4lp5cg5382lzh:~$ sudo pip3 install --user git+https://github.com/xybu/onedrived-dev.git
WARNING: The directory '/home/stagiaire/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/stagiaire/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting git+https://github.com/xybu/onedrived-dev.git
Cloning https://github.com/xybu/onedrived-dev.git to /tmp/pip-req-build-4q6hzwxx
Running command git clone -q https://github.com/xybu/onedrived-dev.git /tmp/pip-req-build-4q6hzwxx
Requirement already satisfied: setuptools>=30.0.0 in /usr/local/lib/python3.6/dist-packages (from onedrived==2.0.0) (42.0.2)
Collecting colorama>=0.3.7
Downloading https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl
Collecting click>=6.6
Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
|████████████████████████████████| 81kB 2.9MB/s
Collecting onedrivesdk
Downloading https://files.pythonhosted.org/packages/b3/76/9a3fe5b36079f5c40b33c89ad6f7737e3b8609010a80c9ed24d762ddb93e/onedrivesdk-2.0.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0lnjjx37/onedrivesdk/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0lnjjx37/onedrivesdk/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-install-0lnjjx37/onedrivesdk/pip-egg-info
cwd: /tmp/pip-install-0lnjjx37/onedrivesdk/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-0lnjjx37/onedrivesdk/setup.py", line 9, in <module>
with open(NOTICE, 'r', encoding='utf-8') as f:
NotADirectoryError: [Errno 20] Not a directory: '/tmp/pip-install-0lnjjx37/onedrivesdk/setup.py/../NOTICE.rst'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
stagiaire@dc4lp5cg5382lzh:~$
Code : Tout sélectionner
chown -R stagiaire /home/stagiaire/.cache/pip
Quelqu'un peut-il me venir en aide ?
Merci d'avance de vos messages. :)