用 pipenv 给项目创建虚拟环境,指定 python 版本 pipenv --python3.8,告警提示:Warning: Your Pipfile requires python_version 3.7, but you are using 3.8.2 (/Users/admin/.local/share/v/a/bin/python),我重新指定版本 pipenv --python 3.7.7 后,pipenv install pytest requests ,报错提示:raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (importlib-metadata 3.7.3 (/Users/admin/.local/share/virtualenvs/admin-cEVbAC8a/lib/python3.7/site-packages), Requirement.parse('importlib-metadata<3,>=0.12; python_version < "3.8"')),不是很懂 python,百度了没找到解决方法,求教


↙↙↙阅读原文可查看相关链接,并与作者交流