Frewacom / pywalfox

Dynamic theming of Firefox (and Thunderbird) using your Pywal colors
https://addons.mozilla.org/en-US/firefox/addon/pywalfox/
Mozilla Public License 2.0
583 stars 12 forks source link

pywalfox install not working?? #58

Closed ghost closed 3 years ago

ghost commented 3 years ago

when i type pywalfox install and hit enter i get the error zsh: command not found: pywalfox.

How do i fix this??

Frewacom commented 3 years ago

If you installed via pip, you probably need to add the installation path for pip executables to your $PATH. For me, pip installs everything into ~/.local/bin, but it might be different for you.

ghost commented 3 years ago

how would i do this?? im a beginner to arch linux and dont know much about python lol.

typkrft commented 3 years ago

how would i do this?? im a beginner to arch linux and dont know much about python lol.


Check if python and pip are installed

$ python -V
Python 3.9.1   # Output should be the version of python installed

$ pip -V
pip 20.3.1 from /usr/local/lib/python3.9/site-packages/pip (python 3.9) # More output 

From the Main Page:

Installation

1.

   pip install pywalfox
   pywalfox install
  1. Get the Pywalfox add-on for

    • Firefox
    • Thunderbird
  2. Restart Firefox and/or Thunderbird

  3. Click the Pywalfox icon in the Firefox/Thunderbird UI to access the theme settings and click "Fetch Pywal colors". A theme matching your Pywal colors should now be applied.

The Python package installed through pip is the Pywalfox native messaging application, which fetches your Pywal colors for the Pywalfox add-on to use with the Theme API.

Please review the Troubleshooting section if something is not working correctly.


You can check if pywalfox is in your PATH

$ which pywalfox
/usr/local/bin/pywalfox   # As long as you don't see `pywalfox not found` you're good 
Frewacom commented 3 years ago

Thanks @typkrft! :1st_place_medal:

Frewacom commented 3 years ago

@astrolul Have you installed pywalfox using pip?

McFrappe commented 3 years ago

@astrolul

I recommend reading up on python here

Python can be found almost anywhere these days.

ghost commented 3 years ago

@astrolul Have you installed pywalfox using pip?

yup i have installed pywalfox using pip.

Frewacom commented 3 years ago

@astrolul Have you installed pywalfox using pip?

yup i have installed pywalfox using pip.

Check in ~/.local/bin and see if there is any file named pywalfox in there. If so, you could either run it directly from there or add ~/.local/bin to your PATH.

Personally, I set the PATH in ~/.profile by doing something like this:

export PATH="$PATH:$HOME/.local/bin"

The Arch wiki should have good instructions on how to do this if you get stuck.

Another approach would be to simply run the following instead:

python -m pywalfox install

Though, it is probably a good idea to fix the PATH issue instead, since you will have this problem with everything else you install from pip.

Frewacom commented 3 years ago

@astrolul Did you manage to fix this?

ghost commented 3 years ago

@astrolul Did you manage to fix this?

Yes, I'll close this issue!