Jump to content

Python 3.6.15 For Windows XP SP3


alexfree
 Share

Recommended Posts


@cmalex has already compiled Python 3.7 for XP more than one year ago:

As the official release of yt-dlp doesn't works on XP, I'm using this version of python for compiling yt-dlp as a temporary replacement for youtube.dl on XP. :)

No more issue for downloading from youtube website. :cheerleader:

 

Link to comment
Share on other sites

  • 2 weeks later...
On 1/2/2022 at 10:15 PM, genieautravail said:

@cmalex has already compiled Python 3.7 for XP more than one year ago:

As the official release of yt-dlp doesn't works on XP, I'm using this version of python for compiling yt-dlp as a temporary replacement for youtube.dl on XP. :)

No more issue for downloading from youtube website. :cheerleader:

 

Compiling yt-dlp fails here :

C:\Documents and Settings\User\Bureaublad\yt-dlp-master>python pyinst.py
Traceback (most recent call last):
  File "pyinst.py", line 6, in <module>
    from PyInstaller.utils.hooks import collect_submodules
  File "C:\Python37\Lib/site-packages\PyInstaller\utils\hooks\__init__.py", line
 1012, in <module>
    from .gi import *
  File "C:\Python37\Lib/site-packages\PyInstaller\utils\hooks\gi.py", line 16, i
n <module>
    from ...depend.bindepend import findSystemLibrary
  File "C:\Python37\Lib/site-packages\PyInstaller\depend\bindepend.py", line 43,
 in <module>
    import pefile
ModuleNotFoundError: No module named 'pefile'

And then:

C:\Documents and Settings\User\Bureaublad\yt-dlp-master>pip install pefile
Collecting pefile
  Using cached https://files.pythonhosted.org/packages/ee/e1/a7bd302cf5f74547431
b4e9b206dbef782d112df6b531f193bb4a29fb1b9/pefile-2021.9.3.tar.gz
Collecting future (from pefile)
  Using cached https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d5
8b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\DOCUME~1\User\LOCALS~1\Temp\pip-install-pvvu2pzh\future\setup
.py", line 86, in <module>
        import src.future
    ModuleNotFoundError: No module named 'src'
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\DOCUME~
1\User\LOCALS~1\Temp\pip-install-pvvu2pzh\future\
WARNING: You are using pip version 19.1.1, however version 21.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.

How did you get the necessary modules?

Edited by nicolaasjan
Link to comment
Share on other sites

However running yt-dlp directly from the source directory works:

python ./yt_dlp/__main__.py -v
[debug] Command-line config: ['-v']
[debug] User config "C:\Documents and Settings\Nico\Application Data\yt-dlp\config.txt": ['-i', '--no-mtime', '--add-metadata', '--embed-thumbnail', '-o', '~/Bureaublad/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best']
[debug] Encodings: locale cp1252, fs utf-8, out cp1252 (No ANSI), err cp1252 (No ANSI), pref cp1252
[debug] yt-dlp version 2022.01.15 [6223f67a8] (source)
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python version 3.7.1 (CPython 32bit) - Windows-XP-5.1.2600-SP3
[debug] exe versions: ffmpeg N-105053-gc417616-Reino (setts,fdk), ffprobe N-105053-gc417616-Reino
[debug] Optional libraries: mutagen, sqlite, websockets
[debug] Proxy map: {}
Usage: __main__.py [OPTIONS] URL [URL...]

__main__.py: error: You must provide at least one URL.
Type yt-dlp --help to see a list of all options.

 

Link to comment
Share on other sites

  • 1 month later...
On 1/1/2022 at 8:02 PM, Montana Slim said:

Am I correct in thinking you need Cygwin installed to even run this? Maybe why nobody replied to your reddit winxp post...

Not neccesarily, it should be possible to copy the required cygwin dlls into the same directory as the the python3.6m.exe

Link to comment
Share on other sites

On 1/16/2022 at 3:14 AM, nicolaasjan said:

@VistaLover

Any ideas? :)

I had no issues using dlp with my python. Also the 3.6.15 is newer then 3.7.1 from a year ago (not in version number but release date).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...