Create /home/fam/venv first to install uv, avoiding externally-managed-environment error
This commit is contained in:
parent
b116cafcc1
commit
c685372845
@ -85,6 +85,8 @@ ailab:
|
||||
tags:
|
||||
- ailab
|
||||
before_script:
|
||||
- python3 -m venv $HOME/venv
|
||||
- source $HOME/venv/bin/activate
|
||||
- pip install uv --index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
- export PATH="$HOME/.local/bin:$PATH"
|
||||
- uv venv --python /usr/bin/python3 venv
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user