k4yt3x / video2x

A lossless video/GIF/image upscaler achieved with waifu2x, Anime4K, SRMD and RealSR. Started in Hack the Valley II, 2018.
https://video2x.org
GNU Affero General Public License v3.0
9.43k stars 938 forks source link

requirements-linux.txt #278

Closed idanka closed 4 years ago

idanka commented 4 years ago

Fedora 31 error i don't know what the solution might be

$pip install -r requirements-linux.txt

Installing collected packages: avalon-framework, colorama, patool, python-magic, tqdm
  Running setup.py install for avalon-framework ... error
    ERROR: Complete output from command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-f0zyled6/avalon-framework/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-19ekypmn/install-record.txt --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    creating build
    creating build/lib
    creating build/lib/avalon_framework
    copying avalon_framework/__init__.py -> build/lib/avalon_framework
    running install_lib
    creating /usr/local/lib/python3.7
    error: could not create '/usr/local/lib/python3.7': Permission denied
    ----------------------------------------
ERROR: Command "/usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-f0zyled6/avalon-framework/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-19ekypmn/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-f0zyled6/avalon-framework/
k4yt3x commented 4 years ago

error: could not create '/usr/local/lib/python3.7': Permission denied

You're trying to install Python dependencies globally without using sudo. Insufficient privileges. Nothing related to V2X.