Saya baru mengenal dunia ubuntu/linux.
Saat mencoba menjalankan skrip python saya, saya mendapatkan kesalahan berikut:
[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
JADI saya mencoba menjalankan perintah berikut:
[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
Bagaimana cara menginstal scp di ubuntu 12.04?
Jawaban yang Diterima:
Itu hanya namanya – disebut “scp”, bukan “python-scp”:
Gunakan pip install scp