Problem installing parallel port plugin
Hi everyone,
I need the parallel-port plugin in oder to send triggers.
So I tried to install the parallel-port plugin according to this directions:
http://osdoc.cogsci.nl/3.1/manual/environment/
I have copyed the opensesame_plugin_-_parallel_port_trigger-master folder into C:\Program Files (x86)\OpenSesame\share, so it is there.
Then I used
import pip
pip.main(['install', 'opensesame_plugin_-_parallel_port_trigger-master'])
But the following error-message occurs:
Collecting opensesame_plugin_-parallel_port_trigger-master
Could not find a version that satisfies the requirement opensesame_plugin-parallel_port_trigger-master (from versions: )
No matching distribution found for opensesame_plugin-_parallel_port_trigger-master
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
When I try upgrading the pip with the given command this error occurs:
python -m pip install --upgrade pip
Exception in execute request:
File "", line 1
python -m pip install --upgrade pip
^
SyntaxError: invalid syntax
Can you help me?
Thank you a lot!
Pia
Comments
Solved it! (Sorry for asking, but at the time I really had no ideas left). Had to copy the two subfolders of the opensesame_plugin_-_parallel_port_trigger-master folder in the plugin directory directly.
Hey Pia. Do you mind detailing how you solved this issue. Im having the same trouble, even after copying the subfolders into the pluggin directory
Hello,
I had some problems with the parallel port plugin and OpenSesame 3.1.6.
Here it is how I solved.
Download the plugin and unzip it, open the file parallel_port_trigger_init.py (in the folder parallel_port_trigger_init)
Change the row 125 as follows:
debug.msg(u'Resetting the parallel port on address: %s'.format(self.pptrigger_value,self.experiment.pptrigger_port))
Copy the folders in the plugins directory in c:\Program Files (x86)\OpenSesame\share\opensesame_plugins\ (2 different folder parallel_port_trigger_init, parallel_port_trigger)
And then at the start of your experiment you have to put a parallel_port_trigger_init
Open the object and select the script view.
Add the following statement and choose "Apply and close"
set pptrigger_value 0
I hope it's help
Paolo