Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with Mac OS and Linux #10

Open
DominiqueMakowski opened this issue Nov 6, 2016 · 10 comments
Open

Compatible with Mac OS and Linux #10

DominiqueMakowski opened this issue Nov 6, 2016 · 10 comments

Comments

@DominiqueMakowski
Copy link
Member

It would be great.

@DominiqueMakowski
Copy link
Member Author

With mac it seems to work, however there might be an issue with the cvxopt package used for signal processing... further checking is required

@hndr91
Copy link
Contributor

hndr91 commented Aug 22, 2017

go/nogo task example running well on my mac v10.11

@cMadan
Copy link

cMadan commented Aug 24, 2017

@hndr91 - What mac hardware did you use?

@hndr91
Copy link
Contributor

hndr91 commented Aug 24, 2017

I'm using macpro 13 model mid-2012 running on el capitan @cMadan

@cMadan
Copy link

cMadan commented Aug 25, 2017

Hmm, I would've guessed the issue was related to my hardware being older, but it's the other way around... Macbook Pro 15", Late 2013, also El Capitan

@DominiqueMakowski
Copy link
Member Author

@cMadan As neuropsydia is built on top of pygame, does this minimal pygame code works?

import pygame
from pygame.locals import *

pygame.init()


screen = pygame.display.set_mode((640, 480))

pygame.draw.rect(screen, (128, 128, 128), (0, 0, 20, 20))
pygame.draw.rect(screen, (0, 128, 255), (40, 200, 30, 20))
pygame.draw.rect(screen, (255, 255, 0), (200, 20, 20, 80))

pygame.display.update()

pygame.time.wait(5000)
pygame.display.quit()

It should draw 3 rectangles on a screen, wait for 5 s and then quit.

@hndr91
Copy link
Contributor

hndr91 commented Aug 25, 2017

maybe my gist can be helpful. I forgot, maybe I had problem with pygame too back then.

@cMadan
Copy link

cMadan commented Nov 10, 2017

Minimal pygame does work fine

@DominiqueMakowski
Copy link
Member Author

Update: it worked on MacOS Yosemite.

Installation steps were:

  1. install anaconda with python 3.6
  2. open macOS terminal
  3. (run source activate root, altough I'm not sure about that step, better try first without it)
  4. run pip install neuropsydia

@jbcoffin
Copy link

jbcoffin commented May 3, 2021

Neuropsydia.py doesn't work with linux (Ubuntu 20.04.2 LTS).
pygame is ok

import neuropsydia as n
AttributeError: module 'ctypes' has no attribute 'windll'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants