執行一個專案中間報錯裝包過程記錄

廢物青年發表於2020-10-15
ImportError: No module named 'pymysql'

pip install pymysql
ImportError: No module named 'pymongo'

pip install pymongo
No module named 'corsheaders'

pip3 install django-cors-headers

報錯:socket.timeout: The read operation timed out

windows下輸入 pip --default-timeout=100 install 包名
linux下輸入 pip --default-timeout=100 install -U 包名
ImportError: No module named 'django_crontab'

pip install django_crontab
ImportError: No module named 'django_redis'

pip install django_redis
ImportError: No module named 'requests'

pip install requests
ImportError: No module named 'Crypto'

pip install pycryptodome
pip --default-timeout=100 install pycryptodome
ImportError: No module named 'fdfs_client'

pip install py3Fdfs
ERRORS:
auth_group: (models.E028) db_table 'auth_group' is used by multiple models: auth.Group, users.Group.
auth_permission: (models.E028) db_table 'auth_permission' is used by multiple models: auth.Permission, users.Permission.
mall.SkuImage.image: (fields.E210) Cannot use ImageField because Pillow is not installed.
	HINT: Get Pillow at https://pypi.org/project/Pillow/ or run command "pip install Pillow".

System check identified 3 issues (0 silenced).

pip install Pillow
ERRORS:
auth_group: (models.E028) db_table 'auth_group' is used by multiple models: auth.Group, users.Group.
auth_permission: (models.E028) db_table 'auth_permission' is used by multiple models: auth.Permission, users.Permission.
ERROR:root:缺少必要的引數 env=xxxx

相關文章