Skip to content

Instantly share code, notes, and snippets.

@TakashiSasaki
Created March 6, 2014 23:45
Show Gist options
  • Save TakashiSasaki/9402149 to your computer and use it in GitHub Desktop.
Save TakashiSasaki/9402149 to your computer and use it in GitHub Desktop.
PyCharmでGitPythonの最新版3.2 RC1をpipからインストールしようとすると失敗するのは、連動してインストールされるgitdb 0.5.4がPython 3に対応していないからか。未だにprintがステートメント扱いだし。
------------------------------------------------------------
C:\Program Files\JetBrains\PyCharm 3.1.1\helpers\packaging_tool.py run on 03/07/14 08:33:18
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906.
Downloading/unpacking GitPython==0.3.2.RC1
Getting page https://pypi.python.org/simple/GitPython/
URLs to search for versions for GitPython==0.3.2.RC1:
* https://pypi.python.org/simple/GitPython/0.3.2.RC1
* https://pypi.python.org/simple/GitPython/
Getting page https://pypi.python.org/simple/GitPython/0.3.2.RC1
Could not fetch URL https://pypi.python.org/simple/GitPython/0.3.2.RC1: 404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/GitPython/0.3.2.RC1 when looking for download links for GitPython==0.3.2.RC1
Analyzing links from page https://pypi.python.org/simple/GitPython/
Found link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.1.7.tar.gz#md5=0a48e05276b90a408e6848d48dd6311c (from https://pypi.python.org/simple/GitPython/), version: 0.1.7
Found link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.2.0-beta1.tar.gz#md5=88a5972c28917d1c32ec28f358f620df (from https://pypi.python.org/simple/GitPython/), version: 0.2.0-beta1
Found link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.0-beta1.tar.gz#md5=e67a6388371418239f5079b2b8c6999a (from https://pypi.python.org/simple/GitPython/), version: 0.3.0-beta1
Found link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.0-beta2.tar.gz#md5=88acb9fa2d61e4ca25664619fca0eda3 (from https://pypi.python.org/simple/GitPython/), version: 0.3.0-beta2
Found link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.1-beta2.tar.gz#md5=2ea70952acd8df0eaf0630b2c489f315 (from https://pypi.python.org/simple/GitPython/), version: 0.3.1-beta2
Found link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.2.RC1.tar.gz#md5=849082fe29adc653a3621465213cab96 (from https://pypi.python.org/simple/GitPython/), version: 0.3.2.RC1
Skipping link http://groups.google.com/group/git-python (from https://pypi.python.org/simple/GitPython/); not a file
Skipping link http://packages.python.org/GitPython/0.1 (from https://pypi.python.org/simple/GitPython/); unknown archive format: .1
Skipping link http://packages.python.org/GitPython/0.2 (from https://pypi.python.org/simple/GitPython/); unknown archive format: .2
Skipping link http://packages.python.org/GitPython/0.3 (from https://pypi.python.org/simple/GitPython/); unknown archive format: .3
Skipping link http://packages.python.org/GitPython/0.3.0 (from https://pypi.python.org/simple/GitPython/); unknown archive format: .0
Skipping link http://packages.python.org/GitPython/0.3.1 (from https://pypi.python.org/simple/GitPython/); unknown archive format: .1
Skipping link http://packages.python.org/GitPython/0.3.2 (from https://pypi.python.org/simple/GitPython/); unknown archive format: .2
Skipping link http://packages.python.org/GitPython/0.3/intro.html#installing-gitpython (from https://pypi.python.org/simple/GitPython/); unknown archive format: .html
Skipping link http://packages.python.org/GitPython/0.3/whatsnew.html#upgrading-from-0-2 (from https://pypi.python.org/simple/GitPython/); unknown archive format: .html
Skipping link https://github.com/gitpython-developers/GitPython/issues (from https://pypi.python.org/simple/GitPython/); not a file
Ignoring link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.1.7.tar.gz#md5=0a48e05276b90a408e6848d48dd6311c (from https://pypi.python.org/simple/GitPython/), version 0.1.7 doesn't match ==0.3.2.RC1
Ignoring link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.2.0-beta1.tar.gz#md5=88a5972c28917d1c32ec28f358f620df (from https://pypi.python.org/simple/GitPython/), version 0.2.0-beta1 doesn't match ==0.3.2.RC1
Ignoring link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.0-beta1.tar.gz#md5=e67a6388371418239f5079b2b8c6999a (from https://pypi.python.org/simple/GitPython/), version 0.3.0-beta1 doesn't match ==0.3.2.RC1
Ignoring link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.0-beta2.tar.gz#md5=88acb9fa2d61e4ca25664619fca0eda3 (from https://pypi.python.org/simple/GitPython/), version 0.3.0-beta2 doesn't match ==0.3.2.RC1
Ignoring link https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.1-beta2.tar.gz#md5=2ea70952acd8df0eaf0630b2c489f315 (from https://pypi.python.org/simple/GitPython/), version 0.3.1-beta2 doesn't match ==0.3.2.RC1
Downloading from URL https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.2.RC1.tar.gz#md5=849082fe29adc653a3621465213cab96 (from https://pypi.python.org/simple/GitPython/)
Running setup.py (path:C:\Users\TV\AppData\Local\Temp\pycharm-packaging4847203064386532454.tmp\GitPython\setup.py) egg_info for package GitPython
running egg_info
creating pip-egg-info\GitPython.egg-info
writing pip-egg-info\GitPython.egg-info\PKG-INFO
writing requirements to pip-egg-info\GitPython.egg-info\requires.txt
writing dependency_links to pip-egg-info\GitPython.egg-info\dependency_links.txt
writing top-level names to pip-egg-info\GitPython.egg-info\top_level.txt
writing manifest file 'pip-egg-info\GitPython.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\GitPython.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README'
writing manifest file 'pip-egg-info\GitPython.egg-info\SOURCES.txt'
Source in c:\users\tv\appdata\local\temp\pycharm-packaging4847203064386532454.tmp\gitpython has version 0.3.2.RC1, which satisfies requirement GitPython==0.3.2.RC1
Downloading/unpacking gitdb>=0.5.1 (from GitPython==0.3.2.RC1)
Getting page https://pypi.python.org/simple/gitdb/
URLs to search for versions for gitdb>=0.5.1 (from GitPython==0.3.2.RC1):
* https://pypi.python.org/simple/gitdb/
Analyzing links from page https://pypi.python.org/simple/gitdb/
Found link https://pypi.python.org/packages/source/g/gitdb/gitdb-0.5.0.tar.gz#md5=9c6d961a574ec99c4abac908be2c8937 (from https://pypi.python.org/simple/gitdb/), version: 0.5.0
Found link https://pypi.python.org/packages/source/g/gitdb/gitdb-0.5.1.tar.gz#md5=235ae42aa3caf8d1427fd167ce267bdd (from https://pypi.python.org/simple/gitdb/), version: 0.5.1
Found link https://pypi.python.org/packages/source/g/gitdb/gitdb-0.5.2.tar.gz#md5=98655385607aed62101318051f7c9364 (from https://pypi.python.org/simple/gitdb/), version: 0.5.2
Found link https://pypi.python.org/packages/source/g/gitdb/gitdb-0.5.3.tar.gz#md5=66b048ebbeedeb5ff0505cc2895a4730 (from https://pypi.python.org/simple/gitdb/), version: 0.5.3
Found link https://pypi.python.org/packages/source/g/gitdb/gitdb-0.5.4.tar.gz#md5=25353bb8d3ea527ba443dd88cd4e8a1c (from https://pypi.python.org/simple/gitdb/), version: 0.5.4
Skipping link http://packages.python.org/gitdb/ (from https://pypi.python.org/simple/gitdb/); not a file
Ignoring link https://pypi.python.org/packages/source/g/gitdb/gitdb-0.5.0.tar.gz#md5=9c6d961a574ec99c4abac908be2c8937 (from https://pypi.python.org/simple/gitdb/), version 0.5.0 doesn't match >=0.5.1
Using version 0.5.4 (newest of versions: 0.5.4, 0.5.3, 0.5.2, 0.5.1)
Downloading from URL https://pypi.python.org/packages/source/g/gitdb/gitdb-0.5.4.tar.gz#md5=25353bb8d3ea527ba443dd88cd4e8a1c (from https://pypi.python.org/simple/gitdb/)
Running setup.py (path:C:\Users\TV\AppData\Local\Temp\pycharm-packaging4847203064386532454.tmp\gitdb\setup.py) egg_info for package gitdb
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "C:\Users\TV\AppData\Local\Temp\pycharm-packaging4847203064386532454.tmp\gitdb\setup.py", line 24
print "Ignored failure when building extensions, pure python modules will be used instead"
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "C:\Users\TV\AppData\Local\Temp\pycharm-packaging4847203064386532454.tmp\gitdb\setup.py", line 24
print "Ignored failure when building extensions, pure python modules will be used instead"
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in C:\Users\TV\AppData\Local\Temp\pycharm-packaging4847203064386532454.tmp\gitdb
Exception information:
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python33\lib\site-packages\pip\commands\install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Python33\lib\site-packages\pip\req.py", line 1229, in prepare_files
req_to_install.run_egg_info()
File "C:\Python33\lib\site-packages\pip\req.py", line 325, in run_egg_info
command_desc='python setup.py egg_info')
File "C:\Python33\lib\site-packages\pip\util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in C:\Users\TV\AppData\Local\Temp\pycharm-packaging4847203064386532454.tmp\gitdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment