"command 'arm-linux-gnueabihf-gcc' failed with exit status 1" lors de l'installation de PycURL
📁 pip : installation de bibliothèques Python
J'ai un HummingBoard (Cubox-i) avec Debian.
J'essaie d'installer PycURL via pip install pycurl. Cela génère l'erreur suivante :
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1.
arm-linux-gnueabihf-gcc ne peut pas non plus être installé :
E: Unable to locate package gcc-arm-linux-gnueabi
import urllib.requestlogo = urllib.request.urlopen(""https://drive.google.com/........download"").read()f = open(""nom du fichier avec extension"", ""wb"")f.write(logo)f.close()Je peux donner un exemple concret :
import urllib.requestlogo = urllib.request.urlopen(""https://drive.google.com/uc?id=1gkTOtZ7K72IxxTQ8W1bHMmLglvAYUfIe&export=download"").read()f = open(""photo.jpg"", ""wb"")f.write(logo)f.close()Mais pour obtenir un tel lien, se terminant par n
Connectez-vous pour laisser une réponse