Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/pipPublic

Unable to install package on different logical disk #7625

Closed
Labels
OS: windowsWindows specificauto-lockedOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behavior
@xppt

Description

@xppt
  • Pip version: 20.0.1/19.3.1
  • Python version: Python 3.6.8
  • Operating system: Win10 64-bit, build 18362.535.

While executing (note two different logical disks)
F:\temp\.venv\Scripts\pip install --prefix "C:\temp" "greenlet>=0.4.14"
pip exits with an unhandled exception:

Collecting greenlet>=0.4.14  Using cached greenlet-0.4.15-cp36-cp36m-win_amd64.whl (16 kB)Installing collected packages: greenletERROR: Exception:Traceback (most recent call last):  File "...\.venv\lib\site-packages\pip\_internal\cli\base_command.py", line 186, in _main    status = self.run(options, args)  File "...\.venv\lib\site-packages\pip\_internal\commands\install.py", line 404, in run    use_user_site=options.use_user_site,  File "...\.venv\lib\site-packages\pip\_internal\req\__init__.py", line 71, in install_given_reqs    **kwargs  File "...\.venv\lib\site-packages\pip\_internal\req\req_install.py", line 815, in install    warn_script_location=warn_script_location,  File "...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 614, in install_wheel    warn_script_location=warn_script_location,  File "...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 447, in install_unpacked_wheel    clobber(source, dest, False, fixer=fixer, filter=filter)  File "...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 412, in clobber    record_installed(srcfile, destfile, changed)  File "...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 345, in record_installed    newpath = normpath(destfile, lib_dir)  File "...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 52, in normpath    return os.path.relpath(src, p).replace(os.path.sep, '/')  File "...\.venv\lib\ntpath.py", line 584, in relpath    path_drive, start_drive))ValueError: path is on mount 'f:', start on mount 'c:'

Because of this I'm unable to install gevent==1.5a2, which executes the command above while installing build dependencies.

Steps to reproduce (cmd)

> virtualenv f:\somewhere\venv> f:\somewhere\venv\Scripts\pip install gevent==1.5a2...ValueError: path is on mount 'f:', start on mount 'c:'

Seems like not reproducible with different python versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: windowsWindows specificauto-lockedOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp