Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23160

pyenv is killed during module installation?

$
0
0

I installed pyenv (on Debian 12) as I need to run a program that uses python 10.
Now I also need a module called local-attention.So I tried to install it with pip:

pip install --user local-attentionCollecting local-attention  Using cached local_attention-1.9.1-py3-none-any.whl (8.2 kB)Collecting einops>=0.6.0  Downloading einops-0.8.0-py3-none-any.whl (43 kB)     |                             | 43 kB 370 kB/s Collecting torch  Downloading torch-2.3.0-cp310-cp310-manylinux1_x86_64.whl (779.1 MB)     |                              | 779.1 MB 18.2 MB/s eta 0:00:01/home/lucas/.pyenv/pyenv.d/exec/pip-rehash/pip: line 20:  3694 Killed                  "$PYENV_COMMAND_PATH" "$@"

But it looks like pip is killed during the process.
And if I check for the module installation:

python -c "import local_attention"Traceback (most recent call last):  File "<string>", line 1, in <module>ModuleNotFoundError: No module named 'local_attention'

Can someone help me ?


Viewing all articles
Browse latest Browse all 23160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>