#i am new to linux, can some one help me understand why i am having trouble installing pip3 stuff?
82 messages · Page 1 of 1 (latest)
precisely: #🔬technology message
which part did you not understand?
sorry
you can install a lot of pip libraries using apt. try apt search <name>
it says something about externally managed environment
precisely, on mint you install the packages using apt. try like shown above.
like: pip3 install-r requirements.txt
it fails
how would i exec that in apt
under python3
or dont i use python3
the error was saying to use python3
cat requirements.txt
i dont understand
show a screenshot
of what?
i need to run pip3 install-r requirements.txt
that wont work
you said use apt, i dont know how
?
You just run pip
Not pip3
Or better yet use uv tool
-
Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh -
uv install -r requirements.txt
Try that
UV?
Yes uv is better pip lol
That's what i like to call it
If the 2nd command didn't work, try
uv pip install -r requirements.txt
And make sure u r in the PATH
@formal moat u good?
i was looking to gwt it working with normal function not UV
It is the same
Uv, pip, pipx
All is python
pip handles environment like sht, pipx handle it better
Uv is better
I actually want to know what u r trying to do
Idk how, why and what u r going to accomplish. It will be better if you can provide me/us some info
i just want to understand why PIP3 is not working like the install says
i need to run pip3 install-r requirements.txt
but it fails and says "this is an externally managed environment"
its happened with out stuff too, so i want to understand why and what is the right way to do it, not side step it
Have you tried rebooting your system?
so you dont know?
No, usually rebooting also solve the problem
I had one time using pip to install a python app. But it didn't work
So i update&&upgrade
Then reboot
reboot didnt work
can you screenshot the error
oh ok
You need to make a virtual enviroment so that pip won't mess with system components.
python3 -m venv .venv
Then enter the environment with
source .venv/bin/activate
and do your commands, when you want to exit type
deactivate
seems like alot of faf around, why does it happen
in linux mint and not some others as many installers dont mention it
It is done to protect some python apps and libraries installed via apt. You can see them with
dpkg -l | grep python3-
installing things through pip on system level might break them or their dependencies. I suppose other distros allow this because they think you know what you're doing if you break it.
so the items in pip3 install-r requirements.txt ar ebeing blocked, basically
i was able to install them by apt, but they were already installed it seems
It'd really help if you took screenshots of what you're trying to do
i dont understand? its not a specific problem. we just got to that i thought
its happened before, same issue. i want to know why it happens
in this case https://github.com/ArgeliusLabs/Chasing-Your-Tail-NG
MUCH Improved version of the Python Chasing Your Tail Tool to help you determine if you're being followed - ArgeliusLabs/Chasing-Your-Tail-NG
And I want to see what actually happens in the first place
I'm guessing that's what you're trying to install, so I'll look into that
lara96583OP
—
10:15 PM
so the items in pip3 install-r requirements.txt are being blocked, basically
i was able to install them by apt, but they were already installed it seems <<
late here, python on mint/ubuntu requires vevns (which you should use anyways) to use pip. Otherwise, like someone else said, use python3-package
If you're using requirements.txt, you need pip, and therefore, a venv
Core requirements are already installed in mint 22, so you can just git clone the repo and start gui from there.
git clone https://github.com/ArgeliusLabs/Chasing-Your-Tail-NG.git
cd Chasing-Your-Tail-NG
python3 cyt_gui.py
if you want additional requirements (edit requirements.txt), from Chasing-Your-Tail-NG folder you run
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/python3 cyt_gui.py
thanks, as i said i already figured that out
the question was why i was getting the warning, and you explained that already
the repos were locked, #requested and #cryptography or something like that. both already installed as i used apt install and it said so
(y)
🫂
Have a nice day then
thanks