Page 1 of 1

PyBuzz and full python install

Posted: Sat May 24, 2014 10:02 pm
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!

Re: PyBuzz and full python install

Posted: Sat May 31, 2014 6:21 pm
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!

Re: PyBuzz and full python install

Posted: Sun Jun 01, 2014 1:40 am
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

Re: PyBuzz and full python install

Posted: Tue Jun 03, 2014 3:50 pm
by bomgaroto
Hi,

Thank you. That's definitely much better!

Cheers!

Re: PyBuzz and full python install

Posted: Sat Apr 30, 2016 8:57 am
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 ?