Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install issue #16

Open
gvanem opened this issue Sep 23, 2022 · 0 comments
Open

pip install issue #16

gvanem opened this issue Sep 23, 2022 · 0 comments

Comments

@gvanem
Copy link

gvanem commented Sep 23, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant