python - Fabric won't install a certain library (setuptools) -
i'm trying install python package called setuptools (0.6c11) on remote machine using fabric. problem setup.py-script tells me cannot find file required installation, it's it's supposed in log.
here log:
[192.168.1.6] run: tar -xvf setuptools.tar.gz [192.168.1.6] out: setuptools-0.6c11/ [192.168.1.6] out: setuptools-0.6c11/version.dat [192.168.1.6] out: setuptools-0.6c11/readme.txt [192.168.1.6] out: setuptools-0.6c11/wikiup.cfg [192.168.1.6] out: setuptools-0.6c11/pkg_resources.txt [192.168.1.6] out: setuptools-0.6c11/easyinstall.txt [192.168.1.6] out: setuptools-0.6c11/api_tests.txt [192.168.1.6] out: setuptools-0.6c11/setuptools.txt [192.168.1.6] out: setuptools-0.6c11/ez_setup.py [192.168.1.6] out: setuptools-0.6c11/tests/ [192.168.1.6] out: setuptools-0.6c11/tests/shlib_test/ [192.168.1.6] out: setuptools-0.6c11/tests/shlib_test/hellolib.c [192.168.1.6] out: setuptools-0.6c11/tests/shlib_test/setup.py [192.168.1.6] out: setuptools-0.6c11/tests/shlib_test/hello.c [192.168.1.6] out: setuptools-0.6c11/tests/shlib_test/hello.pyx [192.168.1.6] out: setuptools-0.6c11/tests/shlib_test/test_hello.py [192.168.1.6] out: setuptools-0.6c11/setuptools.egg-info/ [192.168.1.6] out: setuptools-0.6c11/setuptools.egg-info/not-zip-safe [192.168.1.6] out: setuptools-0.6c11/setuptools.egg-info/top_level.txt [192.168.1.6] out: setuptools-0.6c11/setuptools.egg-info/sources.txt [192.168.1.6] out: setuptools-0.6c11/setuptools.egg-info/pkg-info [192.168.1.6] out: setuptools-0.6c11/setuptools.egg-info/entry_points.txt [192.168.1.6] out: setuptools-0.6c11/setuptools.egg-info/dependency_links.txt [192.168.1.6] out: setuptools-0.6c11/virtual-python.py [192.168.1.6] out: setuptools-0.6c11/pkg_resources.py [192.168.1.6] out: setuptools-0.6c11/site.py [192.168.1.6] out: setuptools-0.6c11/release.sh [192.168.1.6] out: setuptools-0.6c11/setup.py [192.168.1.6] out: setuptools-0.6c11/launcher.c [192.168.1.6] out: setuptools-0.6c11/pkg-info [192.168.1.6] out: setuptools-0.6c11/easy_install.py [192.168.1.6] out: setuptools-0.6c11/setup.cfg [192.168.1.6] out: setuptools-0.6c11/version [192.168.1.6] out: setuptools-0.6c11/setuptools/ [192.168.1.6] out: setuptools-0.6c11/setuptools/extension.py [192.168.1.6] out: setuptools-0.6c11/setuptools/sandbox.py [192.168.1.6] out: setuptools-0.6c11/setuptools/depends.py [192.168.1.6] out: setuptools-0.6c11/setuptools/tests/ [192.168.1.6] out: setuptools-0.6c11/setuptools/tests/win_script_wrapper.txt [192.168.1.6] out: setuptools-0.6c11/setuptools/tests/test_resources.py [192.168.1.6] out: setuptools-0.6c11/setuptools/tests/__init__.py [192.168.1.6] out: setuptools-0.6c11/setuptools/tests/test_packageindex.py [192.168.1.6] out: setuptools-0.6c11/setuptools/tests/doctest.py [192.168.1.6] out: setuptools-0.6c11/setuptools/__init__.py [192.168.1.6] out: setuptools-0.6c11/setuptools/archive_util.py [192.168.1.6] out: setuptools-0.6c11/setuptools/dist.py [192.168.1.6] out: setuptools-0.6c11/setuptools/cli.exe [192.168.1.6] out: setuptools-0.6c11/setuptools/command/ [192.168.1.6] out: setuptools-0.6c11/setuptools/command/build_ext.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/upload.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/bdist_wininst.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/egg_info.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/__init__.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/setopt.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/install_egg_info.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/bdist_egg.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/install.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/bdist_rpm.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/install_lib.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/saveopts.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/develop.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/easy_install.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/build_py.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/install_scripts.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/sdist.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/rotate.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/alias.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/register.py [192.168.1.6] out: setuptools-0.6c11/setuptools/command/test.py [192.168.1.6] out: setuptools-0.6c11/setuptools/package_index.py [192.168.1.6] out: setuptools-0.6c11/setuptools/gui.exe [192.168.1.6] run: chmod +x setuptools-0.6c11/setup.py [192.168.1.6] run: ./setuptools-0.6c11/setup.py install [192.168.1.6] out: traceback (most recent call last): [192.168.1.6] out: file "./setuptools-0.6c11/setup.py", line 7, in <module> [192.168.1.6] out: execfile(convert_path('setuptools/command/__init__.py'), d) [192.168.1.6] out: ioerror: [errno 2] no such file or directory: 'setuptools/command/__init__.py' fatal error: run() received nonzero return code 1 while executing! requested: ./setuptools-0.6c11/setup.py install executed: /bin/bash -l -c "./setuptools-0.6c11/setup.py install" aborting. disconnecting 192.168.1.6... done.
as can see setup.py script tells me file 'setuptools/command/init.py' missing, log tar tells me has been put there. gives?
the weird part works fine if ssh in remote machine , run commands manually. however, purposes, not cut it.
perhaps problem bash works wrong directory or something? i'm getting headache this. please help!
edit have tried running script "python setup.py install", gives me exact same error.
Comments
Post a Comment