Notes From a Recovering People Pleaser

I vaguely recall my mom telling me when I was born the umbilical cord was wrapped around my neck. Even while perhaps choking, I’m sure I popped out of the canal issuing an apology for making the…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Integrated Developer Environments Part 1

An Integrated Developer Environment (IDE) is an application which provides comprehensive programming tools for software development using a graphical user interface (GUI). IDE’s usually provide a source code editor, build automation, and a debugger. The editor helps to assist you in writing programs by including features such as syntax highlighting, code auto-completion, and error handling. The debugger will graphically display the location of bugs or error in the code. A console or terminal is normally included to interact directly with the environment and files.

A popular IDE for Python programming with great plugins and a multitude of useful features is PyCharm. Other great developer environment options include the Jupyter Notebook, Visual Studio Code, and cloud environments such as Google Colaboratory (Colab) or Paperspace Gradient. Installations instructions for each of the IDEs is provided in detail below.

For Artificial Intelligence and Deep Learning applications you will need access to a system which has a GPU:

PyCharm is a cross-platform IDE for Windows, macOS, and Linux operating systems providing a wide array of features such as intelligent code completion, error checking, and simple project file navigation. The PyCharm IDE helps to assist in writing clear, concise and maintainable code allowing for quality control with test assistance, PEP8 checks, and refactoring. PyCharm community edition provides substantial support for python programming development. I have provided instructions on installation as well as system requirements and a list of features available with PyCharm below.

Predefined color themes allow you to easily read highlighted Python code syntax.

Automatic indents are inserted on new lines with project compliant code formatting, built-in PEP-8 for Python, and code-style settings.

Code auto-generation and completion allows for quick-fixes and code matching verification including keywords, classes, and variables. PyCharm will suggest the most appropriate and context-aware solution.

PyCharm provides a comprehensive python debugging GUI simplifying the code debugging process through visual integration. Live inline debugging information is shown directly in the editor with variable value uses located next to source code.

Allows for separate Conda and Jupyter Notebook environment integration for each PyCharm project. Combines the Jupyter Notebook with additional features such as code auto-completion, error checking, etc.

Plugins provide support for integration with different frameworks, developer tools and editor customizations.

RAM — 4 GB

CPU — Any modern one

Disk Space — 3.5 GB

Monitor Resolution — 1024x768

Operating System — Windows 8 or later, macOS 10.13 or later, GNOME, KDE, or Unity DE supported Linux distributions

Select the operating system which is currently installed on your computer or laptop. There will be a separate guide on how to install Linux as a dual boot system.

The download will take about 5 to 15 seconds before it completes. There is also a paid professional and student version of the PyCharm IDE. If you have access to a .edu email you can register for the professional version for free and renew every year. The professional version allows you to build and integrate end-to-end applications. The community version is sufficient for almost all python use cases.

Allow the program to make changes to your computer. Run as an administrator if necessary. The executable file will bring up the PyCharm Community Edition Setup Installer.

This will bring you to the install location setup.

Select the folder that you wish to install the IDE. You can leave this as the default file path which it recommends and click next to move onto more installation options. You will most likely not need to change the location unless you feel that it is necessary to place it somewhere else.

I would recommend selecting the options for a desktop shortcut icon, creating automatically recognized and associated python files, and adding and updating to system PATH. (You will have to restart your computer after the entire installation process is complete if you add the “bin” folder to PATH.) You may choose to not select any of the available options and can change your configurations in the IDE at a later point.

You can choose to change the folder name or just leave it as the default JetBrains. Click the install button.

Jupyter Notebook is a server-client application, which allows you to run and edit a workspace notebooks through your web browser. It can be run locally without Internet access, or accessed through the Internet by installation on a remote server. Jupyter Notebooks consist of a kernel and a dashboard. The kernel is available for multiple different programming languages which run the user’s code. The dashboard provides access to notebook documents that you created. You can reopen previous documents as well as manage running kernels.

Python is required to install the Jupyter Notebook.

The Anaconda distribution allows for an easy installation process of Python and the Jupyter Notebook. It also includes multiple other common packages for machine learning, scientific computing and data science. Below are the installation steps provided by the documentation from the Jupyter website:

You may also install the Jupyter Notebook using Python’s package manager pip, through a command line interface such as command on prompt on Windows. The installation requires at least Python 3.3. Below are the instructions for installation:

Check for the latest pip:

Install the Jupyter Notebook using:

Visual Studio Code is a source code editor available for Windows, macOS and Linux with support for JavaScript, TypeScript and Node.js. Extensions can be added to provide support for additional programming languages such as C++, Java, Python, and Go. Visual Studio Code can be used as an alternative to PyCharm if you prefer the functionality and look of the developer environment. Similar to PyCharm, Visual Studio Code has a range of features which allow you to customize your developer environment. Some features include: syntax highlighting, code auto-complete, visual debugger, built-in Git commands, extensions for new languages, and themes. Instructions for how to install Visual Studio Code are below.

Select the operating system which is currently installed on your computer or laptop, and click the blue button below it to automatically start the download.

Allow the program to make changes to your computer. Run as an administrator if necessary. The executable file will bring up the Microsoft Visual Studio Code Installer.

Click next after accepting the license agreement.

I would recommend selecting the options for a desktop shortcut icon and adding to system PATH. (You will have to restart your computer after the entire installation process is complete if you add the “bin” folder to PATH.) You may choose to not select any of the available options and can change your configurations in the IDE at a later point.

If you do not have access to a local GPU enabled workspace there are two free cloud options, Google Colab and Paperspace Gradient, which both provide Jupyter notebooks with free GPUs. There are also paid options available which allow for access to better GPUs and CPUs in the cloud workspaces. Below is a comparison of the hardware available within the two free cloud environments.

You will need a Google account or email to sign up for Google Colab. You can mount your Google drive directly to your Colab environment to access files from there.

GPU — Nvidia K80s, T4s, P4s or P100s

GPU RAM — Up to 16 GB

Choose GPU — No

CPU/Cores — 2x 2.30GHz

RAM — 12 GB to 26.75 GB

Storage — 40 GB

Persistent Storage — No

Runtime — 12 hours

Sharing — Private and Public

You can sign up for Paperspace Gradient with a GitHub account, Google account or email.

GPU — Nvidia M4000 or P5000

GPU RAM — Up to 16 GB

Choose GPU — Yes

CPU/Cores — 8x vCPU

RAM — 30 GB

Storage — 5 GB

Persistent Storage — Yes

Runtime — 6 hours

Sharing — Public

If you are interested in other articles for setting up your developer environment check out these articles:

Python Installation Guide

Anaconda Installation Guide

Integrated Developer Environments Part 2

If you found this article to be useful please share with your peers. Or follow me on social media:

Add a comment

Related posts:

The Keystone at Chiusi

Without understanding, there can be no peace.

You Can Just Invest In Crypto

Are you looking to invest in cryptocurrencies in 2023, but feeling overwhelmed by the sheer number of options available in the market? With the crypto industry growing at an unprecedented pace, it’s…

Los planetas no nos afectan

No. No es que los astros nos afectan positiva ni negativamente, no es que "hacen" que las cosas sucedan. Solo son indicadores, un espejo. Así como la frase que dice "como es arriba es abajo", es…