bt
bt copied to clipboard
导入表结构时出现问题
运行环境:Ubuntu20.04
执行sudo python3 manage.py makemigrations的错误:
Traceback (most recent call last):
File "manage.py", line 8, in
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 10, in
# 创建虚拟环境
conda create -n -y python_bt python=3.11
# 激活虚拟环境
conda acitvate python_bt
# 安装环境依赖
pip install -r requirements.txt