'/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied

Hi guys,
i get this error in my pycharm terminal.

error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied
error: Unable to open universal variable file '/usr/share/pycharm/plugins/terminal/fish/fish_variables': Permission denied

Why, what is your input?

Looks like you must use sudo.

Yes.......!? sudo chmod777 give the Permission denied and grant me accses to the pycharm?
No input. everytime i am heading over pycharm terminal to sudo pip install Package name, this msg is there!

When it starts?
The best solution is to ask in

seems you do not use Garuda. :slight_smile:

yes, that is why i posted in newbie, i was windows user, tried ubuntu back in 2009 a bit, then jumped to debian for some months, and later was was introduced to old arch.. after struggling with udev and driver install in 5 days row without any sleep at all, i went with fedora... then Manjaro come out.. tried that.
Then someone told me... do u want to see pure epic awesomeness linux distro?
and i was like F*^ king yes please please Mr!
He simply replied : Garuda Linux!
then the wave and the flood of xtacy come in and i was hooked to this shit.

This file is not owned by the pycharm-community-edition package1, which means you are either not using the package from the repository or you have manually added the files and set file permissions yourself.

Either way, this is not really a Garuda issue.

1 ``` $ pacman -Fx ".*usr/share/pycharm/plugins/terminal.*" usr/share/pycharm/plugins/terminal/ is owned by community/pycharm-community-edition 2021.1-1 usr/share/pycharm/plugins/terminal/.zshenv is owned by community/pycharm-community-edition 2021.1-1 usr/share/pycharm/plugins/terminal/fish/ is owned by community/pycharm-community-edition 2021.1-1 usr/share/pycharm/plugins/terminal/fish/config.fish is owned by community/pycharm-community-edition 2021.1-1 usr/share/pycharm/plugins/terminal/jediterm-bash.in is owned by community/pycharm-community-edition 2021.1-1 usr/share/pycharm/plugins/terminal/lib/ is owned by community/pycharm-community-edition 2021.1-1 usr/share/pycharm/plugins/terminal/lib/resources_en.jar is owned by community/pycharm-community-edition 2021.1-1 usr/share/pycharm/plugins/terminal/lib/terminal.jar is owned by community/pycharm-community-edition 2021.1-1 ```
4 Likes

thank you!

That's most likely the source of your problems.

You want to install through Arch/Garuda's package manager (not using pip).

Use

sudo pacman -S python-<package_name>

For example, if you have to install pygame, use

sudo pacman -S python-pygame
3 Likes