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
[Bug]: Can't run PsychoPy after conda installation on Mac Sonoma #6267
Comments
Is there a reason you can't just install Standalone PsychoPy? That will work. In my experience, too many things go wrong with conda python packages and we don't have time for the core staff to go fixing them. |
Hello, I authored the issue #6261, and I can confirm at least that the command line run of |
@peircej Not specifically, but generally I much rather prefer working in my IDE than in psychopy's own coder for multiple reasons. Nevertheless, working with the stand-alone application is a reasonable alternative nonetheless. @tomdstone Same for me. I just tried installing psychopy using pip, which initially gave me an error that it does not find hdf5. So I installed hdf5 using So far it seems to work and I can run psychopy from my VS Code. Maybe that works for you as well. |
Right I completely forgot that I had to install HDF5 too |
I was also having issues getting PsychoPy installed with conda using the instructions from the Install page. I put together a video of the approach that eventually worked for me: PsychoPy - Manual install via Conda (PsychoPy in VSCode) |
Thanks @susanBuck
(Maybe the first point on (3) is to point out that conda support for psychopy is community-based support) |
PsychoPy Version
2022.2.5
What OS are your PsychoPy running on?
macOS Silicon
Bug Description
I followed the installation instructions to create a conda psychopy environment as described on the website. For this i had to change the requested python version line in the .yml to
python>=3.8
as suggested in another issue.When running
psychopy
in the command line after activating the created environment i get the error that you can see in the attached file. When running import in a python file I get theNo module names 'psychopy'
error.Currently I am running on a November 2023 MacBook Pro with Sonoma 14.3.1
and have installed PsychoPy 2022.2.5
My python version in the environment is Python 3.10.13 and Conda 23.10.0
If I have missed something obvious or the issue is already known, please point me in the right direction. Thanks
Expected Behaviour
Seamless installation of the psychopy package (I guess) and working with psychopy in Visual Studio code.
Steps to Reproduce
python=3.8
topython>=3.8
conda env create -n psychopy -f psychopy-env.yml
psychopy
Additional context
No response
The text was updated successfully, but these errors were encountered: