Skip to content

Commit

Permalink
fix: core源码部署python版本要求
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanxixue committed Sep 12, 2024
1 parent 2e8293a commit cf81a35
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/installation/source_install/core_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

| Name | Core | Python |
| :------ | :----------------------- | :----- |
| Version | {{ jumpserver.tag }} | 3.9 |
| Version | {{ jumpserver.tag }} | 3.11 |

### 1.2 下载源代码
!!! tip ""
Expand Down Expand Up @@ -55,13 +55,13 @@

!!! tip ""
```bash
apt-get install -y python3.9 python3.9-dev python3.9-venv
apt-get install -y python3.11 python3.11-dev python3.11-venv
```
```bash
python3.9
python3.11
```
```python
Python 3.9.5 (default, Nov 23 2021, 15:27:38)
Python 3.11.10 (default, Nov 23 2021, 15:27:38)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Expand All @@ -72,7 +72,7 @@
- 为 JumpServer 项目单独创建 python3 虚拟环境。

```bash
python3.9 -m venv /opt/py3
python3.11 -m venv /opt/py3
source /opt/py3/bin/activate
```

Expand Down

0 comments on commit cf81a35

Please sign in to comment.