Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
BKYDCPSC
Participant
Jump to solution

Installing SDK for ExportImport script

Hi,

 

Please can someone help me out?

I need to export my R80 policy to move onto another R80 policy.

I am going to use the ExportImport package

I need install the SDK first and I think I am missing something simple.

I have put both script packages in my home/admin folder

To install the SDK, I am running..

./python2.7 /home/admin/cp_mgmt_api_python_sdk-master


/opt/CPsuite-R80/fw1/Python/bin/python2.7: can't find '__main__' module in '/home/admin/cp_mgmt_api_python_sdk-master'

I am getting lost - and trying to follow the instructions that are listed however it simply says to run this and not pip as pip isnt installed. 

 

I have done export PYTHONPATH=$PYTHONPATH:/home/admin/cp_mgmt_api_python_sdk-master 

 

But this just returned and did nothing which I presume is right?

0 Kudos
1 Solution

Accepted Solutions
PhoneBoy
Admin
Admin
The installation of the SDK on a management server requires two things:
1. Copying/Decompressing the content of the SDK directory onto the management system.
2. Setting the PYTHONPATH environment variable to point to the appropriate directory. The PYTHONPATH variable tells the python interpreter where else to look for libraries and the like.

Now you can run the Export/Import utility.

View solution in original post

1 Reply
PhoneBoy
Admin
Admin
The installation of the SDK on a management server requires two things:
1. Copying/Decompressing the content of the SDK directory onto the management system.
2. Setting the PYTHONPATH environment variable to point to the appropriate directory. The PYTHONPATH variable tells the python interpreter where else to look for libraries and the like.

Now you can run the Export/Import utility.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events