Closed egeesin closed 3 years ago
The permission error you got when running pip install pywalfox
seems to be some issue with pip
on your system (for python 2.7).
As for the command not found
error, main.sh
assumes that pywalfox
is in your PATH
. It does not use absolute paths.
Are you able to run pywalfox
from the command line without specifying an absolute path?
Are you able to run pywalfox from the command line without specifying an absolute path?
Yes, I can execute it in my main terminal emulator. Also:
~
❯ echo $PATH
/Users/ege/.yarn/bin:/Users/ege/.config/yarn/global/node_modules/.bin:/Users/ege/.zplug/bin:/Users/ege/.nvm/versions/node/v10.16.0/bin:/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ncurses/bin:/usr/local/opt/bc/bin:/usr/local/opt/ruby/bin:/usr/local/sbin:/usr/sbin:/sbin:/Users/ege/.dots/bin:/usr/local/bin:/usr/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/ege/.rvm/bin
~
❯ which pywalfox
/usr/local/bin/pywalfox
~
❯ pywalfox -v
v2.4
$PATH is hard to read but /usr/local/bin
is also included, even though browser console says command not found and not fetching colors.
Could it be that the PATH
variable is set locally in your terminal emulator config, rather than globally (similarly to #30)?
As you said, this is a basically a duplicate of #34, so I will be closing this for now. Also, I have pushed an update to the native messaging application that should hopefully fix this.
Edit: It's kind of duplicate of #30.
Tried to install pywalfox by following README. Aside from main issue,
pip install pywalfox
threw:But
pip3.8 install pywalfox
orsudo pip install pywalfox
worked for me. I'm not really certain about either I'm using pip that installed from Homebrew or built-in system binary directory, but I tried both and repeated following steps.After restarting Firefox with browser console, I saw this warning at the beginning:
Checked
which pywalfox
and I replacedpywalfox daemon
with/usr/local/bin/pywalfox daemon
, restart the browser and the extension fetched the colors successfully. What I couldn't understand fully, waspywalfox
command not written with absolute path because it's supposed to executed from default path and my binary paths weren't configured right? Or is main.sh written without the thought that paths may differ on different distros/operating systems? Thanks in advance.