PyBuzz and full python install

Post Reply
User avatar
bomgaroto
Posts: 22
Joined: Thu Dec 22, 2011 7:44 pm

PyBuzz and full python install

Post by bomgaroto »

Hi,

I have installed PyBuzz and it works fine with the python modules and example script shipped with it.

Now I just installed a full Python 2.7 (the latest stable in http://www.python.org) but cannot get PyBuzz to 'see' it. Any pointers? I have already tried copying the Python27.lib that I found in my Windows folder to Buzz's root but to no avail.

I can get it to work if I manually append all needed Python27 folders to the sys.path list after opening PyBuzz. However I have a feeling that this is not the best way to do it. How can I use a full Python 2.7 distribution with PyBuzz?

Using Windows 7 Professional and latest Buzz x86 release (1495). Also latest PyBuzz I found in http://sourceforge.net/projects/pybuzz/

Any help greatly appreciated,

Cheers!

User avatar
bomgaroto
Posts: 22
Joined: Thu Dec 22, 2011 7:44 pm

Re: PyBuzz and full python install

Post by bomgaroto »

Hi there,

Adding my own reply for the record.

To get access to a full python distribution you have to copy the folders from the Python distribution to Buzz root folder. For example, if we install the Python distribution in say C:\Python27, then we have to copy the folders that are inside (\DLL,\site-packages,\lib,&c.) and paste them into the Buzz root folder.

Next time you open PyBuzz they'll be available.

The problem now is that because of changes since Python 2.4, lots of modules raise errors (for example in the case of conditional expressions). I guess that I should now figure out a way to re-compile PyBuzz for these new Python distributions. If anyone has been there I'd greatly appreciate any help.

Cheers!

mute
Posts: 383
Joined: Mon Nov 21, 2011 8:30 pm

Re: PyBuzz and full python install

Post by mute »

no need to mess up your buzz dir, just add the python directories to your system paths. sorry i didn't see your post earlier.. here's a how to @ stackoverflow:
http://stackoverflow.com/a/6318188
with pics: http://stackoverflow.com/a/4855685

User avatar
bomgaroto
Posts: 22
Joined: Thu Dec 22, 2011 7:44 pm

Re: PyBuzz and full python install

Post by bomgaroto »

Hi,

Thank you. That's definitely much better!

Cheers!

zeffii
Posts: 15
Joined: Thu Dec 08, 2011 8:15 pm

Re: PyBuzz and full python install

Post by zeffii »

thanks for this post. can't wait to get some python into a buzz tune! Any chance this will work with my local py 3.x ?

Post Reply