quaint-telephone-89068
02/16/2023, 6:49 AMgit clone <https://github.com/lablup/backend.ai>
• cd <http://backend.ai|backend.ai>
• ./scripts/install-dev.sh
It was successfully installed.
After installation processing, delete Backend.AI and reinstall Backend.AI
• ./scripts/delete-dev.sh
• rm -r .tmp .pants.d .pants.env pants-local ~/.cache/pants
• ./scripts/install-dev.sh
• the error shows up
[INFO] Installing Python...
✓ Python 3.9.16 as the Pants runtime is already installed.
✓ Python 3.10.9 as the <http://Backend.AI|Backend.AI> runtime is already installed.
[INFO] Checking Python features...
SSL support: ok
LZMA support: ok
[INFO] Bootstrapping the Pants build system...
Chosen Python 3.9.16 (from pyenv) as the local Pants interpreter
2.16.0.dev5
[INFO] Using the current working-copy directory as the installation path...
[INFO] Creating the unified virtualenv for IDEs...
14:42:06.06 [INFO] Completed: Build pex for resolve `python-kernel`
14:42:06.06 [INFO] Completed: Build pex for resolve `python-default`
14:42:06.06 [ERROR] 1 Exception encountered:
Engine traceback:
in `export` goal
IntrinsicError: No such file or directory (os error 2)
image▾
--print-stacktrace option, Reinstalling processing is done successfully.
such as
diff --git a/scripts/install-dev.sh b/scripts/install-dev.sh
index b8f3b489..a4282552 100755
--- a/scripts/install-dev.sh
+++ b/scripts/install-dev.sh
@@ -645,7 +645,7 @@ setup_environment() {
show_info "Using the current working-copy directory as the installation path..."
show_info "Creating the unified virtualenv for IDEs..."
- $PANTS export \
+ $PANTS --print-stacktrace export \
--resolve=python-default \
--resolve=python-kernel \
--resolve=pants-plugins \
I don't understand that Backend.AI installation will take place only after adding the additional debug argument '--print-stacktrace' to 'install-dev.sh', when reinstalling after remove Backend.AI
After reinstalling failed, I've run ./pants export .
https://user-images.githubusercontent.com/20002/218385067-2b5b8e58-2377-4fb0-9894-89e3a3632c61.png▾