question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors under Windows with installation prefix starting with \\?\

See original GitHub issue

Description

Error when pip install is run with --prefix starting with \\?\ (for example, a directory on letter-less volume in #10597, but not limited to).

pipenv install -e . calls pip with this option, so this issue hinders the use of pipenv.

Expected behavior

Successful installation

pip version

22.1.2

Python version

3.10

OS

Windows 10

How to Reproduce

pip install --ignore-installed --prefix \\?\%TEMP% setuptools

Output

Collecting setuptools
  Using cached setuptools-62.4.0-py3-none-any.whl (1.2 MB)
Installing collected packages: setuptools
ERROR: Could not install packages due to an OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '\\\\?\\C:\\Users\\<user>\\AppData\\Local\\Temp/Lib'

Code of Conduct

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pfmoorecommented, Jul 8, 2022

Looks that you missed a question mark

Doh. Thanks for catching that 🤦 It does indeed work for me then. So scrub point 1, pathlib works fine.

0reactions
uranusjrcommented, Nov 12, 2022

It is called a UNC path, nothing special.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Installer Error Messages (for Developers)
Message codes, message text, and remarks for Windows Installer error messages. Errors include ship errors, internal errors, and errors ...
Read more >
NET Framework 3.5 installation errors - Windows Client
The set of installation files is corrupted, incomplete, or invalid for the version of Windows that you are running.
Read more >
Windows 10 upgrade resolution procedures - Microsoft Learn
This article provides some common causes and solutions that are associated with specific upgrade error codes. If a Windows 10 upgrade fails, ...
Read more >
How to troubleshoot Windows Installer errors - Microsoft Support
Describes how to troubleshoot problems that occur when you install, uninstall, ... Could not start the Windows Installer service on Local Computer. Error...
Read more >
Troubleshooting packaging, deployment, and query of ...
Error code Value Description and possible causes E_INVALIDARG 0x80070057 ERROR_INSTALL_INVALID_ PACKAGE 0x80073CF2 The package data isn't valid. ERROR_INSTALL_NETWORK_ FAILURE 0x80073CF5 The package can't be downloaded.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found