当我尝试pip安装django-import-export时,出现此错误:
No metadata found in /home/ubuntu/Desktop/dev/venv/lib/python3.6/site-packages
ERROR: Could not install packages due to an EnvironmentError:
[Errno 2] No such file or directory:
'/home/ubuntu/Desktop/dev/venv/lib/python3.6/site-packages/sqlparse-0.3.0.dist-info/METADATA'
感谢您的任何帮助
用以下方法解决:
pip3 install --force-reinstall sqlparse