ubports / docs.ubports.com

UBports Documentation
https://docs.ubports.com
72 stars 129 forks source link

Make build script compatible with newer Ubuntu that disallows direct usage of pip3 #576

Closed jonnius closed 1 year ago

jonnius commented 1 year ago

New Ubuntu versions like Ubuntu 23.04 disallow the direct invocation of pip3. This PR changes the build script to install virtualenv via apt instead of pip3 to fix that. The subsequent pip3 call is executed within the virtual env and therefore doesn't impose any issue.