Search
Write a publication
Pull to refresh
1
0
Send message

Восстановить до рабочего состояния и улучшить, чтобы не требовалось обслуживание - это круто. Жаль устройство. Минус

Я именно так и делал. Вот что получилось

Заголовок спойлера
sh-3.2# python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to acp.egg-info/requires.txt
writing acp.egg-info/PKG-INFO
writing top-level names to acp.egg-info/top_level.txt
writing dependency_links to acp.egg-info/dependency_links.txt
writing entry points to acp.egg-info/entry_points.txt
reading manifest file 'acp.egg-info/SOURCES.txt'
writing manifest file 'acp.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.15-x86_64/egg
running install_lib
running build_py
creating build/bdist.macosx-10.15-x86_64/egg
creating build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/misc.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/exception.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/encryption.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/property.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/client.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/cflbinary.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/session.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/__init__.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/message.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/basebinary.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/cli.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/__main__.py -> build/bdist.macosx-10.15-x86_64/egg/acp
copying build/lib/acp/keystream.py -> build/bdist.macosx-10.15-x86_64/egg/acp
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/misc.py to misc.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/exception.py to exception.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/encryption.py to encryption.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/property.py to property.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/client.py to client.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/cflbinary.py to cflbinary.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/session.py to session.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/message.py to message.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/basebinary.py to basebinary.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/cli.py to cli.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/__main__.py to __main__.pyc
byte-compiling build/bdist.macosx-10.15-x86_64/egg/acp/keystream.py to keystream.pyc
creating build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying acp.egg-info/PKG-INFO -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying acp.egg-info/SOURCES.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying acp.egg-info/dependency_links.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying acp.egg-info/entry_points.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying acp.egg-info/requires.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
copying acp.egg-info/top_level.txt -> build/bdist.macosx-10.15-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents…
creating 'dist/acp-1.0-py2.7.egg' and adding 'build/bdist.macosx-10.15-x86_64/egg' to it
removing 'build/bdist.macosx-10.15-x86_64/egg' (and everything under it)
Processing acp-1.0-py2.7.egg
Removing /Library/Python/2.7/site-packages/acp-1.0-py2.7.egg
Copying acp-1.0-py2.7.egg to /Library/Python/2.7/site-packages
acp 1.0 is already the active version in easy-install.pth
Installing acp script to /usr/local/bin

Installed /Library/Python/2.7/site-packages/acp-1.0-py2.7.egg
Processing dependencies for acp==1.0
Searching for pycrypto
Reading pypi.org/simple/pycrypto
Downloading files.pythonhosted.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz#sha256=f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c
Best match: pycrypto 2.6.1
Processing pycrypto-2.6.1.tar.gz
Writing /tmp/easy_install-vwNGHR/pycrypto-2.6.1/setup.cfg
Running pycrypto-2.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vwNGHR/pycrypto-2.6.1/egg-dist-tmp-wFjFUV
configure: error: in `/private/tmp/easy_install-vwNGHR/pycrypto-2.6.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
Traceback (most recent call last):
File «setup.py», line 14, in «pycrypto»,
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 418, in run
self.easy_install(spec, not self.no_deps)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 660, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 707, in install_item
self.process_distribution(spec, dist, deps)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 752, in process_distribution
[requirement], self.local_index, self.easy_install
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1077, in obtain
return installer(requirement)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 705, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 1158, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 1144, in run_setup
run_setup(setup_script, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py", line 253, in run_setup
raise
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py", line 195, in setup_context
yield
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py", line 195, in setup_context
yield
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-vwNGHR/pycrypto-2.6.1/setup.py", line 456, in
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/bdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/bdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/easy_install-vwNGHR/pycrypto-2.6.1/setup.py", line 251, in run

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/easy_install-vwNGHR/pycrypto-2.6.1/setup.py", line 278, in run

RuntimeError: autoconf error
sh-3.2#

Information

Rating
Does not participate
Registered
Activity