Download and install Python (any version between 3.7 - 3.9.x is okay)
https://www.python.org/downloads/
Note: Version 3.10 may not yet supported by frameworks such as TensorFlow.
Note: pip is already included with Python. The version of pip should be 19.0 or later.
Note for Windows Users: Make sure the option [ADD TO PATH] is selected on the first screen of installation wizard on Windows.
- Open command prompt/terminal.
- Windows: Type 'cmd' in search and enter.
- Mac/Linux: Search for terminal.
- Type
python3in your terminal/cmd window. - The version of the python which you have installed will be displayed if the python is successfully installed on your windows.
-
Install Python on Windows - https://www.scaler.com/topics/python/how-to-install-python-in-windows/
-
How to Install Python on MacOS? - https://www.scaler.com/topics/python/how-to-install-python-on-macos/
-
How to Install Python on Linux? - https://www.scaler.com/topics/python/install-python-on-linux/
Follow the setup instructions for Jupyter Notebook here: http://jupyter.org/install
You basically need to run in your command prompt:
pip install notebook
(Try installing using pip. Otherwise, you may use Anaconda)
Note: You may use Anaconda (optional) Note: You may use Jupyter Labs (optional)
NOTE: On running jupyter notebook if the command prompt shows no error, but still the notebook does not open in browser, you might have to turn off your anti-virus on Windows.
Try the online options (both free):
- Google Colab - https://colab.research.google.com
- Jupyter (Binder) - http://jupyter.org/try
Click on “Try Jupyter with Python”. Don’t forget to download your ipynb after you are done writing code.
Optionally, you may download and install Pycharm FREE (Community version). Pycharm - https://www.jetbrains.com/pycharm/download
Or, the Pycharm Edu (Also free, contains some practice exercises for new learners) Pycharm Edu - https://www.jetbrains.com/pycharm-edu/
You may also opt for VS Code VSCode - https://code.visualstudio.com/
Note: (Only for Windows) You might need to also download and install JRE/JDK. http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html
If you are not able to install an online IDE, you can alternatively use any of the online IDEs such as
