![]() Including core.quit() at the end of the script is the key if you do not want to restart the IPython kernel after running a script. One strange thing remains: I have to restart the IPython kernel after running the script. I have also tried to implement the LSL protocol through one of. ![]() I have developed my experiment mainly through the builder interface of psychopy, I am now trying to synchronize timing between the 2 and I am struggling The code for the stroop task is for the tobi eye tracker. Within the terminal: source activate psychopyenv # move to your anaconda psychopy environmentĬonda remove -name psychopyenv pyglet1.2 # delete the current version of pygletĬonda install -c jcarlin pyglet # install pyglet 1.2.4 from a different channelĪfterwards, I was able to run my psychopy scripts in the spyder editor. Hello All, Has anyone tried to integrate pupil labs eye tracker into Psychopy I am new to research and programming. so python and pyglet somehow thought I wanted to run the script on a Mac OSX <10.Īnaconda-based Solution (if you followed this initial installation): (You can easily verify this with the conda list command. Remember, the exception was: Exception: pyglet is not compatible with 64-bit Python for versions of Mac OS X prior to 10.6. Typically upgrading Python goes as expected, but if you somehow end up with both python 3.7.0 and openssl packages installed simultaneously there will be two libssl-11-圆4.dll files and your Anaconda distribution will be broken. Now that most python libraries can be install using pip it’s relatively easy to manually install PsychoPy and all it’s dependencies to your own installation of Python. Hopefully this will help other people as well:Īccording to this forum post the problem with pyglet does not lie in the 64bit but rather in a broken version check of mac OSX. My laptop is a Macbook pro (2015) with OSx Mojave 10.14.4.After searching through the Internet for the rest of the day, I found a solution that works for me. I understand that my questions are probably too simple or obvious for most of you, but I am still a bit new using the terminal and some coding languages. See the links below for more information under Creating an environment from an. ![]() Use nano or another text editor to copy the contents of the yml file to create the environment as described on the psychopy installation page. So that seems to indicate that I had two different copies of Psychopy in my computer, one that corresponded to the deleted file and other which might be the libraries in my anaconda folders.ġ Do these (standalone file and psychopy scripts) psychopy copies are independent versions?Ģ How can I check what is the psychopy version that I am actually using?ģ Do I need the standalone psychopy (the file) in order to use the builder?Ĥ What it is the proper way to complete uninstall all the previous versions of psychopy from my computer? (I could not find this information in the forum/documentation) The file is only the yml file which you can use to create an anaconda environment. I’ve tried adding paths to the preferences like I. ![]() What did you try to make it work: Installed it following 3 different sets of install instructions and running the commands. However, now that I’m trying to run my program on a PC with Windows 7, I’m having no luck at all. What are you trying to achieve: launch psychopy from anaconda. On OSX I had no problem adding a path in PsychoPy’s preferences so that it could find the module in my Anaconda installation. More importantly, Your code runs the same joinfield for every row in your. Believing that psychopy was uninstalled from my computer I moved back to spyder and I tried to lunch the psychopy experiment and it worked, probing that I was wrong and psychopy is still installed. Hi all, I’ve been having the most difficult time getting PsychoPy (v1.85.6) to successfully import from sklearn. core, event import some libraries from PsychoPy. I have recently deleted the Psychopy standalone file from the Applications folder. experiment from psychopy import visual, core, event import some libraries from PsychoPy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |