csound 5 and python 25

With the latest csound, 5, and python25 as it comes with the csound installer for windows, I cannot generate a random number a.o. the message
Traceback (most recent call last):
File "", line 4, in ?
ImportError: No module named random

appears whatever I try with path's and moving the random.py file. It alle results in un-understandable messages. Can anybody help ??

regards,
Gerard

Hi Gerard, I'm not sure -

Hi Gerard,
I'm not sure - since I use gnu/Linux and I've never installed csound on Windows - but I guess that the csound installer installs only the python language dll. So, you still need to install the whole python distribution if you want to use/import the modules that come with it (like random).

Cheers,

-c.

gerard Thanks for the

gerard
Thanks for the response,
yes it does install the dll, and PYTHON 5 was installed already, apart from the python4 dll I added the python 5 dll also. I tried copying the random.py file to various folders that appeared relevant but with no succes: Csound does not want to generate random numbers apparently, which is a pitty for me trying to make some examples run.

I don't think it's related

I don't think it's related to Csound. Where are you writing the python code? Are you using the python Opcodes?

Try to launch python from the command line and - at the prompt - execute 'import random'. If you get the same error it's your python installation that went wrong.

Best,

-c.

I was testing using the

I was testing using the tutorial folder in the Csound directory. Now, however, I uninstalled everything, python and csound, and reinstalled it. the csnound installer said it would download and install python 2.5.2 which it didn't. So Uninstalled csound again. Installed python 2.5.2 (does not have a python25.dll) and installed sound again. And now the python dll's are gone. Python works with the imported csnd etc. But csound does not recognize the pyinit opcode so I cannot write csd files with python opcodes.
Getting desparate here

gerard

buy viagra uk kamagra uk z pack zpack ed pills cialis uk viagra online staxyn Canadian pharmacy cialis online z-pack zpak buy zithromax ed drugs generic viagra viagra uk avanafil generic cialis cheap generic viagra z pak pharmacy uk z-pak Canadian pharmacy viagra