-
Notifications
You must be signed in to change notification settings - Fork 7
Installing PyKEP
Tylar edited this page Jun 3, 2017
·
5 revisions
- git clone https://github.com/esa/pykep.git (NOTE: this is NOT the same as the
/py/lib/PyKEP/
submodule) - cd pykep
- if Ubuntu:
- sudo apt-get install cmake
- sudo apt-get install libboost-all-dev
- sudo apt-get install aptitude
- if Fedora:
- sudo yum install cmake
- sudo yum install boost
- sudo yum install boost-devel
- mkdir build
- cd build/
- sudo ccmake ../
- Press [c] for configure
- enable BUILD_PYKEP
- navigate to it and hit ENTER so it says ON
- Press [c] again
- Press [g] to generate a make file
- sudo make
- Grab a coffee. This will take a few minutes to compile.
- sudo make install
- Move PyKEP to your
python2.7/site-packages
directory from the default
- if Fedora/Most Linux distros:
sudo cp -r /usr/local/lib/python2.7/site-packages/PyKEP /usr/lib/python2.7/site-packages/