You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-15Lines changed: 36 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,41 @@
1
-
ECOPOM as a research group of the University of Bologna (IT), with Prof. Manfrini and Mengoli giving lectures at the Master Degree course ["*Precision And Sustainable Agriculture (PASA)*"](https://corsi.unibo.it/2cycle/PreciseSustainableAgriculture), engages students with thesis aimimng at developing/testing new AgTech technologies for the Precision Orchard Management (POM).
1
+
ECOPOM as a research group of the University of Bologna (IT), with Prof. Manfrini and Mengoli giving lectures at the Master Degree course ["*Precision And Sustainable Agriculture (PASA)*"](https://corsi.unibo.it/2cycle/PreciseSustainableAgriculture), engages students with thesis aiming at developing/testing new AgTech technologies for the Precision Orchard Management (POM).
2
2
3
3
To better comprehend those topics, a basic training on Python and automation is given to students. This repository contains the material needed to deepend in this context.
4
4
5
5
# How to use this repository
6
6
7
7
## 1. install a Virtual Environment Manager
8
-
Install any [Virtual Environment Manager](https://dev.to/bowmanjd/python-tools-for-managing-virtual-environments-3bko) (VEM) on your computer. The suggested VEM for beginners is [Anaconda](https://docs.anaconda.com/free/anaconda/install/).\
9
-
If you are installing Anaconda use the installer that better fits with your machine *Operating System* (OS) (i.e., *Windows*, *MacOS*, *Linux*, etc).
8
+
Install any [Virtual Environment Manager](https://dev.to/bowmanjd/python-tools-for-managing-virtual-environments-3bko) (VEM) on your computer. The suggested VEM for beginners is Anaconda[[Download](https://docs.anaconda.com/free/anaconda/install/)].\
9
+
If you are installing Anaconda, use the installer that better fits with your machine *Operating System* (OS) (i.e., *Windows*, *MacOS*, *Linux*, etc).
10
10
11
11
> **Note:** to install Anaconda you'll be asked to register (it's free).
12
12
13
-
### 1.1. Create a Virtual Environment (venv)
14
-
When creating a [virtual environment](https://realpython.com/python-virtual-environments-a-primer/) with Anandonda, Python gets directly installed inside each *venv*. If you are working with a different VEM such as [*venv*](https://dev.to/bowmanjd/python-tools-for-managing-virtual-environments-3bko#virtualenv) you'll need to [install Python by yourself](https://www.datacamp.com/blog/how-to-install-python).
13
+
### step-by-step Anaconda installation
14
+
1. surf to the following [link](https://docs.anaconda.com/free/anaconda/install/)
15
+
2. Select your Operatoing System and follow the instructions
### 1.1. Create a Virtual Environment (venv) with Python3.10
31
+
When creating a [virtual environment](https://realpython.com/python-virtual-environments-a-primer/) with Anaconda, Python gets directly installed inside each *venv*. If you are working with a different VEM such as [*venv*](https://dev.to/bowmanjd/python-tools-for-managing-virtual-environments-3bko#virtualenv) you'll need to [install Python by yourself](https://www.datacamp.com/blog/how-to-install-python).
32
+
33
+
Both *Anaconda Navigator* and *Anaconda Prompt* can be found in the **START** menù of your computer after the installation.
15
34
16
35
**A. Create a *venv* using the Anaconda Navigator Graphic User Inteface (GUI)**
17
36
Here you can find a comprehensive [documentation](https://docs.anaconda.com/free/navigator/getting-started/) on how to use Anaconda Navigator based on your machine's OS.
18
37
19
-
**B. Create a *venv* using the Anaconda Prompt**\
38
+
**B. Create a *venv* using the Anaconda Prompt**[**recommended**]\
20
39
Usually, Anaconda is referred to as `conda`.
21
40
22
41
create the environment with the **name** you prefer
@@ -31,15 +50,15 @@ More documentation on create, update, remove, and export your conda environments
31
50
32
51
33
52
## 2. install an Integrated Development Environment (IDE)
34
-
Install an [Integrated Development Environment](https://realpython.com/python-ides-code-editors-guide/) that could be both a General Editor such as [*Visual Studio Code*](https://code.visualstudio.com/download) (*vscode*) or a Python-Specific Editor as *PyCharm* community edition. We encourage to use *vscode* since it supports many features, plugins and programming languages.
53
+
Install an [Integrated Development Environment](https://realpython.com/python-ides-code-editors-guide/) that could be both a General Editor such as [*Visual Studio Code*](https://code.visualstudio.com/download) (*vscode*) or a Python-Specific Editor as *PyCharm* community edition. We encourage to use *vscode* since it supports many features, extension plugins and programming languages (Python, Java, R, C, C++, C#, and so on).
35
54
36
55
[Here](https://code.visualstudio.com/docs/getstarted/userinterface) you can find some documentation on how to interact with the *vscode* user interface.
A. Open the [GitHub repository](https://github.com/ECOPOM/AgTech_Students_PythonCourse) click on **`<>Code`** (the green appearing button), then **Local** and **Download ZIP**
61
+
A. Open the [GitHub repository](https://github.com/ECOPOM/AgTech_Students_PythonCourse) click on **`<>Code`** (the green appearing button in the screenshot below), then **Local** and **Download ZIP**
43
62
44
63
B. Surf to you Computer's *Downloads* folder, right click on `AgTech_Students_PythonCourse-main.zip` file and extract the folder content into your *Desktop*.
45
64
@@ -59,7 +78,6 @@ if `pip` or `pip3` does not appear in the list of installed packages, do the fol
59
78
60
79
conda install pip
61
80
62
-
63
81
After all, from the Anaconda Prompt do the following:
64
82
65
83
# change directory to the repository folder
@@ -68,20 +86,23 @@ After all, from the Anaconda Prompt do the following:
68
86
# install packages and modules with PIP
69
87
pip install -r requirements.txt
70
88
89
+
> **Note**: the requirements are referring to Python version 3.10.12
90
+
71
91
### 4.3. use notebook materials
72
92
73
93
You can either decide to use [notebook](https://realpython.com/jupyter-notebook-introduction/) materials with [*Jupyter Notebooks*](https://jupyter.org/), which is native of anaconda, or by exploiting [vscode jupyter plugin](https://code.visualstudio.com/docs/datascience/jupyter-notebooks) (**recommended**).
0 commit comments