pacgraph icon indicating copy to clipboard operation
pacgraph copied to clipboard

Cannot install via pip

Open Vftdan opened this issue 2 years ago • 0 comments

Expected behavior

$ pip install https://github.com/keenerd/pacgraph/archive/master.zip

installs pacgraph.

Actual behavior

Defaulting to user installation because normal site-packages is not writeable
Collecting https://github.com/keenerd/pacgraph/archive/master.zip
  Downloading https://github.com/keenerd/pacgraph/archive/master.zip
     / 17 kB 273 kB/s
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-5pu_5svj/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-5pu_5svj/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jpy4qhx5
         cwd: /tmp/pip-req-build-5pu_5svj/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.8/tokenize.py", line 392, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-5pu_5svj/setup.py'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Comment

PKGBUILD is not available on all distros

Vftdan avatar Nov 05 '22 12:11 Vftdan