Python

Code en Python sous Linux pour télécharger un fichier qui se trouve sur un serveur Nextcloud

Testé sous Linux Mint – Version de Python : python3 –versionPython 3.12.3 Vérifier si la librairie requests est installée : dpkg -l python3-requests Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)||/ Nom Version Architecture Description+++-================-======================-============-===================================================================ii python3-requests 2.31.0+dfsg-1ubuntu1.1 all elegant and simple HTTP library for Python3, built for human beings Exemple de code en Python pour télécharger un fichier

Code en Python sous Linux pour télécharger un fichier qui se trouve sur un serveur Nextcloud Lire la suite »

Problèmes pour l’installation de pillow avec pip3 sous Debian 12

J’ai voulu installer la bibliothèque pillow avec pip3 sous Debian 12 : apt install python3-pip pip3 install pillow J’ai eu le message d’erreur suivant : error : externally-managed-environment This environment is externally managed To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a

Problèmes pour l’installation de pillow avec pip3 sous Debian 12 Lire la suite »

Défiler vers le haut