Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Pyzmq and portable python

edited June 2014 in OpenSesame

I have been working on an experiment to communicate between two computers. I have coded it in pyzmq. I need a way to utilize pyzmq in openSesame. From what I have seen it can be run in the python portable package. I need slightly more specifics on this. Also, the portable documentation page (http://osdoc.cogsci.nl/getting-started/running-with-python-portable/) is broken.

Comments

  • edited 12:28PM

    A general note up front: pyzmq is not packaged with the standalone version of OpenSesame. I assume this is because it gives some trouble when you try to package it using py2exe (although there is a workaround, to still include it), but @sebastiaan should be able to confirm this.

    The portable package is based on WinPython, which contains both a nice package manager (so you can install pyzmq if it's missing) and a full version of Spyder. Any testing you wish to do, you could do in Spyder (or IPython or a standard Python console, whichever you prefer).

    In OpenSesame, using any external package is very straightforward: simply use import pyzmq, and then proceed as normal. This can be done via the Debug Window (which acts as a console, useful for testing), or in inline_script items.

    Regrettably, I can't give you any specific information on pyzmq, as I have never used it before.

    Thanks for the tip on the linkrot! Where did you find the reference to that url? The proper link is this one: http://osdoc.cogsci.nl/getting-opensesame/running-with-python-portable/

    Good luck!

Sign In or Register to comment.