Python development environment (Python install)

  • Relate Category : Python Enviroment, System trading

  • Future development is going to proceed with Python.

    Python is an intuitive and easy-to-develop language. There are lots of libraries and it’s easy to get help from Google.

    It is also an interpreter language, so you do not have to compile like C, C ++, or JAVA, so you can see the results quickly.

    There are various versions of Python, but I will use Python3.6 32bit version.

    The reason I use this version is to link API of Kiwoom Securities. It seems to work only with 32bit Python. 

    And we will proceed with development in Windows environment.

    • How to install Python ?

    Download Python 3.6.x below URL

    https://www.python.org/downloads/

    In my case it is 3.6.8. Click on the above version and download the windows x86 executable installer (32 bit). Next, install.  

    Click Cutomize installation to adjust the installation path. If you click Next, you will see the box to specify the path as shown below.

    Of course, it does not matter if it is default. But I was comfortable with this. When installation is finished, click Close and go back to the window.

    • Setting Environment variables

    After installation, you need to set the environment variables to make it easier to access on cmd.

    Click System> Advanced System Settings> Environment Variables

    Click path, type Python Path and Scripts installed, and click OK.

      

    • Test

    Turn on CMD and type python.

     

    Type “exit ()” in the above state and exit again to Prompt

    Try pip – version. It is normal if it comes out as below.

    This concludes the Python installation process.

    In the next post, I will install the Python IDE Pycharm.

    You may also like...