IBM / cloud-pak-deployer

Configuration-based installation of OpenShift and Cloud Pak for Data/Integration/Watson AIOps on various private and public cloud infrastructure providers. Deployment attempts to achieve the end-state defined in the configuration. If something fails along the way, you only need to restart the process to continue the deployment.
https://ibm.github.io/cloud-pak-deployer/
Apache License 2.0
137 stars 67 forks source link

Building cloud-pak-deployer image fails on Windows in WSL2 #627

Closed m-g-k closed 8 months ago

m-g-k commented 8 months ago

When running ./cp-deploy.sh build on WSL2 on Windows it fails. This error is output:

Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.3.1
    Uninstalling pip-23.3.1:
ERROR: Could not install packages due to an OSError: [Errno 39] Directory not empty: 'platformdirs'

This is because the pip3 install --upgrade pip in the Dockerfile fails. Removing this line allows the container build to complete.

fketelaars commented 8 months ago

Done as part of #628