[Python] I am trying to install pytorch 1.4 with pysyft 0.2.9 in python 3.8 am getting errors

Discussão em 'Python' iniciado por Stack, Fevereiro 22, 2025.

  1. Stack

    Stack Membro Participativo

    pip install syft==0.2.9


    ERROR: Command errored out with exit status 1: command: /opt/conda/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7ykxboft/av_5df8c604b79643299fcbc84b1211287b/setup.py'"'"'; file='"'"'/tmp/pip-install-7ykxboft/av_5df8c604b79643299fcbc84b1211287b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-_de5yuro/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.8/av cwd: /tmp/pip-install-7ykxboft/av_5df8c604b79643299fcbc84b1211287b/ Complete output (50 lines): running install /opt/conda/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/av copying av/datasets.py -> build/lib.linux-x86_64-3.8/av copying av/deprecation.py -> build/lib.linux-x86_64-3.8/av copying av/main.py -> build/lib.linux-x86_64-3.8/av copying av/init.py -> build/lib.linux-x86_64-3.8/av creating build/lib.linux-x86_64-3.8/av/filter copying av/filter/init.py -> build/lib.linux-x86_64-3.8/av/filter creating build/lib.linux-x86_64-3.8/av/subtitles copying av/subtitles/init.py -> build/lib.linux-x86_64-3.8/av/subtitles creating build/lib.linux-x86_64-3.8/av/codec copying av/codec/init.py -> build/lib.linux-x86_64-3.8/av/codec creating build/lib.linux-x86_64-3.8/av/container copying av/container/init.py -> build/lib.linux-x86_64-3.8/av/container creating build/lib.linux-x86_64-3.8/av/data copying av/data/init.py -> build/lib.linux-x86_64-3.8/av/data creating build/lib.linux-x86_64-3.8/av/video copying av/video/init.py -> build/lib.linux-x86_64-3.8/av/video creating build/lib.linux-x86_64-3.8/av/sidedata copying av/sidedata/init.py -> build/lib.linux-x86_64-3.8/av/sidedata creating build/lib.linux-x86_64-3.8/av/audio copying av/audio/init.py -> build/lib.linux-x86_64-3.8/av/audio running build_ext running config PyAV: 8.1.0 (unknown commit) Python: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:04:10) \n[GCC 10.3.0] platform: Linux-5.15.0-131-generic-x86_64-with-glibc2.10 extension_extra: include_dirs: [b'include'] libraries: [] library_dirs: [] define_macros: [] runtime_library_dirs: [] config_macros: PYAV_COMMIT_STR="unknown-commit" PYAV_VERSION=8.1.0 PYAV_VERSION_STR="8.1.0" Could not find libavformat with pkg-config. Could not find libavcodec with pkg-config. Could not find libavdevice with pkg-config. Could not find libavutil with pkg-config. Could not find libavfilter with pkg-config. Could not find libswscale with pkg-config. Could not find libswresample with pkg-config. ---------------------------------------- ERROR: Command errored out with exit status 1: /opt/conda/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7ykxboft/av_5df8c604b79643299fcbc84b1211287b/setup.py'"'"'; file='"'"'/tmp/pip-install-7ykxboft/av_5df8c604b79643299fcbc84b1211287b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-_de5yuro/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.8/av Check the logsfor full command output.
    ​

    I already have python 3.8.13

    Help please

    Continue reading...

Compartilhe esta Página