Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during the setup - version of Python #17

Open
djulien19 opened this issue Feb 25, 2021 · 1 comment
Open

Error during the setup - version of Python #17

djulien19 opened this issue Feb 25, 2021 · 1 comment

Comments

@djulien19
Copy link

During the setup of Odoo, I get this error message about the version of Python with the Docker image.
About the pip version on my mac:
pip 21.0.1 from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip (python 3.7)
Thanks for the tip.

Step 5/5 : RUN pip install -r /tmp/requirements.txt
---> Running in df25d8abe3b1
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
(...)
Collecting elasticsearch<8.0.0,>=7.0.0
Downloading elasticsearch-7.11.0-py2.py3-none-any.whl (325 kB)
ERROR: Could not find a version that satisfies the requirement apispec>=4.0.0 (from odoo12-addon-base-rest->odoo12-addon-shopinvader->odoo12_addon_shopinvader_demo_app->-r /tmp/requirements.txt (line 9)) (from versions: 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.10.1, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.18.0, 0.19.0, 0.20.0, 0.20.1, 0.21.0, 0.22.0, 0.22.1, 0.22.2, 0.22.3, 0.23.0, 0.23.1, 0.24.0, 0.25.0, 0.25.1, 0.25.2, 0.25.3, 0.25.4, 0.26.0, 0.27.0, 0.27.1, 0.28.0, 0.29.0, 0.30.0, 0.31.0, 0.32.0, 0.33.0, 0.34.0, 0.35.0, 0.36.0, 0.37.0, 0.37.1, 0.38.0, 0.39.0, 1.0.0b1, 1.0.0b2, 1.0.0b3, 1.0.0b4, 1.0.0b5, 1.0.0b6, 1.0.0rc1, 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 2.0.0, 2.0.1, 2.0.2, 3.0.0, 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.3.2)
ERROR: No matching distribution found for apispec>=4.0.0 (from odoo12-addon-base-rest->odoo12-addon-shopinvader->odoo12_addon_shopinvader_demo_app->-r /tmp/requirements.txt (line 9))
WARNING: You are using pip version 20.2.3; however, version 20.3.4 is available.
You should consider upgrading via the '/odoo/bin/python3.5 -m pip install --upgrade pip' command.
ERROR: Service 'odoo' failed to build : The command '/bin/sh -c pip install -r /tmp/requirements.txt' returned a non-zero code: 1

@flachica
Copy link

If you use #18 you can solve your problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants