Hi, I can’t change my directory to /usr/bin/python in Fedora Silverblue 37 (beta) and the bash terminal told me that it is not a directory.
Here is what I did and the result.
$ which python
/usr/bin/python
$ cd /usr/bin/python
bash: cd: /usr/bin/python: Not a directory
Also, I can’t look for pip
as well.
$ pip --version
bash: pip: command not found
1 Like
/usr/bin/python is not a directory, it’s a file. If you want to change to the directory that contains the file ‘python’, you could:
$ cd /usr/bin
Is pip installed? If not and you don’t know how, please report back.
Greg.
3 Likes
Okay, then is pip
not installed in Fedora Silverblue by default? I’ve not used pip since I installed Fedora on my desktop.
vwbusguy
(Scott Williams)
October 31, 2022, 9:51pm
4
It is not. This is a good use case for using toolbox since mixing pip with system libraries can be a bad time:
You should be able to install pip in a toolbox environment. Consider also using a venv as well:
2 Likes
Hmm I see. So I can safely say that I just need to create a toolbox and install pip inside the toolbox.
Noted then. Thanks for the help.
2 Likes