weaviate / weaviate-benchmarking

Tools for various benchmarking scenarios
BSD 3-Clause "New" or "Revised" License
27 stars 13 forks source link

Dockerfile-ann build fail #8

Closed xiaokuili closed 4 months ago

xiaokuili commented 9 months ago

This environment is externally managed

 > [ 8/14] RUN python3 -m ensurepip:                                                                           
2.505 error: externally-managed-environment                                                                    
2.505                                                                                                          
2.505 × This environment is externally managed                                                                 
2.505 ╰─>                                                                                                      
2.505     The system-wide python installation should be maintained using the system
2.505     package manager (apk) only.
2.505     
2.505     If the package in question is not packaged already (and hence installable via
2.505     "apk add py3-somepackage"), please consider installing it inside a virtual
2.505     environment, e.g.:
2.505     
2.505     python3 -m venv /path/to/venv
2.505     . /path/to/venv/bin/activate
2.505     pip install mypackage
2.505     
2.505     To exit the virtual environment, run:
2.505     
2.505     deactivate
2.505     
2.505     The virtual environment is not deleted, and can be re-entered by re-sourcing
2.505     the activate file.
2.505     
2.505     To automatically manage virtual environments, consider using pipx (from the
2.505     pipx package).
2.505 
2.505 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
trengrj commented 4 months ago

The Dockerfile with updated benchmarker does not have this issue anymore (and is written in go instead).