gpt4 book ai didi

python - venv/pyvenv 中没有 activate_this.py 文件

转载 作者:太空狗 更新时间:2023-10-29 17:06:47 24 4
gpt4 key购买 nike

<分区>

我需要从 python 脚本中启动 venv/pyvenv,我知道要运行官方文档:

activate_this = '/path/to/env/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))

但是我没有 activate_this.py 文件,而且我在任何地方都找不到如何创建它。

我正在运行 python 3.4.1。知道我需要做什么吗?

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com