Django Python 3错误:包';openpyxl';需要不同的Python:3.5.3不在'&燃气轮机=3.6、&x27;
正在尝试安装python包导入\导出 我已尝试安装python模块:Django Python 3错误:包';openpyxl';需要不同的Python:3.5.3不在'&燃气轮机=3.6、&x27;,django,python-3.x,pip,openpyxl,Django,Python 3.x,Pip,Openpyxl,正在尝试安装python包导入\导出 我已尝试安装python模块: virtualenv . source bin/activate pip3 install -U django-import-export 有人有解决方案吗?异常告诉您需要知道的一切:您需要Python 3.6或更高版本。或者,你可以先安装openpyxl
virtualenv .
source bin/activate
pip3 install -U django-import-export
有人有解决方案吗?异常告诉您需要知道的一切:您需要Python 3.6或更高版本。或者,你可以先安装openpyxl<3。哦,那太糟糕了。我认为II有Python3.6,错误是我需要Python3.5.3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting django-import-export
Using cached django_import_export-2.0.1-py3-none-any.whl (82 kB)
Requirement already satisfied, skipping upgrade: Django>=2.0 in /home/pi/inventree-env/lib/python3.5/site-packages (from django-import-export) (2.2.9)
Collecting diff-match-patch
Using cached https://www.piwheels.org/simple/diff-match-patch/diff_match_patch-20181111-py3-none-any.whl (54 kB)
Collecting tablib<1.0.0
Using cached tablib-0.14.0-py3-none-any.whl (65 kB)
Requirement already satisfied, skipping upgrade: pytz in /home/pi/inventree-env/lib/python3.5/site-packages (from Django>=2.0->django-import-export) (2019.3)
Requirement already satisfied, skipping upgrade: sqlparse in /home/pi/inventree-env/lib/python3.5/site-packages (from Django>=2.0->django-import-export) (0.3.0)
Collecting xlrd
Using cached xlrd-1.2.0-py2.py3-none-any.whl (103 kB)
Collecting markuppy
Downloading https://www.piwheels.org/simple/markuppy/MarkupPy-1.14-py3-none-any.whl (8.5 kB)
Collecting xlwt
Using cached xlwt-1.3.0-py2.py3-none-any.whl (99 kB)
Collecting openpyxl>=2.4.0
Using cached https://www.piwheels.org/simple/openpyxl/openpyxl-3.0.3-py2.py3-none-any.whl (241 kB)
ERROR: Package 'openpyxl' requires a different Python: 3.5.3 not in '>=3.6, '
ImportError: No module named 'import_export'