Hi,
while looking for a nice fits-cabable display package to combine with PyQt,
veusz was what I found. All what was presented so far look prettys good to me
so I decided to install it. Because I am an astronomer, too. I understand
pretty well for what the letters stand for.
I gave apt a try since I'm using Linux Mint 14.1 Nadia (Ubuntu-based) and ended
up with version 1.15-1.As I know from the main webpage the current version is
1.16. So I tried easy_install3 to get the latest with python3 support because
every other piece of my task is and will be written in python3. I get an error
message which tells me that ipyqtdustuils.py in line 35 something couldn't be
parsed. I do habe python3-sip, it's debugger and development packages
installedThe complete output is this:
Searching for veuszReading http://pypi.python.org/simple/veusz/Reading
http://home.gna.org/veusz/Best match: veusz 1.16Downloading
http://download.gna.org/veusz/veusz-1.16.tar.gzProcessing
veusz-1.16.tar.gzWriting /tmp/easy_install-f1zyeb/veusz-1.16/setup.cfgRunning
veusz-1.16/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-f1zyeb/veusz-1.16/egg-dist-tmp-hs73j5Traceback (most recent
call last): File "/usr/bin/easy_install3", line 9, in <module>
load_entry_point('distribute==0.6.28dev-r0', 'console_scripts',
'easy_install')() File
"/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1977,
in main with_ei_usage(lambda: File
"/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1958,
in with_ei_usage return f() File
"/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1981,
in <lambda> distclass=DistributionWithoutHelpCommands, **kw File
"/usr/lib/python3.2/distutils/core.py", line 148, in setup
dist.run_commands() File "/usr/lib/python3.2/distutils/dist.py", line 917, in
run_commands self.run_command(cmd) File
"/usr/lib/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run() File
"/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 377,
in run self.easy_install(spec, not self.no_deps) File
"/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 617,
in easy_install return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line
647, in install_item dists = self.install_eggs(spec, download, tmpdir) File
"/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 842,
in install_eggs return self.build_and_install(setup_script, setup_base) File
"/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line
1122, in build_and_install self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line
1108, in run_setup run_setup(setup_script, args) File
"/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 31, in run_setup
lambda: exec(compile(open( File
"/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 79, in run
return func() File "/usr/lib/python3/dist-packages/setuptools/sandbox.py",
line 34, in <lambda> {'__file__':setup_script, '__name__':'__main__'}) File
"setup.py", line 32, in <module> File
"/tmp/easy_install-f1zyeb/veusz-1.16/pyqtdistutils.py", line 35 raise
RuntimeError, 'cannot parse SIP-generated "%s"' % sbf
^SyntaxError: invalid syntax
Do I get this error because veusz isn't python3 ready?Downloading v1.16 and
installing it with python2.7 setup.py install gives plenty of warnings
concerning syntax changes due to the newer versions of PyQt and C++ I use but
finally installs it. Veusz 1.16 runs great with 2.7 and I don't get any issues
with console usage.But since I have to use python3.x and there are some major
difference I like to use veusz with python3.
Will 2to3 may do the trick?
I really want to use veusz because it is the only lib package that allows me to
display fits-images in my coded gui. Dealing the images in veusz is so damm
easy that I'm in love with veusz before I even complety saw what's cable of.I
know supermongo which was for a long time the best plotting instrument for
scientific data but veusz swaps it right of it's feet!
Keep on the good work. Hopefully you can help me getting along with python3
usage.cheers Christian
ps: I have to write a reduction suite for deep sky fits-images, making use of
sextractor and astrometry.net for my Ph.d thesis.
--
"A little learning never caused anyone's head to explode!"
"Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!"
_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss