Skip to content

Commit

Permalink
docs: 修改 python3 挂载目录
Browse files Browse the repository at this point in the history
  • Loading branch information
shenkaibo committed Jul 11, 2024
1 parent 026fbb4 commit 326e20a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ask_question/api_question.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
pip install pinyin
```

配置 task-runner 的目录挂载 /root/.venv/lib/python3.10/site-packages:/usr/local/lib/python3.10/dist-packages
配置 task-runner 的目录挂载 /root/.venv/lib/python3.10/site-packages:/usr/local/lib/python3.10/sist-packages

![安装1Panel](../img/ask_question/api_question/task_runner_volumn.png){ width="900px" }
![接口测试](../img/ask_question/api_question/task_runner_volumn.png){ width="900px" }

配置完成后执行 msctl reload,服务启动后就可以在 Python3 脚本中直接使用三方包了

![安装1Panel](../img/ask_question/api_question/python3代码.png){ width="900px" }
![接口测试](../img/ask_question/api_question/python3代码.png){ width="900px" }
```

!!! ms-abstract "容器共享目录"
Expand Down
Binary file modified docs/img/ask_question/api_question/task_runner_volumn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 326e20a

Please sign in to comment.