njr0 / fish

The Fluidinfo shell; a command line for Fluidinfo
http://fluiddb.fluidinfo.com/about/fish/njr/index.html
MIT License
5 stars 2 forks source link

setup.py fails to run with python33 #6

Open ar0berts opened 12 years ago

ar0berts commented 12 years ago

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 commented 12 years ago

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 njr@stochasticsolutions.com +44 7713 787 602

ar0berts commented 12 years ago

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 njr@stochasticsolutions.com +44 7713 787 602

— Reply to this email directly or view it on GitHub https://github.com/njr0/fish/issues/6#issuecomment-9081442.