Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py fails to run with python33 #6

Open
ar0berts opened this issue Oct 2, 2012 · 2 comments
Open

setup.py fails to run with python33 #6

ar0berts opened this issue Oct 2, 2012 · 2 comments

Comments

@ar0berts
Copy link

ar0berts commented Oct 2, 2012

Dear Nicholas,

I have Python 3.3.0:

C:\Documents and Settings\robertsand\My Documents\GitHub\fish>python
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (In
tel)] on win32

when I run either ">setup.py install" or ">python setup.py install " I get the following:

"C:\Documents and Settings\robertsand\My Documents\GitHub\fish>python setup.py install
C:\Python33\lib\distutils\dist.py:257: UserWarning: Unknown distribution option:
'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_scripts
running install_lib
byte-compiling C:\Python33\Lib\site-packages\fish\cli.py to cli.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\cli.py", line 332
print args[0]
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\delicious.py to delicious.cpython-33.pyc
Sorry: TabError: inconsistent use of tabs and spaces in indentation (delicious.py, line 43)
byte-compiling C:\Python33\Lib\site-packages\fish\delicious2fluiddb.py to delicious2fluiddb.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\delicious2fluiddb.py", line 16
print 'You need the abouttag library on your PYTHONPATH.'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\example.py to example.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\example.py", line 12
print value
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\fish.py to fish.cpython-33.pyc

File "C:\Python33\Lib\site-packages\fish\fish.py", line 46
print 'Readline not available; no command history'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\fishlib.py to fishlib.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\fishlib.py", line 133
INTEGER_RE = re.compile(ur'^[+-]{0,1}[0-9]+$')
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\flags.py to flags.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\flags.py", line 128
print self.help
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\repl.py to repl.cpython-33.pyc

File "C:\Python33\Lib\site-packages\fish\repl.py", line 5
print 'Readline not available; no command history'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\testfish.py to testfish.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\testfish.py", line 351
print 'one'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\values.py to values.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\values.py", line 42
print tag_by_about_values(db, objs)
^
SyntaxError: invalid syntax

running install_scripts
running install_egg_info
Removing C:\Python33\Lib\site-packages\fish-4.34-py3.3.egg-info
Writing C:\Python33\Lib\site-packages\fish-4.34-py3.3.egg-info"

What have I done wrong??

Andrew

@njr0
Copy link
Owner

njr0 commented Oct 2, 2012

Hi Andrew

Fish is written with Python 2, not Python 3. It should run fine with Python 2.5, 2.6 or 2.7.

Regards

Nick

On 2 Oct 2012, at 18:49, ar0berts wrote:

Dear Nicholas,

I have Python 3.3.0:

C:\Documents and Settings\robertsand\My Documents\GitHub\fish>python
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (In
tel)] on win32

when I run either ">setup.py install" or ">python setup.py install " I get the following:

"C:\Documents and Settings\robertsand\My Documents\GitHub\fish>python setup.py install
C:\Python33\lib\distutils\dist.py:257: UserWarning: Unknown distribution option:
'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_scripts
running install_lib
byte-compiling C:\Python33\Lib\site-packages\fish\cli.py to cli.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\cli.py", line 332
print args[0]
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\delicious.py to delicious.cpython-33.pyc
Sorry: TabError: inconsistent use of tabs and spaces in indentation (delicious.py, line 43)
byte-compiling C:\Python33\Lib\site-packages\fish\delicious2fluiddb.py to delicious2fluiddb.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\delicious2fluiddb.py", line 16
print 'You need the abouttag library on your PYTHONPATH.'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\example.py to example.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\example.py", line 12
print value
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\fish.py to fish.cpython-33.pyc

File "C:\Python33\Lib\site-packages\fish\fish.py", line 46
print 'Readline not available; no command history'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\fishlib.py to fishlib.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\fishlib.py", line 133
INTEGER_RE = re.compile(ur'^[+-]{0,1}[0-9]+$')
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\flags.py to flags.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\flags.py", line 128
print self.help
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\repl.py to repl.cpython-33.pyc

File "C:\Python33\Lib\site-packages\fish\repl.py", line 5
print 'Readline not available; no command history'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\testfish.py to testfish.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\testfish.py", line 351
print 'one'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\values.py to values.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\values.py", line 42
print tag_by_about_values(db, objs)
^
SyntaxError: invalid syntax

running install_scripts
running install_egg_info
Removing C:\Python33\Lib\site-packages\fish-4.34-py3.3.egg-info
Writing C:\Python33\Lib\site-packages\fish-4.34-py3.3.egg-info"

What have I done wrong??

Andrew


Reply to this email directly or view it on GitHub.


Nicholas J Radcliffe Stochastic Solutions Limited.
www.stochasticsolutions.com [email protected] +44 7713 787 602

@ar0berts
Copy link
Author

ar0berts commented Oct 2, 2012

Dear Nick,

Many thanks. i will revert to 2.6

Andrew

On 02/10/2012 19:26, njr0 wrote:

Hi Andrew

Fish is written with Python 2, not Python 3. It should run fine with
Python 2.5, 2.6 or 2.7.

Regards

Nick

On 2 Oct 2012, at 18:49, ar0berts wrote:

Dear Nicholas,

I have Python 3.3.0:

C:\Documents and Settings\robertsand\My Documents\GitHub\fish>python
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC
v.1600 32 bit (In
tel)] on win32

when I run either ">setup.py install" or ">python setup.py install "
I get the following:

"C:\Documents and Settings\robertsand\My
Documents\GitHub\fish>python setup.py install
C:\Python33\lib\distutils\dist.py:257: UserWarning: Unknown
distribution option:
'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_scripts
running install_lib
byte-compiling C:\Python33\Lib\site-packages\fish\cli.py to
cli.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\cli.py", line 332
print args[0]
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\delicious.py to
delicious.cpython-33.pyc
Sorry: TabError: inconsistent use of tabs and spaces in indentation
(delicious.py, line 43)
byte-compiling
C:\Python33\Lib\site-packages\fish\delicious2fluiddb.py to
delicious2fluiddb.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\delicious2fluiddb.py", line 16
print 'You need the abouttag library on your PYTHONPATH.'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\example.py to
example.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\example.py", line 12
print value
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\fish.py to
fish.cpython-33.pyc

File "C:\Python33\Lib\site-packages\fish\fish.py", line 46
print 'Readline not available; no command history'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\fishlib.py to
fishlib.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\fishlib.py", line 133
INTEGER_RE = re.compile(ur'^[+-]{0,1}[0-9]+$')
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\flags.py to
flags.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\flags.py", line 128
print self.help
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\repl.py to
repl.cpython-33.pyc

File "C:\Python33\Lib\site-packages\fish\repl.py", line 5
print 'Readline not available; no command history'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\testfish.py to
testfish.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\testfish.py", line 351
print 'one'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\values.py to
values.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\values.py", line 42
print tag_by_about_values(db, objs)
^
SyntaxError: invalid syntax

running install_scripts
running install_egg_info
Removing C:\Python33\Lib\site-packages\fish-4.34-py3.3.egg-info
Writing C:\Python33\Lib\site-packages\fish-4.34-py3.3.egg-info"

What have I done wrong??

Andrew


Reply to this email directly or view it on GitHub.


Nicholas J Radcliffe Stochastic Solutions Limited.
www.stochasticsolutions.com [email protected] +44 7713 787 602


Reply to this email directly or view it on GitHub
#6 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants