Re: site-packages, unzipepd there but import fails

2008-07-04 Thread satoru
why don't you just download & excute the windown installer binary?

On Jul 4, 2:47 am, defn noob <[EMAIL PROTECTED]> wrote:
> On Jul 3, 8:06 pm, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > On 3 juil, 18:51, defn noob <[EMAIL PROTECTED]> wrote:
>
> > > well the reason i unzipped and placed it in site-packages was because
> > > nothign happened when i ran setup.py(unzipped).
>
> > What do you mean, "running setup.py unzipped" ???
>
> > The correct way to install a package is to:
>
> > - unzip (untar, whatever) the archive somewhere in your own directory
> > - cd to the unzipped directory
> > - *from there*, run python setup.py install
>
> yes, which i have done.
>
> the command row executes but nothing happens, no errors either.

--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread defn noob
On Jul 3, 8:06 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On 3 juil, 18:51, defn noob <[EMAIL PROTECTED]> wrote:
>
> > well the reason i unzipped and placed it in site-packages was because
> > nothign happened when i ran setup.py(unzipped).
>
> What do you mean, "running setup.py unzipped" ???
>
> The correct way to install a package is to:
>
> - unzip (untar, whatever) the archive somewhere in your own directory
> - cd to the unzipped directory
> - *from there*, run python setup.py install

yes, which i have done.

the command row executes but nothing happens, no errors either.
--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread [EMAIL PROTECTED]
On 3 juil, 18:51, defn noob <[EMAIL PROTECTED]> wrote:
> well the reason i unzipped and placed it in site-packages was because
> nothign happened when i ran setup.py(unzipped).

What do you mean, "running setup.py unzipped" ???

The correct way to install a package is to:

- unzip (untar, whatever) the archive somewhere in your own directory
- cd to the unzipped directory
- *from there*, run python setup.py install

--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread defn noob
and yes it is parallel python.

and windows vista.

and the python GUI shell.
--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread defn noob
well the reason i unzipped and placed it in site-packages was because
nothign happened when i ran setup.py(unzipped). this has worked with
other packages before.
--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread Diez B. Roggisch
defn noob wrote:

> i unzipped and put the folder in site-packages. when i run setup.py
> install nothing happens.

Don't do that. Remove it from there. Put it somewhere else (temp), and use

$ python setup.py install

Look into site-packages afterwards, and see if it got placed there.

Diez
--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread Bruno Desthuilliers

defn noob a écrit :
i unzipped 


what ?


and put the folder


which folder


in site-packages.


which one ? (remember that if you have more than one Python installation 
on your machine, you'll have more than one site-packages too).



when i run setup.py
install nothing happens.


Well... usually, setup.py install takes care of putting the appropriate 
things at the appropriate place for your system, so you don't have to 
"put the folder in site-packages" by yourself.



when i do import pp from shell


Which shell ? The Python shell ? A bash shell ?


it complains it doesnt exist.

isnt placing the folder in site-packages enough?



move "the folder" from site-packages to somewhere else, cd to "the 
folder", then run python setup.py install (with appropriate permissions 
of course). And if you have more than one python install on your system, 
make sure the one you're using for running setup.py is the right one.




these setup.py-files often dont work


Python-version confusion issues set aside, I've never had any problem 
with a setup.py so far (for 'so far' == since I've started using Python 
some height years ago). But I admit I never tried to copy "the folder" 
into site-packages *then* run setup.py install from there...



--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread defn noob
On Jul 3, 5:02 pm, Chris <[EMAIL PROTECTED]> wrote:
> On Jul 3, 4:11 pm, defn noob <[EMAIL PROTECTED]> wrote:
>
> > i unzipped and put the folder in site-packages. when i run setup.py
> > install nothing happens.
>
> > when i do import pp from shell it complains it doesnt exist.
>
> > isnt placing the folder in site-packages enough?
>
> > these setup.py-files often dont work but normally it still works.
>
> "python setup.py install"

windows...i run setup.py install
--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread Chris
On Jul 3, 4:11 pm, defn noob <[EMAIL PROTECTED]> wrote:
> i unzipped and put the folder in site-packages. when i run setup.py
> install nothing happens.
>
> when i do import pp from shell it complains it doesnt exist.
>
> isnt placing the folder in site-packages enough?
>
> these setup.py-files often dont work but normally it still works.

"python setup.py install"
--
http://mail.python.org/mailman/listinfo/python-list


Re: site-packages, unzipepd there but import fails

2008-07-03 Thread Mike Driscoll
On Jul 3, 9:11 am, defn noob <[EMAIL PROTECTED]> wrote:
> i unzipped and put the folder in site-packages. when i run setup.py
> install nothing happens.
>
> when i do import pp from shell it complains it doesnt exist.


What is "pp"? Parallel Python?


>
> isnt placing the folder in site-packages enough?


Usually. Sometimes you have to add the package to the Path too though.


>
> these setup.py-files often dont work but normally it still works.


I rarely have any trouble with them on Windows, although the
troublesome ones do exist.

Mike
--
http://mail.python.org/mailman/listinfo/python-list