Psychopy experiment on USB

557 views
Skip to first unread message

Mal

unread,
Feb 1, 2012, 6:17:20 PM2/1/12
to psychopy-users
I'm new at creating programs and need to find a way to run a psychopy
experiment straight from a USB flash, so that it can be run on
multiple computers. Is this possible, and how do I do it? When I go
to install the program on the USB it creates the main icon for
psychopy in my programs file on my computer's hard drive and not on
the USB. I'm unable to then open the program from any other
computer. Anyone know of a solution that a newbie like me can figure
out?

He Jibo

unread,
Feb 1, 2012, 11:10:53 PM2/1/12
to psychop...@googlegroups.com
I think you need a portable (standalone) python and psychopy.
---------------------------
He Jibo
Department of Psychology,
Beckman Institute for Advanced Science and Technology
University of Illinois, Urbana Champaign,
603 East Daniel St.,
Champaign, IL 61820
website: www.hejibo.info



--
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.


Rebecca Sharman

unread,
Feb 2, 2012, 5:38:56 AM2/2/12
to psychop...@googlegroups.com
I'm not completely certain, but as far as I understand it you have to have Psychopy
installed on any computer that you want to run the program on. I don't think there
is any kind of portable version that you can have installed just on a USB stick, due to
how Python works in the system. You can have the libraries on a USB stick and work from
those but I don't think the application itself would work.

Sorry I can't be more help,

Becky

Yaroslav Halchenko

unread,
Feb 2, 2012, 8:47:16 AM2/2/12
to psychop...@googlegroups.com
actually I think that there is a way to achieve the goal especially for
pre-specified designs (to assure that all needed pieces are picked up)
as long as you stay on some Linux -- have a look at

http://www.stanford.edu/~pgbovine/cde.html

CDE: Automatically create portable Linux applications

CDE (formerly known as CDEpack) automatically packages up the Code, Data,
and Environment required to deploy and run your Linux programs on other
machines without any installation or configuration. CDE is the easiest way to
completely eliminate dependency hell.


On Thu, 02 Feb 2012, Rebecca Sharman wrote:

> I'm not completely certain, but as far as I understand it you have to have
> Psychopy
> installed on any computer that you want to run the program on. I don't
> think there
> is any kind of portable version that you can have installed just on a USB
> stick, due to
> how Python works in the system. You can have the libraries on a USB stick
> and work from
> those but I don't think the application itself would work.

> Sorry I can't be more help,

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

Jonathan Peirce

unread,
Feb 2, 2012, 9:22:48 AM2/2/12
to psychop...@googlegroups.com
Also for a mac, you can simply drag the application bundle onto the usb
drive. Job done!

For windows it probably isn't too far away except I'm not sure what
happens with paths. The only file that PsychoPy installs outside its own
prog-files folder is the avbin library (for movie playback). So moving
the entire application folder to the usb stick will pretty much do the
job. The problem is creating the shortcut (like the one in the start
menu) pointing to the correct (relative) locations of python.exe and
psychopyApp.py rather than their absolute location on a disk. But my
hunch is that that would work too. There might conceivably be some other
path issues though.

Mac or linux seem more sensible for this.

Jon

On 02/02/2012 13:47, Yaroslav Halchenko wrote:
> actually I think that there is a way to achieve the goal especially for
> pre-specified designs (to assure that all needed pieces are picked up)
> as long as you stay on some Linux -- have a look at
>
> http://www.stanford.edu/~pgbovine/cde.html
>
> CDE: Automatically create portable Linux applications
>
> CDE (formerly known as CDEpack) automatically packages up the Code, Data,
> and Environment required to deploy and run your Linux programs on other
> machines without any installation or configuration. CDE is the easiest way to
> completely eliminate dependency hell.
>
>
> On Thu, 02 Feb 2012, Rebecca Sharman wrote:
>
>> I'm not completely certain, but as far as I understand it you have to have
>> Psychopy
>> installed on any computer that you want to run the program on. I don't
>> think there
>> is any kind of portable version that you can have installed just on a USB
>> stick, due to
>> how Python works in the system. You can have the libraries on a USB stick
>> and work from
>> those but I don't think the application itself would work.
>> Sorry I can't be more help,
>> Becky

--
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.

Aimee Surprenant

unread,
Nov 4, 2015, 9:47:09 AM11/4/15
to psychopy-users
Have things changed since this post? I'm trying to run Psychopy from a USB stick and it says I need Xcode. Thanks for any help. Aimee
Reply all
Reply to author
Forward
0 new messages