You are not logged in.

#1 2024-11-08 09:23:01

abursuk
Member
From: Ukraine
Registered: 2009-09-25
Posts: 3

[SOLVED] AUR tends to use python virtualenv which was already deleted

Hello!

Some time ago I created virtualenv in my home dir, installed some modules etc. Then I thought it would be a good idea to use this virtualenv in my zsh, so I added "source" into my .zshrc.
Yesterday I installed minigalaxy, and it used my virtualenv and was installed into virtualenv dir. I didn't like that, on top of that, virtualenv isn'r needed anymore, so I decided to delete it, rm -rf the directory, removed it from .zshrc.

reinstalled minigalaxy and it created removed directory with viretualenv and installed itself there.

~ ❯❯❯ which python                                                                                                      ✘ 127
/usr/bin/python
~ ❯❯❯ which pip   
pip not found
~ ❯❯❯ echo $PATH                                                                                                          ✘ 1
/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
~ ❯❯❯ echo $VIRTUAL_ENV 

~ ❯❯❯ which minigalaxy
minigalaxy not found
~ ❯❯❯ fd minigalaxy .                                                                                                     ✘ 1
./bin/virtualenv/share/metainfo/io.github.sharkwouter.Minigalaxy.metainfo.xml
./bin/virtualenv/share/icons/hicolor/128x128/apps/io.github.sharkwouter.Minigalaxy.png
./bin/virtualenv/share/icons/hicolor/192x192/apps/io.github.sharkwouter.Minigalaxy.png
./bin/virtualenv/share/applications/io.github.sharkwouter.Minigalaxy.desktop
./bin/virtualenv/share/minigalaxy/
./bin/virtualenv/share/minigalaxy/translations/fr/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/nn_NO/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/pl/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/es/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/zh_TW/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/nl/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/ru_RU/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/nb_NO/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/pt_BR/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/tr/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/de/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/share/minigalaxy/translations/zh_CN/LC_MESSAGES/minigalaxy.mo
./bin/virtualenv/lib/python3.12/site-packages/minigalaxy-1.3.0.dist-info/
./bin/virtualenv/lib/python3.12/site-packages/minigalaxy/
./bin/virtualenv/bin/minigalaxy
./.config/minigalaxy/
./.cache/minigalaxy/
./.cache/yay/minigalaxy-git/
./.cache/yay/minigalaxy-git/minigalaxy/
./.cache/yay/minigalaxy/
./.local/share/minigalaxy/
~ ❯❯❯ 

how come?

Last edited by abursuk (2024-11-08 09:45:07)

Offline

#2 2024-11-08 09:44:35

abursuk
Member
From: Ukraine
Registered: 2009-09-25
Posts: 3

Re: [SOLVED] AUR tends to use python virtualenv which was already deleted

Oops, I fixed it.

pacman -Qdtq | sudo pacman -Rns -
sudo pacman -Sc 
sudo pacman -Scc
rm -rf ~/.cache/ 

It seems, some vars were cached somewhere.

Last edited by abursuk (2024-11-08 09:45:28)

Offline

Board footer

Powered by FluxBB