Я пытаюсь установить Pytorch 1.4 с Pysyft 0.2.9 в Python 3,8 утраPython

Программы на Python
Ответить Пред. темаСлед. тема
Anonymous
 Я пытаюсь установить Pytorch 1.4 с Pysyft 0.2.9 в Python 3,8 утра

Сообщение Anonymous »

pip install syft==0.2.9
< /code>
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.
< /code>
I already have python 3.8.13
Help please

Подробнее здесь: https://stackoverflow.com/questions/794 ... getting-er
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Python»