vine-users ML アーカイブ



[vine-users:082736] python pip

  • From: Hisashi Hashimoto <hashimoh@xxxxxxxxxxxxxx>
  • Subject: [vine-users:082736] python pip
  • Date: Sat, 04 Apr 2015 13:43:08 +0900
はしもと@横浜です。

Vine 6.2のpython 2.6で、
pipを使おうとしています。

argparseを使いたく、Vine 6.2のpythonでは
標準に無いようなため、
pip-pythonで、導入しようとすると、エラーが出ます。
ちょっと、長いので、添付します(pip-out.txt)
また、ログファイルも添付します(pip.log)

Vine 5.2のpython2.5では、pip-pythonは、うまく動作しました。
(argparse自身は、うまく動きませんでしたが)。

MacBook Proのpython 2.7.6では、argparseが存在するようで、
問題ありませんでした。
------------------------------------------------------------
/usr/bin/pip-python run on Wed Apr 22 11:36:33 2015
Downloading/unpacking argparse
  Getting page http://pypi.python.org/simple/argparse
  URLs to search for versions for argparse:
  * http://pypi.python.org/simple/argparse/
  Getting page http://pypi.python.org/simple/argparse/
  Analyzing links from page https://pypi.python.org/simple/argparse/
    Skipping link https://pypi.python.org/packages/2.7/a/argparse/argparse-1.2.2-py2.py3-none-any.whl#md5=170f859884c959343d45730b1682f434 (from https://pypi.python.org/simple/argparse/); unknown archive format: .whl
    Skipping link https://pypi.python.org/packages/2.7/a/argparse/argparse-1.3.0-py2.py3-none-any.whl#md5=c89395a1a43b61ca6a116aed5e3b1d59 (from https://pypi.python.org/simple/argparse/); unknown archive format: .whl
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.1.0.win32.exe#md5=876031ad8d0ea7e5ea96fcb93523b9ab (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.2.0.win32.exe#md5=8d1fd066ed0bcbe018ed1927dd7c392a (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.3.0.win32.exe#md5=cd9f3e23ec694ca5cb62b3d1ad73b594 (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.4.0.win32.exe#md5=b73c5d70861b3d73bdf62baff0ad7973 (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.5.0.win32.exe#md5=9cf20b0c8cd8fd7489d7400eee1cec32 (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.6.0.win32.exe#md5=0cf921fb10efde0d03e9f528c362f4b3 (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.7.0.win32.exe#md5=922c6b29218000460547221cd260997c (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.8.0.win32.exe#md5=79de440b45f4e0f3219e2ea35734d735 (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.9.0.win32.exe#md5=bffd29668493eea4b8f5e5e58512595a (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-0.9.1.win32.exe#md5=58d02e5b95cab4f58054f3aa8ae893c5 (from https://pypi.python.org/simple/argparse/); unknown archive format: .exe
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-1.0.1.win32.msi#md5=6c9491b1d7c083cb3b38c4523a0c7434 (from https://pypi.python.org/simple/argparse/); unknown archive format: .msi
    Skipping link https://pypi.python.org/packages/any/a/argparse/argparse-1.1.win32.msi#md5=1bad87b66962668c626fa4e843f7d335 (from https://pypi.python.org/simple/argparse/); unknown archive format: .msi
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.1.0.tar.gz#md5=3b4a09b921177dc6b06fd01476bed810 (from https://pypi.python.org/simple/argparse/), version: 0.1.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.2.0.zip#md5=f2ab893381c89c3521140ec11860d7dc (from https://pypi.python.org/simple/argparse/), version: 0.2.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.3.0.zip#md5=f1402d20e7cb0e8aa972a8b801337082 (from https://pypi.python.org/simple/argparse/), version: 0.3.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.4.0.zip#md5=9240b1183f2c08a1eb5b48e0adae689b (from https://pypi.python.org/simple/argparse/), version: 0.4.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.5.0.zip#md5=dbc3603e049e4dd624cfc615a544b4e2 (from https://pypi.python.org/simple/argparse/), version: 0.5.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.6.0.zip#md5=d4d3149101768c6aca5da6b47fa59b36 (from https://pypi.python.org/simple/argparse/), version: 0.6.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.7.0.zip#md5=39c102f3bf8e4f110649feed248bbdef (from https://pypi.python.org/simple/argparse/), version: 0.7.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.8.0.zip#md5=fc3ac46fecf541e8ca25caeae75b1b8d (from https://pypi.python.org/simple/argparse/), version: 0.8.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.9.0.zip#md5=0cd9857b48c05ce4995599afbe117dbe (from https://pypi.python.org/simple/argparse/), version: 0.9.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-0.9.1.zip#md5=37675a2dd5822a2f5bd16f3fd4d8b4f1 (from https://pypi.python.org/simple/argparse/), version: 0.9.1
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-1.0.1.zip#md5=371d12bf6099a98f49cfaed2a29f2355 (from https://pypi.python.org/simple/argparse/), version: 1.0.1
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-1.0.zip#md5=8b1ab70277ff87ea2eca57752472dc8c (from https://pypi.python.org/simple/argparse/), version: 1.0
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-1.1.zip#md5=087399b73047fa5a6482037411ddc968 (from https://pypi.python.org/simple/argparse/), version: 1.1
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-1.2.1.tar.gz#md5=2fbef8cb61e506c706957ab6e135840c (from https://pypi.python.org/simple/argparse/), version: 1.2.1
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-1.2.2.tar.gz#md5=38589b29d9120b19dfca32f86406a1f5 (from https://pypi.python.org/simple/argparse/), version: 1.2.2
    Found link https://pypi.python.org/packages/source/a/argparse/argparse-1.3.0.tar.gz#md5=9bcf7f612190885c8c85e30ba41db3c7 (from https://pypi.python.org/simple/argparse/), version: 1.3.0
    Found link http://argparse.googlecode.com/files/argparse-1.2.1.tar.gz#md5=2fbef8cb61e506c706957ab6e135840c (from https://pypi.python.org/simple/argparse/), version: 1.2.1
  Using version 1.3.0 (newest of versions: 1.3.0, 1.2.2, 1.2.1, 1.2.1, 1.1, 1.0.1, 1.0, 0.9.1, 0.9.0, 0.8.0, 0.7.0, 0.6.0, 0.5.0, 0.4.0, 0.3.0, 0.2.0, 0.1.0)
  Downloading from URL https://pypi.python.org/packages/source/a/argparse/argparse-1.3.0.tar.gz#md5=9bcf7f612190885c8c85e30ba41db3c7 (from https://pypi.python.org/simple/argparse/)
  Running setup.py egg_info for package argparse
    running egg_info
    creating pip-egg-info/argparse.egg-info
    writing pip-egg-info/argparse.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/argparse.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/argparse.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/argparse.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found
    reading manifest file 'pip-egg-info/argparse.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
    writing manifest file 'pip-egg-info/argparse.egg-info/SOURCES.txt'
Installing collected packages: argparse
  Running setup.py install for argparse
    Running command /usr/bin/python -c "import setuptools;__file__='/usr/local/src/copy/copy-fuse-master/build/argparse/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-kdERHm-record/install-record.txt
    running install
    error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/usr/local/src/copy/copy-fuse-master/build/argparse/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-kdERHm-record/install-record.txt:
    running install

error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/usr/local/src/copy/copy-fuse-master/build/argparse/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-kdERHm-record/install-record.txt failed with error code 1
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 130, in main
    self.run(options, args)
  File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 228, in run
    requirement_set.install(install_options, global_options)
  File "/usr/lib/python2.6/site-packages/pip/req.py", line 1043, in install
    requirement.install(install_options, global_options)
  File "/usr/lib/python2.6/site-packages/pip/req.py", line 559, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "/usr/lib/python2.6/site-packages/pip/__init__.py", line 248, in call_subprocess
    % (command_desc, proc.returncode))
InstallationError: Command /usr/bin/python -c "import setuptools;__file__='/usr/local/src/copy/copy-fuse-master/build/argparse/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-kdERHm-record/install-record.txt failed with error code 1
[root@vaio-k50b copy-fuse-master]# pip-python search argparse
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 130, in main
    self.run(options, args)
  File "/usr/lib/python2.6/site-packages/pip/commands/search.py", line 33, in run
    pypi_hits = self.search(query, index_url)
  File "/usr/lib/python2.6/site-packages/pip/commands/search.py", line 44, in search
    hits = pypi.search({'name': query, 'summary': query}, 'or')
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1382, in _parse_response
    response = file.read(1024)
  File "/usr/lib/python2.6/socket.py", line 377, in read
    data = self._sock.recv(left)
timeout: timed out

Storing complete log in /root/.pip/pip.log
[root@vaio-k50b copy-fuse-master]# pip-python install argparse
Downloading/unpacking argparse
  Downloading argparse-1.3.0.tar.gz (93Kb): 93Kb downloaded
  Running setup.py egg_info for package argparse
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
Installing collected packages: argparse
  Running setup.py install for argparse
    error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/usr/local/src/copy/copy-fuse-master/build/argparse/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-kdERHm-record/install-record.txt:
    running install

error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/usr/local/src/copy/copy-fuse-master/build/argparse/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-kdERHm-record/install-record.txt failed with error code 1
Storing complete log in /root/.pip/pip.log

_______________________________________________
vine-users mailing list
vine-users@xxxxxxxxxxxxxxxxxxxx
http://listserv.linux.or.jp/mailman/listinfo/vine-users