#pandas
Вопрос:
Я хочу установить pandas0.25.0 на контейнер python 3.9.
Мое изображение докера: python:3.9
и я получил эту ошибку
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import io,
os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-fndbv0q1/pandas_a819631e88d54e8f8fddfd0324875565/setup.py'"'"';
__file__='"'"'/tmp/pip-install-fndbv0q1/pandas_a819631e88d54e8f8fddfd0324875565/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__)
else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hgxej7_6/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pandas Check the logs for full command output.
Как я должен поступить, пожалуйста?
Спасибо
Ответ №1:
Я не думаю, что ты сможешь.
Только с версии 1.1.3 панды поддерживают Python 3.9.
Вот список изменений, в котором была добавлена поддержка Py3.9:
https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.1.3.html