Non-Docker Frndly for Channels

Good Morning - Let me first say that I am not an IT person, but have been following directions....I moved my Channels DVR server to a new MAC Mini thanks to someone sharing the instructions and I was able to get through that...now I need to redo the steps to get the non docker version of frndly working again.

I was able to complete the git clone line and cd to the directory. The PIP install is what is failing. The response I get is "command not found: pip.

Is this because it's not seeing developer tools installed?

Any help is much appreciated. Thanks.

I remember that @Fofer uses a Mac and he has experience with installing Python/pip on it.
Maybe he can help. :slightly_smiling_face:

Hmm, it was a long time ago but I think I installed Python on my Mac by first installing Homebrew (both were free)

Python has a native mac installer. It installs like any other program. I am not sure if the install sets environmental variables for terminal use, but my guess is that it does.

Link Here: Download Python | Python.org

I went there and installed the latest version...once I do that, should I be able to go back to the terminal and run the pip install command?

You should be able to. If it does not work then you would have to add environmental variables.

1 Like

When I originally installed this a few years ago...the steps I took to install were:
git clone GitHub - matthuisman/frndlytv-for-channels: Frndly TV for Channels
cd frndlytv-for-channels
pip install --no-cache-dir -r requirements.txt

Then I would go to terminal and do the cd command followed by: python3 app.py --PORT 8183 --USERNAME "SAMPLE" --PASSWORD “SAMPLE" --IP "actual IP"

I was able to complete the first two lines and then nothing after that works.

Any help is much appreciato.

What is the error message when you run:
pip install --no-cache-dir -r requirements.txt

zsh: command not found: pip

try running:
python3 -m pip install --upgrade pip

Do I run that from the root directory or from within the frndly-for-channels ?

You can run that from anywhere

Okay I ran that and it says ...Requirement already satisfied: pip in /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages (25.2)

Okay. That means it is installed. Try closing your terminal window and quitting terminal. Then reopen it and from the cd frndlytv-for-channels folder try to run pip install --no-cache-dir -r requirements.txt again. If that does not work then you need to add pip to the environmental variables of zsh.

Okay. I closed it and then completely exited...took those steps and it still says zsh: command not found: pip

Do you know how I would go about accomplishing adding pip to the environmental variables of zsh? I am taking notes of all of these steps.....I so appreciate your help...I hope I am not bugging you.

Check to see if pip is in this location
/Library/Frameworks/Python.framework/Versions/3.13/bin/

If it is then you need to enter the path into your ~/.zprofile or ~./bash_profile file depending on which one your mac is using. Run these commands:
nano ~/.zprofile or nano ~./bash_profile
export PATH="/Library/Frameworks/Python.framework/Versions/3.13/bin/pip"
Exit out of nano using ctrl + c, then Y and enter.
To apply changes without closing the terminal run either:
source ~/.zprofile or source ~/.bash_profile

Now you should be able to reach pip. To check that it is working type pip --version. If it gives you a version number and not the error that you were getting before of zsh: command not found: pip then you are good to go and can run the install.

Good luck! Let me know if you have any other questions.

I will work on this…Thanks so much for your help! I am learning lots!

I don't use a MAC, but the Python install instructions here 5. Using Python on macOS — Python 3.13.7 documentation state this

A default install will include:

  • A Python 3.13 folder in your Applications folder. In here you find IDLE, the development environment that is a standard part of official Python distributions; and Python Launcher, which handles double-clicking Python scripts from the macOS Finder.
  • A framework /Library/Frameworks/Python.framework, which includes the Python executable and libraries. The installer adds this location to your shell path. To uninstall Python, you can remove these three things. Symlinks to the Python executable are placed in /usr/local/bin/.

Note

Recent versions of macOS include a python3 command in /usr/bin/python3 that links to a usually older and incomplete version of Python provided by and for use by the Apple development tools, Xcode or the Command Line Tools for Xcode. You should never modify or attempt to delete this installation, as it is Apple-controlled and is used by Apple-provided or third-party software. If you choose to install a newer Python version from python.org, you will have two different but functional Python installations on your computer that can co-exist. The default installer options should ensure that its python3 will be used instead of the system python3.

Use pip3

I have been trying to do this...I think I finally got the pip3 install line run....I am trying to run the command line now of:
python3 app.py --PORT 8183 --USERNAME "I entered my actual username" --PASSWORD "I entered my actual PW" --IP "Where do I find this IP? " I feel like I am almost there...but just need a final bit of advice on where I find the IP...