Jupyter Notebook Setup
About Jupyter Notebooks:
https://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/
Installing and Opening Jupyter Notebook Instructions:
- Installing Anaconda (Python 3.7 Version) to your computer - https://www.anaconda.com/distribution/
- Make sure that during installation you select the option:
Add Anaconda to my PATH environment variable - After installation is complete open up an Anaconda Prompt
- In the Anaconda Prompt type the command:
conda install -c conda-forge minimalmodbus
If HTTPS error occurs…
Connect to the internet and re-run the previous command. - When prompted to Proceed ([y]/n)?
Respond: yes or yPress the ENTER key to submit
This will install the necessary Modbus master library that is required by the attached notebook. - In the Anaconda Prompt type the command:
conda install plotly
- When prompted to Proceed ([y]/n)?
Respond: yes or y
Press the ENTER key to submit
This will install the necessary plotting library that is required by the attached notebook. - Open Anaconda Navigator
- Once Navigator is open, launch Jupyter Notebooks
- Upon launching Jupyter Notebooks, a web browser should open.
-
Using the interface within the web browser, navigate to the directory/folder where you extracted and saved the notebook file (often in Downloads) and click on the notebook file:
https://gitlab.com/machine_saver_public/notebooks/-/blob/master/modbus_master_examples.ipynb
No Comments