8000 The extension couldn't find the command in Mac · Issue #33 · Frewacom/pywalfox · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
The extension couldn't find the command in Mac #33
Closed
@egeesin

Description

@egeesin

Edit: It's kind of duplicate of #30.

Operating System: macOS 10.15.5
Web Browser: Firefox 77.0.1
Extension Version: 2.0.3
CLI Version: 24

Tried to install pywalfox by following README. Aside from main issue, pip install pywalfox threw:

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pywalfox-2.4.dist-info'
Consider using the `--user` option or check the permissions.

But pip3.8 install pywalfox or sudo 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:

stderr output from native app pywalfox: /usr/local/lib/python3.8/site-packages/pywalfox/bin/main.sh: line 3: pywalfox: command not found

Checked which pywalfox and I replaced pywalfox daemon with /usr/local/bin/pywalfox daemon, restart the browser and the extension fetched the colors successfully. What I couldn't understand fully, was pywalfox 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0