Crash during startup with the following log error in miniconda

Hi
I installed psycopy (224.2.0, also tried other versions) in Minionda

When I try to start the program, I see the white welcome screen for a few seconds, then it crashes without any output in the console. Looking at the last_app_load.log, I see the following error:

File “C:.….conda\envs\test7\lib\site-packages\psychopy\tools\pkgtools.py”, line 122, in refreshPackages
distName = dist.name
AttributeError: ‘PathDistribution’ object has no attribute ‘name’

Installed are the following packages:
Package Version


arabic-reshaper 3.0.0
astunparse 1.6.3
beautifulsoup4 4.12.3
blosc2 2.5.1
certifi 2024.8.30
cffi 1.17.1
charset-normalizer 3.4.0
contourpy 1.3.0
cryptography 44.0.0
cycler 0.12.1
dukpy 0.2.3
elementpath 4.6.0
esprima 4.0.1
et_xmlfile 2.0.0
ffpyplayer 4.5.2
fonttools 4.55.2
freetype-py 2.5.1
future 1.0.0
gevent 24.11.1
gitdb 4.0.11
GitPython 3.1.43
greenlet 3.1.1
html2text 2024.2.26
idna 3.10
imageio 2.36.1
imageio-ffmpeg 0.5.1
importlib-metadata 3.4.0
importlib_resources 6.4.5
javascripthon 0.13
jedi 0.19.2
json-tricks 3.17.3
kiwisolver 1.4.7
markdown-it-py 3.0.0
matplotlib 3.9.3
mdurl 0.1.2
msgpack 1.1.0
msgpack-numpy 0.4.8
ndindex 1.9.2
numexpr 2.10.2
numpy 1.26.4
opencv-python 4.10.0.84
openpyxl 3.1.5
packaging 24.2
pandas 2.2.3
parso 0.8.4
pillow 11.0.0
pip 24.3.1
psutil 6.1.0
psychopy 2024.2.0
psychtoolbox 3.0.19.14
py-cpuinfo 9.0.0
pycparser 2.22
pygame 2.6.1
pyglet 1.4.11
pyo 1.0.5
pyparallel 0.2.2
pyparsing 3.2.0
pypi-search 2.0
pypiwin32 223
PyQt6 6.7.1
PyQt6-Qt6 6.7.3
PyQt6_sip 13.9.0
pyserial 3.5
python-bidi 0.6.3
python-dateutil 2.9.0.post0
python-gitlab 5.1.0
python-vlc 3.0.11115
pytz 2024.2
pywin32 308
pyWinhook 1.6.2
PyYAML 6.0.2
pyzmq 26.2.0
questplus 2023.1
requests 2.32.3
requests-toolbelt 1.0.0
scipy 1.13.1
setuptools 66.1.1
six 1.17.0
smmap 5.0.1
soundfile 0.12.1
soupsieve 2.6
tables 3.9.2
tzdata 2024.2
ujson 5.10.0
urllib3 2.2.3
websocket-client 1.8.0
websockets 14.1
wheel 0.45.1
wxPython 4.2.2
xarray 2024.7.0
xmlschema 3.4.3
zipp 3.21.0
zope.event 5.0
zope.interface 7.2

Any help is very much appreciated! Thank you so much! Best regards Philipp

I am also having the same problem, except in ubuntu 22.