Skip to content

Commit 9e919ee

Browse files
committed
update python version 3.10-3.12
1 parent 0f4d070 commit 9e919ee

16 files changed

Lines changed: 192 additions & 192 deletions

File tree

src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_apache.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@
5757
- Suggested operating environment:Ubuntu, CentOS, MacOS
5858

5959
- Runtime Environment
60-
- Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb-<version>-ainode-bin` folder, and follow the steps below to start AINode.
60+
- Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb-<version>-ainode-bin` folder, and follow the steps below to start AINode.
6161

6262
<img src="/img/AINode%E9%83%A8%E7%BD%B2%E7%8E%AF%E5%A2%83.png" alt="" style="width: 80%;"/>
6363

6464
- There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction.
65-
- It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb-<version>-ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows:
65+
- It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb-<version>-ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows:
6666
```shell
67-
# Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`.
68-
../Python-3.8.0/python -m venv `venv`
67+
# Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`.
68+
../Python-3.10.0/python -m venv `venv`
6969
```
7070

7171
## 3. Installation steps
@@ -278,7 +278,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t
278278
| ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation |
279279
| ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling |
280280
281-
> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed)
281+
> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed)
282282
283283
#### Example
284284
@@ -454,17 +454,17 @@ If the user loses files in the data folder, AINode may not be able to actively r
454454
455455
### 4.1 An error occurs when starting AINode stating that the venv module cannot be found
456456
457-
When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other):
457+
When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other):
458458
459459
To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website.
460460
461461
```shell
462-
apt-get install python3.8-venv
462+
apt-get install python3.10-venv
463463
```
464-
Install version 3.8.0 of venv into AINode in the AINode path.
464+
Install version 3.10.0 of venv into AINode in the AINode path.
465465
466466
```shell
467-
../Python-3.8.0/python -m venv venv(Folder Name)
467+
../Python-3.10.0/python -m venv venv(Folder Name)
468468
```
469469
When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment.
470470
@@ -498,12 +498,12 @@ The corresponding error occurs during installation and compilation, usually due
498498
499499
Use the following instructions to download the installation package from the official website and extract it:
500500
```shell
501-
.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz
502-
tar Jxf Python-3.8.0.tar.xz
501+
.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
502+
tar Jxf Python-3.10.0.tar.xz
503503
```
504504
Compile and install the corresponding Python package:
505505
```shell
506-
cd Python-3.8.0
506+
cd Python-3.10.0
507507
./configure prefix=/usr/local/python3
508508
make
509509
sudo make install

src/UserGuide/Master/Tree/Deployment-and-Maintenance/AINode_Deployment_timecho.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@
5757
- Suggested operating environment:Ubuntu, CentOS, MacOS
5858

5959
- Runtime Environment
60-
- Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb-<version>-ainode-bin` folder, and follow the steps below to start AINode.
60+
- Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb-<version>-ainode-bin` folder, and follow the steps below to start AINode.
6161

6262
<img src="/img/AINode%E9%83%A8%E7%BD%B2%E7%8E%AF%E5%A2%83.png" alt="" style="width: 80%;"/>
6363

6464
- There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction.
65-
- It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb-<version>-ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows:
65+
- It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb-<version>-ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows:
6666
```shell
67-
# Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`.
68-
../Python-3.8.0/python -m venv `venv`
67+
# Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`.
68+
../Python-3.10.0/python -m venv `venv`
6969
```
7070

7171
## 3. Installation steps
@@ -311,7 +311,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t
311311
| ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation |
312312
| ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling |
313313
314-
> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed)
314+
> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed)
315315
316316
#### Example
317317
@@ -487,17 +487,17 @@ If the user loses files in the data folder, AINode may not be able to actively r
487487
488488
### 4.1 An error occurs when starting AINode stating that the venv module cannot be found
489489
490-
When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other):
490+
When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other):
491491
492492
To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website.
493493
494494
```shell
495-
apt-get install python3.8-venv
495+
apt-get install python3.10-venv
496496
```
497-
Install version 3.8.0 of venv into AINode in the AINode path.
497+
Install version 3.10.0 of venv into AINode in the AINode path.
498498
499499
```shell
500-
../Python-3.8.0/python -m venv venv(Folder Name)
500+
../Python-3.10.0/python -m venv venv(Folder Name)
501501
```
502502
When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment.
503503
@@ -531,12 +531,12 @@ The corresponding error occurs during installation and compilation, usually due
531531
532532
Use the following instructions to download the installation package from the official website and extract it:
533533
```shell
534-
.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz
535-
tar Jxf Python-3.8.0.tar.xz
534+
.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
535+
tar Jxf Python-3.10.0.tar.xz
536536
```
537537
Compile and install the corresponding Python package:
538538
```shell
539-
cd Python-3.8.0
539+
cd Python-3.10.0
540540
./configure prefix=/usr/local/python3
541541
make
542542
sudo make install

src/UserGuide/V1.3.x/Deployment-and-Maintenance/AINode_Deployment_apache.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@
5757
- Suggested operating environment:Ubuntu, CentOS, MacOS
5858

5959
- Runtime Environment
60-
- Python>=3.8 and Python <= 3.14 is sufficient in a networked environment, and comes with pip and venv tools; Python 3.8 version is required for non networked environments, and download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb-<version>-ainode-bin` folder, and follow the steps below to start AINode.
60+
- Python >= 3.10 and Python <= 3.12 is sufficient, and comes with pip and venv tools; For non networked environments, download the zip package for the corresponding operating system from [here](https://cloud.tsinghua.edu.cn/d/4c1342f6c272439aa96c/?p=%2Flibs&mode=list) (Note that when downloading dependencies, you need to select the zip file in the libs folder, as shown in the following figure). Copy all files in the folder to the `lib` folder in the `apache-iotdb-<version>-ainode-bin` folder, and follow the steps below to start AINode.
6161

6262
<img src="/img/AINode%E9%83%A8%E7%BD%B2%E7%8E%AF%E5%A2%83.png" alt="" style="width: 80%;"/>
6363

6464
- There must be a Python interpreter in the environment variables that can be directly called through the `python` instruction.
65-
- It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb-<version>-ainode-bin` folder. If installing version 3.8.0 virtual environment, the statement is as follows:
65+
- It is recommended to create a Python interpreter venv virtual environment in the `apache-iotdb-<version>-ainode-bin` folder. If installing version 3.10.0 virtual environment, the statement is as follows:
6666
```shell
67-
# Install version 3.8.0 of Venv , Create a virtual environment with the folder name `venv`.
68-
../Python-3.8.0/python -m venv `venv`
67+
# Install version 3.10.0 of Venv , Create a virtual environment with the folder name `venv`.
68+
../Python-3.10.0/python -m venv `venv`
6969
```
7070

7171
## Installation steps
@@ -278,7 +278,7 @@ If the version of AINode has been updated (such as updating the `lib` folder), t
278278
| ain_interpreter_dir | -i | The interpreter path of the virtual environment where AINode is installed requires the use of an absolute path | no | String | Default reading of environment variables | Input or persist modifications during invocation |
279279
| ain_force_reinstall | -r | Does this script check the version when checking the installation status of AINode. If it does, it will force the installation of the whl package in lib if the version is incorrect | no | Bool | false | Input when calling |
280280
281-
> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm that the Python version is 3.8 (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed)
281+
> Attention: When installation fails in a non networked environment, first check if the installation package corresponding to the platform is selected, and then confirm the Python version (due to the limitations of the downloaded installation package on Python versions, 3.7, 3.9, and others are not allowed)
282282
283283
#### Example
284284
@@ -454,17 +454,17 @@ If the user loses files in the data folder, AINode may not be able to actively r
454454
455455
### An error occurs when starting AINode stating that the venv module cannot be found
456456
457-
When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.8 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other):
457+
When starting AINode using the default method, a Python virtual environment will be created in the installation package directory and dependencies will be installed, so it is required to install the venv module. Generally speaking, Python 3.10 and above versions come with built-in VenV, but for some systems with built-in Python environments, this requirement may not be met. There are two solutions when this error occurs (choose one or the other):
458458
459459
To install the Venv module locally, taking Ubuntu as an example, you can run the following command to install the built-in Venv module in Python. Or install a Python version with built-in Venv from the Python official website.
460460
461461
```shell
462-
apt-get install python3.8-venv
462+
apt-get install python3.10-venv
463463
```
464-
Install version 3.8.0 of venv into AINode in the AINode path.
464+
Install version 3.10.0 of venv into AINode in the AINode path.
465465
466466
```shell
467-
../Python-3.8.0/python -m venv venv(Folder Name)
467+
../Python-3.10.0/python -m venv venv(Folder Name)
468468
```
469469
When running the startup script, use ` -i ` to specify an existing Python interpreter path as the running environment for AINode, eliminating the need to create a new virtual environment.
470470
@@ -498,12 +498,12 @@ The corresponding error occurs during installation and compilation, usually due
498498
499499
Use the following instructions to download the installation package from the official website and extract it:
500500
```shell
501-
.wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz
502-
tar Jxf Python-3.8.0.tar.xz
501+
.wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
502+
tar Jxf Python-3.10.0.tar.xz
503503
```
504504
Compile and install the corresponding Python package:
505505
```shell
506-
cd Python-3.8.0
506+
cd Python-3.10.0
507507
./configure prefix=/usr/local/python3
508508
make
509509
sudo make install

0 commit comments

Comments
 (0)