Sono nuovo nel mondo Ubuntu/linux.
Durante il tentativo di eseguire il mio script python, viene visualizzato il seguente errore:
[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
COSÌ ho provato a eseguire il seguente comando:
[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
Come installo scp su Ubuntu 12.04?
Risposta accettata:
È solo il nome:si chiama "scp", non "python-scp":
Usa pip install scp