Je suis nouveau dans le monde ubuntu/linux.
Lorsque j'essaie d'exécuter mon script python, j'obtiens l'erreur suivante :
[email protected] :/home/haris/Downloads/# python install.py
Traceback (most recent call last):
File "install.py", line 35, in <module>
import scp
ImportError: No module named scp
J'ai donc essayé de lancer la commande suivante :
[email protected]:/home/haris/Downloads/ee-scale/tools/os-installer# pip install python-scp
Downloading/unpacking python-scp
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement scp
No distributions at all found for scp
Storing complete log in /root/.pip/pip.log
Comment installer scp sur Ubuntu 12.04 ?
Réponse acceptée :
C'est juste le nom - ça s'appelle "scp", pas "python-scp":
Utilisez pip install scp