Howdy, Stranger!

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

Supported by

using PyGaze in Spyder

Hi there,


I'm currently doing my PhD in Experimental Psychology; and have to use Python for designing my experiments.


Problems are as follows:

According to my MacBook, I've managed to install PyGaze however, when I run the script in Spyder, it tells me 'PyGaze module not found'


Computer spec:

MacBook Pro 16in

Intel i9

64GB

4GB GPU

Any help would be appreciated for this

Comments

  • edited February 2021

    A slightly better specification of the problem would go a long way in debugging this:

    1. How did you install PyGaze?
    2. How did you verify that the installation worked? ("According to my MacBook" -> how did you ask it, and what was its response, verbatim?)
    3. Following on from 1&2: Are you using Spyder from the same Python environment that you installed PyGaze in?

    As a general aside, I'd strongly recommend directly running your scripts from the terminal. (Open Terminal -> use `cd` command to go to folder with your script -> use python install to run script, e.g. `python example.py`; assuming the python alias references your preferred Python environment, otherwise use a full path to preferred python environment) Running them in a development like Syder means you'll have to deal with its overheads and potential interactions. (Sounds minor until your script crashes and you can't access Spyder's IPython terminal.)

Sign In or Register to comment.