Hello, I've been trying to install psychopy using pip install psychopy but I keep hitting into this error. Googling online tells me to use pip --upgrade setuptools / downgrading python version. I did upgrade setuptools but still get the error and I don't want to downgrade python version unless absolutely necessary. Is there any way to fix this package error? Thanks in advance!
#🔒 Trying to install psychopy gives error module 'pkgutil' has no attribute 'ImpImporter'
30 messages · Page 1 of 1 (latest)
@dreamy scaffold
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
can you paste a transcript, or a screenshot, of your session where you tried to install it?
im using conda through vs code
do you want me to upload a ss of the cmd terminal?
well iiuc it doesn't work with 3.12; I'm installing it myself and it insists on 3.10
oh you're using a much older version
I don't think that version is supported any more; it doesn't appear at https://pypi.org/project/psychopy/#files
... and my installation failed with ERROR:: Could not find a local HDF5 installation.
It's trying to install numpy<1.24.0
wait the command is still pip install psychopy
which is what im using
do i have to build it locally?
beats me.
might be easier to downgrade python
I suspect you need to use python3.10 and the current version of psychopy
there are binaries at https://github.com/psychopy/psychopy/releases/tag/2023.1.3
might be easier
the binaries i think mention python 3.10 as well
ill just downgrade to 3.10 through conda and see where that lands me
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.