2020-12-10, 10:06 PM
What if you try pip from an admin command prompt?
Martin
Martin
2020-12-10, 10:06 PM
What if you try pip from an admin command prompt?
Martin
2020-12-10, 10:34 PM
I receive the exact same message when trying from admin command prompt
2020-12-10, 10:58 PM
(This post was last modified: 2020-12-10, 10:58 PM by mvallevand.)
Yes I think it is a problem, local system won't recognize that file. What about as admin
python.exe -m pip install requests lxml m3u8 Martin
2020-12-10, 11:08 PM
from admin prompt, I get this:
C:\WINDOWS\system32>python.exe -m pip install lxml m3u8 Requirement already satisfied: lxml in c:\users\darry\appdata\roaming\python\python39\site-packages (4.6.2) Requirement already satisfied: m3u8 in c:\users\darry\appdata\roaming\python\python39\site-packages (0.7.1) Requirement already satisfied: iso8601 in c:\users\darry\appdata\roaming\python\python39\site-packages (from m3u8) (0.1.13) Is there a way to un-install the old mcu8 and re-install the newer?
2020-12-10, 11:17 PM
Let's find out where python is installed
python -c "import os, sys; print(os.path.dirname(sys.executable))" I wish I knew more about python on windows this is all built into linux If python is in a system folder that's good so yeah maybe from admin pip uninstall requests lxml m3u8 pip install requests lxml m3u8 pip list -V to see if they get installed in site-packages. Martin
2020-12-10, 11:27 PM
results:
C:\WINDOWS\system32>python -c "import os, sys; print(os.path.dirname(sys.executable))" C:\Program Files\Python39 Uninstall performed ..... C:\WINDOWS\system32>pip install requests lxml m3u8 Collecting requests Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB) Collecting lxml Using cached lxml-4.6.2-cp39-cp39-win_amd64.whl (3.5 MB) Collecting m3u8 Using cached m3u8-0.7.1.tar.gz (23 kB) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\darry\appdata\roaming\python\python39\site-packages (from requests) (1.26.2) Requirement already satisfied: idna<3,>=2.5 in c:\users\darry\appdata\roaming\python\python39\site-packages (from requests) (2.10) Requirement already satisfied: certifi>=2017.4.17 in c:\users\darry\appdata\roaming\python\python39\site-packages (from requests) (2020.12.5) Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\darry\appdata\roaming\python\python39\site-packages (from requests) (3.0.4) Requirement already satisfied: iso8601 in c:\users\darry\appdata\roaming\python\python39\site-packages (from m3u8) (0.1.13) Using legacy 'setup.py install' for m3u8, since package 'wheel' is not installed. Installing collected packages: requests, lxml, m3u8 Running setup.py install for m3u8 ... done Successfully installed lxml-4.6.2 m3u8-0.7.1 requests-2.25.0 C:\WINDOWS\system32>pip list -V Package Version ---------- --------- certifi 2020.12.5 chardet 3.0.4 idna 2.10 iso8601 0.1.13 lxml 4.6.2 m3u8 0.7.1 pip 20.2.3 requests 2.25.0 setuptools 49.2.1 urllib3 1.26.2
2020-12-10, 11:44 PM
All I can suggest for know is to copy the folder in your user site-packages to
C:\Program Files\Python39\Lib\site-packages if they don't exist. Alternatively in a NextPVR's scripts/PreStartup.bat add the line (or create the file) pip install lxml requests m3u8 and see if we see any messages in nrecord.log when you restart the server. Martin
2020-12-11, 12:01 AM
copying the packages seems like it did the trick - IT IS NOW WORKING
I tried about 10 different channels and all stream - will be playing with this tomorrow, since I am out of time for today. Thanks Martin for your help on this!!!
2020-12-11, 12:13 AM
(This post was last modified: 2020-12-11, 01:53 AM by mvallevand.)
Great one nice thing you will find with with using locast instead of OTA is that you can use the web app and sub's Android and Apple clients with no transcoding. It should even be able to work on a RPi where installing python is much easier.
Also thanks your patience and the excellent job of following these first time instructions. I will research if there is a way to do install this properly and force. Perhaps @pkscout can help me out. I also figured out why XMLTV didn't map, I have hardcoded the NYC XMLTV DMA code so I will packaged up a change. It also creates a separate locast group in the guide Thanks again. Martin
2020-12-11, 11:56 AM
Martin,
You did a great job on this EXTRA! Once we figured out the installation issues regarding python, the integration into NPVR and operation is seamless. I am still testing, but so far so good. Do you have any insight on why I am seeing the "trial-locast" EXTRA device, is that a NPVR issue? I didn't notice the XMLTV mapping issue since I am mapping with SD data. Also, Is it big effort to incorporate multiple streams? |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Locast.org | mvallevand | 1 | 293 |
2020-12-23, 06:50 PM Last Post: mvallevand |