sya*_*rin 12 python django virtualenv
实际上,我想创建我的第一个 django 项目。在 cmd 中进行一些编码后,我使用 Visual Studio Code 打开代码。我在状态栏上选择了python解释器,然后将其更改为我的数字环境中安装的python解释器。之后,我收到消息说 linter pylint 未安装。我安装后,出现了这些错误。

Joe*_*yie 17
这个解决方案对我有用。只是在这里重复一遍:
1. Go to the `pyvenv.cfg` file in the Virtual environment folder
2. Set the `include-system-site-packages` to `true` and save the change
3. Reactivate the virtual environment.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
17004 次 |
| 最近记录: |