jasonjack2015 / protobuf

Automatically exported from code.google.com/p/protobuf
Other
0 stars 0 forks source link

Will not build on python 3.x #668

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to run the installer on python 3.x

What is the expected output? What do you see instead?
Expected - package builds correctly

Instead I get a huge error stack
C:\Users\******\Desktop\Mumble mixbot\protobuf-2.6.0\python>python setup.py 
build

Traceback (most recent call last):
  File "setup.py", line 199, in <module>
    "Protocol Buffers are Google's data interchange format.",
  File "C:\Python34\lib\distutils\core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\dist.py", line 262, in __init__
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\dist.py", line 287, in fetch_build_eggs
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\pkg_resources.py", line 631, in resolve
    for project_name in plugin_projects:
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\pkg_resources.py", line 874, in best_match
    resource_name
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\pkg_resources.py", line 886, in obtain
    self, resource_name
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\dist.py", line 338, in fetch_build_egg
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\command\easy_install.py", line 613, in easy_install
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\command\easy_install.py", line 643, in install_item
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\command\easy_install.py", line 833, in install_eggs
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\command\easy_install.py", line 1055, in build_and_install
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\command\easy_install.py", line 1040, in run_setup
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\sandbox.py", line 68, in run_setup
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\sandbox.py", line 114, in run
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\sandbox.py", line 67, in runner
  File "C:\Python34\lib\site-packages\setuptools-5.7-py3.4.egg\setuptools\sandbox.py", line 43, in _execfile
  File "C:\Users\Austin\AppData\Local\Temp\easy_install-ghkk36gd\google-apputils-0.4.0\setup.py", line 18, in <module>
    sys.stderr.write(
  File "C:\Users\******\AppData\Local\Temp\easy_install-ghkk36gd\google-apputils-0.4.0\ez_setup.py", line 79
    except pkg_resources.VersionConflict, e:
                                        ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?
Protobuf 2.6.0, Windows 7 x64, Python 3.4.1

Please provide any additional information below.
Attempted a fresh reinstall of python.  Did not help.  Found python3-protobuf 
package on PyPi but it is not the most recent version.

Original issue reported on code.google.com by amdep...@mtu.edu on 5 Sep 2014 at 4:57

GoogleCodeExporter commented 9 years ago
This is a known issue. Please follow it up on github: 
https://github.com/google/protobuf/issues/9

Original comment by xiaof...@google.com on 5 Sep 2014 at 5:11