Skip to content

Error installing tar.gz with python 3.13.4 onwards when %TMP% folder is in an ImDisk created RAMDISK volume. #56

@barkoder

Description

@barkoder

Disclosure: I'm on Windows 7. I don't know whether or not this issue exists in the official release.

Error installing tar.gz with python 3.14

Free threaded 3.14

(venv) Y:\venv\scripts>python3.14t.exe -m pip --no-cache-dir install --upgrade --force-reinstall --no-deps https://github.com/mikf/gallery-dl/archive/master.tar.gz
Collecting https://github.com/mikf/gallery-dl/archive/master.tar.gz
  Downloading https://github.com/mikf/gallery-dl/archive/master.tar.gz
     / 995.6 kB 387.3 kB/s 0:00:02
ERROR: Could not install packages due to an OSError: [WinError 1] Incorrect function: 'X:\\tmp\\pip-req-build-4_c7a8_i'

Regular 3.14

(venv) Y:\venv\scripts>python.exe -m pip --no-cache-dir install --upgrade --force-reinstall --no-deps https://github.com/mikf/gallery-dl/archive/master.tar.gz
Collecting https://github.com/mikf/gallery-dl/archive/master.tar.gz
  Downloading https://github.com/mikf/gallery-dl/archive/master.tar.gz
     / 995.6 kB 411.5 kB/s 0:00:02
ERROR: Could not install packages due to an OSError: [WinError 1] Incorrect function: 'X:\\tmp\\pip-req-build-2ni5ww57'

No issue installing .zip with python 3.14

(venv) Y:\venv\scripts>python3.14t.exe -m pip --no-cache-dir install --upgrade --force-reinstall --no-deps https://github.com/mikf/gallery-dl/archive/master.zip
Collecting https://github.com/mikf/gallery-dl/archive/master.zip
  Downloading https://github.com/mikf/gallery-dl/archive/master.zip
     \ 1.4 MB 219.2 kB/s 0:00:06
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: gallery_dl
  Building wheel for gallery_dl (pyproject.toml) ... done
  Created wheel for gallery_dl: filename=gallery_dl-1.31.0.dev0-py3-none-any.whl size=701611 sha256=f8e8c41bf2d36da608b86c2552a3f9718f8a78ae9fe7a85618f972401734334c
  Stored in directory: X:\tmp\pip-ephem-wheel-cache-__tzil9b\wheels\56\1f\b8\27cad7dbd6d2f8f9e3d9f2592394436080c4e8ce200d08b77b
Successfully built gallery_dl
Installing collected packages: gallery_dl
  Attempting uninstall: gallery_dl
    Found existing installation: gallery_dl 1.30.9
    Uninstalling gallery_dl-1.30.9:
      Successfully uninstalled gallery_dl-1.30.9
Successfully installed gallery_dl-1.30.9

This issue does not exist in 3.13.8. Installing .tar.gz or .zip works fine. EDIT: This issue does exist in 3.13.8. The last working version is 3.13.3. See below comment.

Thank you so much @adang1345 for your unofficial python interpreters!
Seriously, you are awesome for making these!

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