Compile into executable?

200 views
Skip to first unread message

bg

unread,
Feb 8, 2011, 7:46:33 PM2/8/11
to psychopy-users
Hi, before I delve into PsychoPy, I would like to know if it's
possible to fully compile experiments, so that they can be run either
from an executable or from a shortcut that would launch the experiment
automatically (without a research assistant present). These are
characteristics I require, and would rather find this information out
before starting a project in PsychoPy rather than after.

Thanks in advance

Gary Lupyan

unread,
Feb 8, 2011, 10:41:35 PM2/8/11
to psychop...@googlegroups.com
Hi there, please search the psychopy-users for archive for recent
discussions of this issue. The short answer is that there are too
many dependencies to be bundled into an executable. However, once
python/psychopy is installed on the machine, the subject would be able
to just click on the experiment file and it will run.

-----------------------------------------------------
Gary Lupyan - lup...@wisc.edu
Assistant Professor of Psychology
University of Wisconsin, Madison
http://mywebspace.wisc.edu/lupyan/web/
-----------------------------------------------------

> --
> You received this message because you are subscribed to the Google Groups "psychopy-users" group.
> To post to this group, send email to psychop...@googlegroups.com.
> To unsubscribe from this group, send email to psychopy-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/psychopy-users?hl=en.
>
>

Jonathan Peirce

unread,
Feb 9, 2011, 4:02:57 AM2/9/11
to psychop...@googlegroups.com
This question comes up so often I'm starting to wonder why. Is there
*any* system that allows an individual experiment to be compiled and
sent off to a colleague without them installing software to run it?

Jon

--
Dr. Jonathan Peirce
Nottingham Visual Neuroscience

http://www.peirce.org.uk/


This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

Gary Strangman

unread,
Feb 9, 2011, 7:52:08 AM2/9/11
to psychop...@googlegroups.com

[Well, there are always the web-based ones. But they of course don't
have the capabilities of psychopy ...]


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Yaroslav Halchenko

unread,
Feb 9, 2011, 8:51:56 AM2/9/11
to psychop...@googlegroups.com
as I have mentioned before, for Linux systems:
http://www.stanford.edu/~pgbovine/cdepack.html
as long as the kernel is the same architecture (i.e. x86 vs x86_64)


CDEpackrat

CDEpack is a tool that automatically packages up your Linux programs
so that they can run on other computers with no installation or configuration,
thereby eliminating dependency hell.

CDEpack makes it easy to perform reproducible research, share research
prototypes, run software in non-native environments, deploy applications to the
cloud, and create reproducible bug reports.


On Wed, 09 Feb 2011, Jonathan Peirce wrote:

> This question comes up so often I'm starting to wonder why. Is there
> *any* system that allows an individual experiment to be compiled and
> sent off to a colleague without them installing software to run it?

> Jon
--
=------------------------------------------------------------------=
Keep in touch www.onerussian.com
Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic

marcob

unread,
Feb 9, 2011, 4:06:34 PM2/9/11
to psychopy-users
I have started to use psychopy and I'm hugely impressed. I will
probably move
to psychopy (eventually) even though I have some c++ code on which I
have worked
for several years which is nice and flexible.

Having said that, not being able to create a compiled application is a
limitation.
There are three ways in which this is useful for me.
(1) I still have a few powerpc Mac in the lab and I can create
experiments on my
intel Mac and just move the app over. In other words I have target
architectures
instead of having to install the whole package on every experimental
machine. As
far as I can tell this is not an option with psychopy.
(2) I can give students an app for their projects and I can be certain
that they
cannot possibly mess anything up.
(3) I can email an app to colleagues in Italy and they get a small
file that does everything
they need. This works very well for me, sometimes I end up sending
several versions in a day,
as compiling and emailing these small files is quick.

If I am not mistaken even with Matlab it is possible to create
something similar
to an executable (but I may be wrong, this is just from memory, I
don't use Matlab myself).

Of course there may be ways around these problems. I could try to
install psychopy
on the old Macs, although I will probably just wait for them to
retire, I can tell my colleagues
in Italy to install psychopy, and I can trust my students a bit more.

So, don't get me wrong, psychopy is wonderful and I want to say a big
thanks to Jon,
but creating applications does make life easier, at least for me.
Still, just a minor
limitation in an otherwise fantastic package.

all the best, Marco


On Feb 9, 9:02 am, Jonathan Peirce <jonathan.pei...@nottingham.ac.uk>
wrote:
> This question comes up so often I'm starting to wonder why. Is there
> *any* system that allows an individual experiment to be compiled and
> sent off to a colleague without them installing software to run it?
>
> Jon
>
> On 09/02/2011 03:41, Gary Lupyan wrote:
>
>
>
>
>
> > Hi there, please search the psychopy-users for archive for recent
> > discussions of this issue.  The short answer is that there are too
> > many dependencies to be bundled into an executable.  However, once
> > python/psychopy is installed on the machine, the subject would be able
> > to just click on the experiment file and it will run.
>
> > -----------------------------------------------------
> > Gary Lupyan - lup...@wisc.edu
> > Assistant Professor of Psychology
> > University of Wisconsin, Madison
> >http://mywebspace.wisc.edu/lupyan/web/
> > -----------------------------------------------------
>
> > On Tue, Feb 8, 2011 at 6:46 PM, bg<brigl...@gmail.com>  wrote:
>
> >> Hi, before I delve into PsychoPy, I would like to know if it's
> >> possible to fully compile experiments, so that they can be run either
> >> from an executable or from a shortcut that would launch the experiment
> >> automatically (without a research assistant present). These are
> >> characteristics I require, and would rather find this information out
> >> before starting a project in PsychoPy rather than after.
>
> >> Thanks in advance
>
> >> --
> >> You received this message because you are subscribed to the Google Groups "psychopy-users" group.
> >> To post to this group, send email to psychop...@googlegroups.com.
> >> To unsubscribe from this group, send email to psychopy-user...@googlegroups.com.
> >> For more options, visit this group athttp://groups.google.com/group/psychopy-users?hl=en.

anna

unread,
Feb 17, 2011, 8:18:59 AM2/17/11
to psychopy-users

Hi,
Could you please explain how to make the experiment run just by
clicking on the experiment file?
When I click on the experiment file, both console window and builder
view are opening and
I can run the experiment only by pressing "Run" button

Using the latest standalone version on Windows

Thank you
Anna

On Feb 9, 5:41 am, Gary Lupyan <glup...@gmail.com> wrote:
> Hi there, please search the psychopy-users for archive for recent
> discussions of this issue.  The short answer is that there are too
> many dependencies to be bundled into an executable.  However, once
> python/psychopy is installed on the machine, the subject would be able
> to just click on the experiment file and it will run.
>
> -----------------------------------------------------
> Gary Lupyan - lup...@wisc.edu
> Assistant Professor of Psychology
> University of Wisconsin, Madisonhttp://mywebspace.wisc.edu/lupyan/web/
Reply all
Reply to author
Forward
0 new messages