> Date: Tue, 31 Aug 2010 12:47:14 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [Cython] Python3 + Cython Error
> 
> Hi,
> 
> please format your e-mails in a readable way, please don't top-post, and 
> please use the cython-users list next time.

Aha, okay. I wasn't sure what you meant last time. Apologies for having posting 
here also.
> velociraptor Genjix, 31.08.2010 12:02:
> > No I am running:
> > cd Cython-0.13/
> > python setup.py buildexport PYTHONPATH=`pwd`cd mycythonproject/python 
> > setup.py build_ext# first example in tutorial on docs.cython.org webpage# 
> > errors here
> 
> Ah, ok, that's not what you presented in your original report, but this 
> explains your problem. Your PYTHONPATH points to the wrong directory. It 
> needs to point to the right subdirectory under "build", usually something 
> like "build/lib-...". You can look up the machinery in the distutils docs 
> (and sources).

I see. That worked perfectly. Thank you.
Might I suggest this change in the INSTALL file?
>From this:(2) If you prefer not to modify your Python    installation, arrange 
>for the directory    containing this file (INSTALL.txt) to be in     your 
>PYTHONPATH. On unix, also put the bin    directory on your PATH.
To this:(2) If you prefer not to modify your Python    installation, then run 
setup.py in this    directory containing this file (INSTALL.txt)    as follows:
        python setup.py build
    And add the relevant build/lib* directory    for your platform to your 
PYTHONPATH.    On Linux this could be:
        cd build/lib.linux-x86_64-3.1/        export PYTHONPATH=$(pwd)
    On Unix, also put the bin directory in    your path.
> > I tried to write a fix to get it to work, but as I said, I came up against 
> > an error at the end.
> 
> Well, you incorrectly assumed that there was a problem with the sources, 
> that's why you didn't manage to write a fix.

Sorry, bad assumption by me. But thanks for your help :)
cya 
> Stefan
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
                                          
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to