cd ${CSIT_DIR}
export PYTHONPATH=$(pwd)
./resources/tools/topology/update_topology.py -f -v -o 
topologies/available/vagrant_pci.yaml topologies/available/vagrant.yaml
According to this step, I have the following error:
(env) root@ubuntu:/csit# ./resources/tools/topology/update_topology.py -f -v -o 
topologies/available/vagrant_pci.yaml topologies/available/vagrant.yaml
        Traceback (most recent call last):
               File "./resources/tools/topology/update_topology.py", line 27, 
in <module>
                    from resources.libraries.python.ssh import SSH
               File "/csit/resources/libraries/python/ssh.py", line 23, in 
<module>
                    from scp import SCPClient
           ImportError: No module named scp


I've tried it :
(env) root@ubuntu:/csit# sudo pip install SSH
Requirement already satisfied (use --upgrade to upgrade): SSH in 
/usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): pycrypto!=2.4,>=2.1 
in /usr/lib/python2.7/dist-packages (from SSH)
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

(env) root@ubuntu:/csit# sudo pip install  SCPClient
Collecting SCPClient
  Downloading 
https://files.pythonhosted.org/packages/2d/53/19b5fe3db38c349d877a1ac9af898de0ac2c36f26a1730cd1c1ab2b2001b/scpclient-0.7-py2-none-any.whl
Installing collected packages: SCPClient
Successfully installed SCPClient-0.7
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

How should I solve it?


nwnj...@fiberhome.com
  • [vpp-dev] How t... 汤超
    • Re: [vpp-d... Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco)

Reply via email to