Skip to content

pip install issue #16

@gvanem

Description

@gvanem

I'm trying to get this package installed with pip install py-make.
But it errors out with:

Collecting py-make
  Downloading py_make-0.1.1-py2.py3-none-any.whl (9.4 kB)
Collecting docopt>=0.6.0
  Downloading docopt-0.6.2.tar.gz (25 kB)
  Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for docopt, since package 'wheel' is not installed.
Installing collected packages: docopt, py-make
  Running setup.py install for docopt ... done
ERROR: Exception:
Traceback (most recent call last):
  File "F:\gv\Python310\lib\site-packages\pip\_internal\cli\base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
  File "F:\gv\Python310\lib\site-packages\pip\_internal\cli\req_command.py", line 247, in wrapper
    return func(self, options, args)
  File "F:\gv\Python310\lib\site-packages\pip\_internal\commands\install.py", line 461, in run
    installed = install_given_reqs(
  File "F:\gv\Python310\lib\site-packages\pip\_internal\req\__init__.py", line 73, in install_given_reqs
    requirement.install(
  File "F:\gv\Python310\lib\site-packages\pip\_internal\req\req_install.py", line 814, in install
    success = install_legacy(
  File "F:\gv\Python310\lib\site-packages\pip\_internal\operations\install\legacy.py", line 119, in install
    write_installed_files_from_setuptools_record(record_lines, root, req_description)
  File "F:\gv\Python310\lib\site-packages\pip\_internal\operations\install\legacy.py", line 49, in write_installed_files_from_setuptools_record
    new_lines.append(os.path.relpath(prepend_root(filename), egg_info_dir))
  File "F:\gv\Python310\lib\ntpath.py", line 718, in relpath
    raise ValueError("path is on mount %r, start on mount %r" % (
ValueError: path is on mount 'c:', start on mount 'F:'

Not sure if it's a issue with my Python/pip or the setup.py script of this package.

But, if I do pip3 install --user py-make, it works fine. Producing a %APPDATA%\Python\Python310\Scripts\pymake.exe .
So what's this all about?

I'm on Win-10 with Python 3.10 (x64).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions