bash: deletefb: command not found #41

Closed
by mikeyyyzhao opened 6 years ago · 4 comments
mikeyyyzhao commented 6 years ago (Migrated from github.com)
Owner

I ran the instructions but for some reason when I tried running the script "deletefb -E ...", it gave me a "bash: deletefb: command not found" error. Here's the code I ran:

  1. pip install --user delete-facebook-posts
  2. brew tap homebrew/cask;
  3. brew cask install chromedriver
  4. "deletefb -E "
I ran the instructions but for some reason when I tried running the script "deletefb -E ...", it gave me a "bash: deletefb: command not found" error. Here's the code I ran: 1. pip install --user delete-facebook-posts 2. brew tap homebrew/cask; 3. brew cask install chromedriver 4. "deletefb -E "
weskerfoot commented 6 years ago (Migrated from github.com)
Owner

Check your $PATH variable. Your shell might not be set up to discover scripts installed by pip. E.g. on my system it gets put under ~/.local/bin/deletefb

Check your `$PATH` variable. Your shell might not be set up to discover scripts installed by pip. E.g. on my system it gets put under `~/.local/bin/deletefb`
Billydubb commented 6 years ago (Migrated from github.com)
Owner

In case anyone else could not find it in ~/.local/bin/deletefb, on my system it was installed in /Users/<USERNAME>/Library/Python/2.7/bin.

In case anyone else could not find it in `~/.local/bin/deletefb`, on my system it was installed in `/Users/<USERNAME>/Library/Python/2.7/bin`.
xtremehume commented 6 years ago (Migrated from github.com)
Owner

mine was installed in /Users/<USERNAME>/Library/Python/2.7/bin but how do you get it working? i tried copying the deletefb script fiel to ~/.local/bin/deletefb but that returns

ValueError: Unable to configure handler 'file_handler'

mine was installed in `/Users/<USERNAME>/Library/Python/2.7/bin` but how do you get it working? i tried copying the deletefb script fiel to `~/.local/bin/deletefb` but that returns > ValueError: Unable to configure handler 'file_handler'
Billydubb commented 6 years ago (Migrated from github.com)
Owner

I ended up cloning the repo and running python3 . in the directory where the __main__.py file is located. I got some error messages regarding imports. Not sure which ones exactly anymore though. They were related to imports and quite easy to resolve however.

I ended up cloning the repo and running `python3 . ` in the directory where the `__main__.py` file is located. I got some error messages regarding imports. Not sure which ones exactly anymore though. They were related to imports and quite easy to resolve however.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.