@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> anyone around?
<1> I'm a crazy monkey and I like doing my own GUIs in a somewhat raw format, what'd be the easiest/preferably cross-platform compatible way to do this in python? (Basically what I want is a window where I can simply plot different color values at different coordinates instead of messing with widgets)
<2> any canvas control in any widget set will work
<1> So I could just make a frame with the canvas control and work from there?
<2> yep
<1> Thanks.
<3> holy f'n s't this is a weird issue
<3> I might as well just go to sleep
<2> that's usually best
<2> when logic doesn't seem to apply it's something so weird you're just not seeing it, take a break
<3> does Python's urllib "browser" cache pages?
<2> or something so contrary to your basic ***umptions that it doesn't occur to you now but it might later
<2> don't think so
<3> I have this script (not mine) that redirects via meta refresh to another page.. if I make any changes to the line in the code, when Python hits it, it still looks at the old redirect URL.. if I comment out the line.. it doesn't redirect...
<3> so, I know it's the right line
<2> put a snippet in a pastebin



<2> could it be something like cookies?
<3> well, the funny thing is.. the URL it redirects to, p***es some variables, and those are updated
<3> I'm just going to call it a night.. I need to be up in 5 hours anyway
<3> work with less than 5 hours ****s :\
<2> yeah
<2> it's probably something "simple" but non-obvious once you've got into it that far
<2> try again fresh in the morning
<2> and get as much sleep as you can either way
<3> will do... :)
<3> I don't know if our new cat will let me sleep in much, hah
<3> g'night xihr
<2> heh
<2> night
<4> morning
<4> i did import sys
<4> print sys.path
<4> well now i can see a bit of path...
<4> where is that file?
<2> what file
<4> the path file for python
<4> that path that is printed...
<4> is taken from the shell?
<2> it's from the interpreter
<4> i mean i get always an import site failed
<4> and i think it is caused by a wrong path
<2> well now you're talking about something else
<4> i trid to deinstall everithing
<4> and reinstall and the prob sussist...
<2> you have not even made it clear what you are asking at this point
<4> :)
<4> well i need to solve this problem in the linux box in office
<4> when i do python
<4> i get import site failed
<2> running what
<4> nothing
<4> just starting the python shell
<4> as python start in the sehll i get that error
<2> it's probably installed improperly
<5> You haven't installed Python properly.
<4> ok and the problem is ...i think a problem of path...
<4> couse my print.sys is different from the one another friend of mine have
<2> with a base install of Python, if import site fails, your installation is broken
<2> print.sys?
<4> k
<4> import sys
<4> print sys.path
<5> Speaking of which. I can't understand why so many have problems with that. I compiled Python from SVN recently, and make install made everything work without h***les.
<4> ok....and what do i have to install it correclty...?
<4> i am on fedora
<2> the path is never guaranteed to be different on different machines
<2> get the tarball, make; make install
<5> I think Fedora has RPMs.
<2> hund: it's because packages for various distributions are ****ed up
<4> i installed the rpm
<5> xihr: Well, letting the interpreter start should be a bare minimum.
<4> but prehaps i have to use an option....
<2> that's about 25% of the questions here, they all relate to broken distribution packages
<4> this is weird.
<2> hund: sure, but most of them ****
<2> theoretically they're a great idea
<2> in practice it's a nightmare, as we see here every day



<4> the rpm should do all by themself
<2> well it doesn't
<2> so install it manually
<4> with make make install
<2> yes
<4> but then i cannot remove it anymore
<4> ....
<2> make sure you attempt to uninstall any packages related to Python as far as it goes
<2> there's a little tool called rm
<5> xihr: Looks like it's a problem primarily on Fedora.
<4> ah ok then to remove....i go with rpm...
<2> I've seen complaints with every single disribution
<2> distribution*
<5> Hm, I remember .deb based people having problems with the naughty -dev packages, but nothing beyond that.
<5> Then again, I have a terrible memory.
<2> we've seen them all here
<4> however...when i install the fedora distro
<4> python is working
<2> well you just said you were using Fedora so now you're not making any sense
<4> the reason is that installing gelato that is a gpu software for rendering...i have got some ****
<4> couse it is using python 2.3
<2> you're going to have to make some sense at some point if you want help
<4> i am not sure about what happen
<2> congratulations, welcome to the club
<4> hehehe
<4> i installed linux box
<4> and python was working
<4> then i put gelato
<2> if you want help with these kinds of things, you're going to have to ask questions that are coherent and clear enough in a way that people can answer you
<2> otherwise no one can help you
<4> that installed some python 2.3 ****
<2> what is "gelato"
<4> i think,....
<4> gelato is nvidia software that use gpu to render
<4> so
<2> so how are we supposed to fix that for you?
<4> after all this
<4> i have this error
<4> when i sartat the python shell
<4> i tried many thinkg with a guyz that gave me help....
<2> the error about import site failing means that your installation is broken
<4> and he told me the only different stuff we have....are in the path
<2> only you have any idea how your installation got broken
<4> ok
<4> i deinstalled all python related stuff
<4> and then reinstalled
<4> and is not working fine
<2> if "gelato" is responsible, then you need to talk to whoever did that
<2> we can't read minds or see the state of your machie
<4> i use the python distro from the installation dvvd
<2> machine
<2> uninstall everything, reinstall it
<2> if you're invoking old broken interpreters, adjust your PATH
<2> if you don't know how to do that, read a Unix tutorial
<4> exaclt
<4> which path
<2> read a Unix tutorial
<4> i mena i do not have in the path the python executalbe
<4> i have in mind that the prob is a really stupid prob
<4> is it normal that the site-packages is not included in the python path?
<2> we have no possible way of knowing where Python is installed on your machine
<2> if you installed it manually it's probably in /usr/local
<4> ok but i look the path in print sys.path
<2> sys.path tells you where PYTHON is looking for MODULES
<2> not the VERSION of PYTHON you are RUNNING
<2> clear?
<4> and the python site packages is not included..in that path
<2> thanks for completely not listening to what i just said
<4> ok
<4> listen only this:) please....
<4> if i do print sys.path
<2> your problem does not have anything to do with sys.path
<2> your problem is that the installation is broken
<4> and in that printed path...ido not have the usr/lib/python2.4/


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #python
or
Go to some related logs:

#politics
teflon carsonogenic
#freebsd
#politics
#politics
sql server default admin name
#visualbasic
#windows
chromakey, flash8
#winxp



Home  |  disclaimer  |  contact  |  submit quotes