saleor / saleor

Saleor Core: the high performance, composable, headless commerce API.
https://saleor.io
BSD 3-Clause "New" or "Revised" License
20.86k stars 5.52k forks source link

Can not install on windows (home with WSL2) crush on docker-compose #7789

Closed paulchertov closed 1 year ago

paulchertov commented 3 years ago

What I'm trying to achieve

Get started with Saleor

Steps to reproduce the problem

  1. Clone repo
  2. run docker-compose build

What I expected to happen

docker container created

Screenshots and logs

=> ERROR [saleor-platform_worker build-python 5/5] RUN pip install -r requirements_dev.txt --default-timeout=90 41.0s

[saleor-platform_worker build-python 5/5] RUN pip install -r requirements_dev.txt --default-timeout=900: 40 2.491 Ignoring atomicwrites: markers 'python_version >= "3.5" and python_full_version < "3.0.0" and sys_platform == "win32" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5") or sys_platform == "win32" and python_version >= "3.5" and python_full_version >= "3.4.0" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")' don't match your environment 40 2.496 Ignoring colorama: markers 'python_version >= "3.5" and python_full_version < "3.0.0" and sys_platform == "win32" and platform_system == "Windows" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5") or sys_platform == "win32" and python_full_version >= "3.5.0" and python_version >= "3.5" and platform_system == "Windows" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")' don't match your environment 40 2.525 Ignoring python-magic-bin: markers 'sys_platform == "win32"' don't match your environment 40 3.110 Collecting adyen==3.0.0 40 4.461 Downloading Adyen-3.0.0.tar.gz (13 kB) 40 5.131 Collecting amqp==5.0.1 40 5.410 Downloading amqp-5.0.1-py2.py3-none-any.whl (46 kB) 40 6.524 Collecting aniso8601==7.0.0 40 6.618 Downloading aniso8601-7.0.0-py2.py3-none-any.whl (42 kB) 40 7.246 Collecting apipkg==1.5 40 7.328 Downloading apipkg-1.5-py2.py3-none-any.whl (4.9 kB) 40 7.464 Collecting appdirs==1.4.4 40 7.540 Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) 40 7.727 Collecting asgiref==3.2.10 40 7.802 Downloading asgiref-3.2.10-py3-none-any.whl (19 kB) 40 8.325 Collecting astroid==2.4.2 40 8.410 Downloading astroid-2.4.2-py3-none-any.whl (213 kB) 40 33.91 ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. 40 33.91 astroid==2.4.2 from https://files.pythonhosted.org/packages/24/a8/5133f51967fb21e46ee50831c3f5dda49e976b7f915408d670b1603d41d6/astroid-2.4.2-py3-none-any.whl#sha256=bc58d83eb610252fd8de6363e39d4f1d0619c894b0ed24603b881c02e64c7386 (from -r requirements_dev.txt (line 7)): 40 33.91 Expected sha256 bc58d83eb610252fd8de6363e39d4f1d0619c894b0ed24603b881c02e64c7386 40 33.91 Got e5a373664a664b41925b0e51874cc40bd999409f24271b81d0038f9fdffacd1e System information

Saleor version: 2.11

Operating system: Windows

maarcingebala commented 1 year ago

Please check if this still happens with the newest version of Saleor and saleor-platform.