[PyFeyn] problems with installation

Veronika Magerl v.magerl at gmx.at
Thu Oct 3 12:41:37 BST 2013


Dear pyfeyn team,
I use pyfeyn since about one year. It's a very helpful tool.
But now I've problems to install pyfeyn on my laptop (Ubuntu 12.04).
Direct installation by running setup.py was not possible because 
'https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c5-py2.7.egg' 
was not found.
I switched to easy_install method wich seemed to work but when I try to 
run a script, or just import pyfeyn I get the following:

-----------------------------------------------------------
  $ ./T1.py
You don't have PyX - that's a problem unless you're just running the 
setup script.
Traceback (most recent call last):
   File "./T1.py", line 3, in <module>
     from pyfeyn.user import *
   File "build/bdist.linux-x86_64/egg/pyfeyn/user.py", line 5, in <module>
     the PYTHONSTARTUP environment variable if it exists).
   File 
"/usr/local/lib/python2.7/dist-packages/pyfeyn-0.3.1-py2.7.egg/pyfeyn/lines.py", 
line 188
     as, bs = circle.intersect(line)
      ^
SyntaxError: invalid syntax
----------------------------------------------------------------

I've checked my pyx version:

----------------------------------------------------------------
Python 2.7.3 (default, Apr 10 2013, 06:20:15)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import pyx
 >>> pyx.__version__
'0.11.1'
---------------------------------------------------------------

Could you please help me?
Thanks a lot
Vroni


More information about the PyFeyn mailing list