VScode报错Couldn‘t import Django
报错如下:ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?建议:1、在终端建立虚拟环境python -m venv venv2、激活环境:.\venv\Scripts\activate(1)
原创
2022-04-17 11:22:43 ·
2127 阅读 ·
0 评论