Hi Mick,

I'm sorry, i didnt recognize the /var/mail line at first sight ...

sorry again, now i see that you call ./setup.py directly ... 

you should instead invoke

        python setup.py install

otherwise the script will get executed with some other interpreter ...
which yields to the syntax errors and import error you described
earlier ... sorry again that i missed this ... 

@list: what gets executed if the first line is 
# -*- coding: iso-8859-1 -*-

any clues ?!?

regards,
marcus.

Am Donnerstag, den 11.03.2010, 19:38 +0000 schrieb Mick Sulley:
> No that's not the problem, I checked the file and it is correct.  I
> think it's just the way it displays the errors.
> I think the problem is the previous error - 
> 
>       can't read /var/mail/distutils.core
> 
> I don't understand this at all.  There is a line in setup.py
>       from distutils.core import setup
> I assume this is the line that causes the problem
> I don't understand the path that is being called, the /var/mail
> directory is empty.  My $PATH does not contain /var/mail
> 
> I tried changing the line to 
>       from /usr/lib/python2.6/distutils.core import setup
> but that then gives an error
>       can't read /var/mail//usr/lib/python2.6/distutils.core
> so it is still looking in /var/mail
> 
> Any ideas?  I am passed the limit of my knowledge in this area so any
> help would be appreciated.
> 
> Thanks
> 
> Mick
> 
> 
> On Thu, 2010-03-11 at 13:24 +0100, Marcus Priesch wrote:
> > Hi Mick,
> > 
> > Am Mittwoch, den 10.03.2010, 21:06 +0000 schrieb Mick Sulley:
> > > Thanks for the link Marcus.
> > > 
> > > Sorry to sound dim but how do I install it?  I have put it into a new
> > > directory, un-tar'ed it and tried to run setup.py but I get an error -
> > > 
> > > m...@mick-desktop:~/tmp/pyowfs-0.1$ ./setup.py
> > > from: can't read /var/mail/distutils.core
> > > ./setup.py: line 36: syntax error near unexpected token `name'
> > > ./setup.py: line 36: `    ( name             = 'pyowfs''
> >                                                         ^^
> > 
> > obviously in your setup.py there are two ' signs ... but i checked the
> > content of the .tar.gz and there is only one ' sign in there ... so
> > please try again to download and start over ... or remove one of the '
> > signs ... however i have no idea how it got there ... ?!?!
> > 
> > all the best,
> > marcus.
> > 
> > 
> > > m...@mick-desktop:~/tmp/pyowfs-0.1$ 
> > > 
> > > I assume I am doing something wrong, can you point me in the right
> > > direction please?
> > > 
> > > Thanks
> > > 
> > > Mick
> > > 
> > > 
> > > 
> 
> 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to