PyCharm Setup Instructions¶
PyCharm is a Python IDE created by JetBrains.
Table of Contents
Prerequisites¶
These instructions assume you have already installed:
- Python 2.7.
- Trusted Analytics Platform Python REST Client and required dependencies.
- PyCharm.
Trusted Analytics Platform should work with any version of PyCharm but these instructions were tested with PyCharm Community Edition 3.4.1.
Setup¶
- Select New Project on PyCharm’s initial screen.
- Give your project a name, for example, “myproject”.
- Choose Python 2.7 as the Python Interpreter and choose the OK
button.
- If Python 2.7 does not appear in the list you will need to
configure a Python 2.7 interpreter.
- Choose the button that looks like a “gear”.
- Choose Add Local.
- Browse for your local Python 2.7 installation. On RedHat or CentOS this is probably /usr/bin/python.
- Choose the OK button.
- If Python 2.7 does not appear in the list you will need to
configure a Python 2.7 interpreter.
- Choose
- Choose Project Structure.
- Choose Add Content Root and browse to the Trusted Analytics Platform Python REST Client libraries. On RedHat or CentOS these are found under ‘/usr/lib/trustedanalytics/rest-client/python’.
- Choose Apply button.
- Choose OK button.
. - Right click your project folder, for example, “myproject”, and select
- In order to connect to the analytics instance in TAP follow instructions here
.