Windowsでpsychopy.visualを使えるようにする
https://qiita.com/yuta-takahashi/items/aef9b7f4a351e2025601
の記事にならってpsychopyを導入。
$ pip3 install psychopy
Collecting psychopy
Downloading https://files.pythonhosted.org/packages/22/89/e0053791e95c764e967d3457386c72cbcce37d01021357c28689da05de16/PsychoPy-3.1.5.zip (12.2MB)
|████████████████████████████████| 12.2MB 2.3MB/s
Requirement already satisfied: requests[security] in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (2.22.0)
Requirement already satisfied: numpy in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (1.13.3)
Requirement already satisfied: scipy in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (0.19.1)
Requirement already satisfied: matplotlib in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (2.0.2)
Requirement already satisfied: pandas in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (0.24.2)
Requirement already satisfied: pillow in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (4.1.1)
Collecting pyglet (from psychopy)
Downloading https://files.pythonhosted.org/packages/9b/02/abad3e277018312baf17f739539309d065597d0dfd224d5645df863ef5c8/pyglet-1.4.1-py2.py3-none-any.whl (1.0MB)
|████████████████████████████████| 1.0MB 21.4MB/s
Collecting pyopengl (from psychopy)
Downloading https://files.pythonhosted.org/packages/9c/1d/4544708aaa89f26c97cc09450bb333a23724a320923e74d73e028b3560f9/PyOpenGL-3.1.0.tar.gz (1.2MB)
|████████████████████████████████| 1.2MB 35.8MB/s
Collecting soundfile (from psychopy)
Downloading https://files.pythonhosted.org/packages/d2/06/58d71f2041bc89919f56a69f8f2b9535a55d513bb005fbe4f8ee5d367170/SoundFile-0.10.2-py2.py3.cp26.cp27.cp32.cp33.cp34.cp35.cp36.pp27.pp32.pp33-none-macosx_10_5_x86_64.macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl (616kB)
|████████████████████████████████| 624kB 24.9MB/s
Collecting sounddevice (from psychopy)
Downloading https://files.pythonhosted.org/packages/f4/ab/c1d3e9c9fae80286fd4634b9cf8ae33a00dbb74aea4c0280b3b3005d1976/sounddevice-0.3.13-py2.py3.cp26.cp27.cp32.cp33.cp34.cp35.cp36.cp37.cp38.pp27.pp32.pp33.pp34.pp35.pp36-none-macosx_10_6_x86_64.whl (77kB)
|████████████████████████████████| 81kB 24.2MB/s
Collecting python-bidi (from psychopy)
Downloading https://files.pythonhosted.org/packages/33/b0/f942d146a2f457233baaafd6bdf624eba8e0f665045b4abd69d1b62d097d/python_bidi-0.4.2-py2.py3-none-any.whl
Collecting arabic_reshaper (from psychopy)
Downloading https://files.pythonhosted.org/packages/1c/b8/9f87dc2fc6c2e087e448db9e7f66ca4d68c22e9d49a95e5aad22d77c74f1/arabic_reshaper-2.0.15-py3-none-any.whl
Requirement already satisfied: cffi in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (1.10.0)
Collecting future (from psychopy)
Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
|████████████████████████████████| 829kB 34.9MB/s
Collecting json_tricks (from psychopy)
Downloading https://files.pythonhosted.org/packages/2e/63/f048ac8e95b475b8fa1e1ef7c3e1ca3f15e5fe32bf2c179f3ec2c67c8834/json_tricks-3.13.1.tar.gz
Collecting pyosf (from psychopy)
Downloading https://files.pythonhosted.org/packages/d1/fa/091aea0dcd05cdc484b33d9556f648af966457882e38733b64a4c3728dd6/pyosf-1.0.5-py2.py3-none-any.whl
Requirement already satisfied: xlrd in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (1.0.0)
Requirement already satisfied: openpyxl in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (2.4.7)
Collecting pyserial (from psychopy)
Downloading https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl (193kB)
|████████████████████████████████| 194kB 30.8MB/s
Requirement already satisfied: pyyaml in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (3.12)
Requirement already satisfied: gevent in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (1.2.1)
Collecting msgpack-numpy (from psychopy)
Downloading https://files.pythonhosted.org/packages/c8/ab/09904a909bccc471f219fb8f5d0838cbcb10cc26089a2b29e84c893e216e/msgpack_numpy-0.4.4.3-py2.py3-none-any.whl
Requirement already satisfied: msgpack-python in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (0.4.8)
Requirement already satisfied: psutil in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (5.2.2)
Requirement already satisfied: tables in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (3.4.2)
Requirement already satisfied: pyzmq in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (16.0.2)
Collecting moviepy (from psychopy)
Downloading https://files.pythonhosted.org/packages/fb/32/a93f4af8b88985304a748ca0a66a64eb9fac53d0a9355ec33e713c4a3bf5/moviepy-1.0.0.tar.gz (398kB)
|████████████████████████████████| 399kB 36.4MB/s
Collecting opencv-python (from psychopy)
Downloading https://files.pythonhosted.org/packages/71/29/79695ff18de0a5943831fdbddaeb2d746ea1636370972dfd9cc59a14ba14/opencv_python-4.1.0.25-cp36-cp36m-macosx_10_7_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (52.1MB)
|████████████████████████████████| 52.1MB 180kB/s
Collecting python-gitlab (from psychopy)
Downloading https://files.pythonhosted.org/packages/c4/d0/e4f80bf7a28129a122b0474a1d0b66972dc5e0f597607dcb1f5d7582d927/python_gitlab-1.10.0-py3-none-any.whl (66kB)
|████████████████████████████████| 71kB 21.1MB/s
Collecting gitpython (from psychopy)
Downloading https://files.pythonhosted.org/packages/3c/d3/aecfe42163233de6071248ea7565e97ba1c51e345a9e1dcc128dd1e46c1e/GitPython-2.1.13-py2.py3-none-any.whl (452kB)
|████████████████████████████████| 460kB 31.8MB/s
Collecting astunparse (from psychopy)
Downloading https://files.pythonhosted.org/packages/2e/37/5dd0dd89b87bb5f0f32a7e775458412c52d78f230ab8d0c65df6aabc4479/astunparse-1.6.2-py2.py3-none-any.whl
Collecting esprima (from psychopy)
Downloading https://files.pythonhosted.org/packages/cc/a1/50fccd68a12bcfc27adfc9969c090286670a9109a0259f3f70943390b721/esprima-4.0.1.tar.gz (47kB)
|████████████████████████████████| 51kB 18.9MB/s
Collecting freetype-py (from psychopy)
Downloading https://files.pythonhosted.org/packages/02/c9/5414ba5fc8373a2c54e238f2e52c31b6b56b628449fcc114fc58c608d928/freetype_py-2.1.0.post1-py2.py3-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.6MB)
|████████████████████████████████| 1.6MB 31.7MB/s
Collecting wxPython!=4.0.2,!=4.0.3 (from psychopy)
Downloading https://files.pythonhosted.org/packages/2e/6a/d30dbaba4200433623fc63aa30db12c0746c1088dfa585ad508f06df9440/wxPython-4.0.6-cp36-cp36m-macosx_10_9_x86_64.whl (31.3MB)
|████████████████████████████████| 31.3MB 240kB/s
Collecting pyobjc-core (from psychopy)
Downloading https://files.pythonhosted.org/packages/3c/82/c380c61edb13a46b3da3510eabf95a44c8653b967253a09129c9f284b1e9/pyobjc_core-5.2-cp36-cp36m-macosx_10_9_x86_64.whl (294kB)
|████████████████████████████████| 296kB 31.0MB/s
Collecting pyobjc-framework-Quartz (from psychopy)
Downloading https://files.pythonhosted.org/packages/d8/ea/4e5ec786c31f3ee1a7deb248d03005e610e19a09e3a725fb98c9e042ff05/pyobjc_framework_Quartz-5.2-cp36-cp36m-macosx_10_9_x86_64.whl (100kB)
|████████████████████████████████| 102kB 26.2MB/s
Requirement already satisfied: imageio>=2.5 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from psychopy) (2.5.0)
Collecting imageio-ffmpeg (from psychopy)
Downloading https://files.pythonhosted.org/packages/44/55/fd5e2e3a74870037244cf85e921eb6220ecdfd104fe231c22dc032f855d5/imageio_ffmpeg-0.3.0-py3-none-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (20.7MB)
|████████████████████████████████| 20.7MB 13.0MB/s
Collecting pyqt5 (from psychopy)
Downloading https://files.pythonhosted.org/packages/32/0f/0ba7fb39e89e331c3d9182f1a69421fa5461c232a85e0b55aea66b99e7ff/PyQt5-5.13.0-5.13.0-cp35.cp36.cp37.cp38-abi3-macosx_10_6_intel.whl (37.4MB)
|████████████████████████████████| 37.4MB 23.0MB/s
Requirement already satisfied: certifi>=2017.4.17 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from requests[security]->psychopy) (2019.6.16)
Requirement already satisfied: idna<2.9,>=2.5 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from requests[security]->psychopy) (2.5)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from requests[security]->psychopy) (3.0.3)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from requests[security]->psychopy) (1.24.2)
Requirement already satisfied: pyOpenSSL>=0.14; extra == "security" in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from requests[security]->psychopy) (17.0.0)
Requirement already satisfied: cryptography>=1.3.4; extra == "security" in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from requests[security]->psychopy) (1.8.1)
Requirement already satisfied: six>=1.10 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from matplotlib->psychopy) (1.10.0)
Requirement already satisfied: python-dateutil in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from matplotlib->psychopy) (2.6.0)
Requirement already satisfied: pytz in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from matplotlib->psychopy) (2017.2)
Requirement already satisfied: cycler>=0.10 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from matplotlib->psychopy) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from matplotlib->psychopy) (2.1.4)
Requirement already satisfied: olefile in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from pillow->psychopy) (0.44)
Requirement already satisfied: setuptools in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from arabic_reshaper->psychopy) (41.0.1)
Requirement already satisfied: pycparser in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from cffi->psychopy) (2.17)
Requirement already satisfied: jdcal in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from openpyxl->psychopy) (1.3)
Requirement already satisfied: et_xmlfile in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from openpyxl->psychopy) (1.0.1)
Requirement already satisfied: greenlet>=0.4.10 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from gevent->psychopy) (0.4.12)
Collecting msgpack>=0.5.2 (from msgpack-numpy->psychopy)
Downloading https://files.pythonhosted.org/packages/81/9c/0036c66234482044070836cc622266839e2412f8108849ab0bfdeaab8578/msgpack-0.6.1.tar.gz (118kB)
|████████████████████████████████| 122kB 35.3MB/s
Requirement already satisfied: numexpr>=2.5.2 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from tables->psychopy) (2.6.2)
Requirement already satisfied: decorator<5.0,>=4.0.2 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from moviepy->psychopy) (4.0.11)
Requirement already satisfied: tqdm<5.0,>=4.11.2 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from moviepy->psychopy) (4.32.1)
Collecting proglog<=1.0.0 (from moviepy->psychopy)
Downloading https://files.pythonhosted.org/packages/fe/ab/4cb19b578e1364c0b2d6efd6521a8b4b4e5c4ae6528041d31a2a951dd991/proglog-0.1.9.tar.gz
Collecting gitdb2>=2.0.0 (from gitpython->psychopy)
Downloading https://files.pythonhosted.org/packages/da/30/a407568aa8d8f25db817cf50121a958722f3fc5f87e3a6fba1f40c0633e3/gitdb2-2.0.5-py2.py3-none-any.whl (62kB)
|████████████████████████████████| 71kB 20.0MB/s
Requirement already satisfied: wheel<1.0,>=0.23.0 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from astunparse->psychopy) (0.29.0)
Collecting pyobjc-framework-Cocoa>=5.2 (from pyobjc-framework-Quartz->psychopy)
Downloading https://files.pythonhosted.org/packages/2e/49/18faeecc775612fff69343a259b7f1b596cb22f3b09c7c7875f9d45c7890/pyobjc_framework_Cocoa-5.2-cp36-cp36m-macosx_10_9_x86_64.whl (235kB)
|████████████████████████████████| 235kB 45.6MB/s
Collecting PyQt5_sip<13,>=4.19.14 (from pyqt5->psychopy)
Downloading https://files.pythonhosted.org/packages/ea/ab/d774f0977439a27c2be512a540a6a86740d9843dad167cf1aaaa5b9c5587/PyQt5_sip-4.19.18-cp36-cp36m-macosx_10_6_intel.whl (51kB)
|████████████████████████████████| 61kB 20.6MB/s
Requirement already satisfied: asn1crypto>=0.21.0 in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from cryptography>=1.3.4; extra == "security"->requests[security]->psychopy) (0.22.0)
Requirement already satisfied: packaging in ./.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from cryptography>=1.3.4; extra == "security"->requests[security]->psychopy) (16.8)
Collecting smmap2>=2.0.0 (from gitdb2>=2.0.0->gitpython->psychopy)
Downloading https://files.pythonhosted.org/packages/55/d2/866d45e3a121ee15a1dc013824d58072fd5c7799c9c34d01378eb262ca8f/smmap2-2.0.5-py2.py3-none-any.whl
Building wheels for collected packages: psychopy, pyopengl, future, json-tricks, moviepy, esprima, msgpack, proglog
Building wheel for psychopy (setup.py) ... done
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/93/51/37/cba5ea2833b2587a7fc5858bc7ff19ceb6215b548a119b02c2
Building wheel for pyopengl (setup.py) ... done
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/6c/00/7f/1dd736f380848720ad79a1a1de5272e0d3f79c15a42968fb58
Building wheel for future (setup.py) ... done
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/0c/61/d2/d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e
Building wheel for json-tricks (setup.py) ... done
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/84/10/4d/05c490ea57a68227f2dd0f1fcd3be4b5374c39588e21e0fb1e
Building wheel for moviepy (setup.py) ... done
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/52/e2/4c/f594a5945bc98e052ef248b46a0f1f7ea838b0b2a5f8895651
Building wheel for esprima (setup.py) ... done
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/63/aa/c8/3fbb4a3f263a33d0f89439d173d2b835426e4399a99f0c8e14
Building wheel for msgpack (setup.py) ... done
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/e0/eb/73/79c4057260fcb51c5f12cee027dda5cf79b92b618a82529c74
Building wheel for proglog (setup.py) ... done
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/65/56/60/1d0306a8d90b188af393c1812ddb502a8821b70917f82dcc00
Successfully built psychopy pyopengl future json-tricks moviepy esprima msgpack proglog
Installing collected packages: future, pyglet, pyopengl, soundfile, sounddevice, python-bidi, arabic-reshaper, json-tricks, pyosf, pyserial, msgpack, msgpack-numpy, proglog, imageio-ffmpeg, moviepy, opencv-python, python-gitlab, smmap2, gitdb2, gitpython, astunparse, esprima, freetype-py, wxPython, pyobjc-core, pyobjc-framework-Cocoa, pyobjc-framework-Quartz, PyQt5-sip, pyqt5, psychopy
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Users/administrator/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages/msgpack/__init__.py'
Consider using the `--user` option or check the permissions.
WARNING: You are using pip version 19.1.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pip installコマンドで解決
Reference
無線網(Wi-Fi)空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001
Ethernet 記事一覧 Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794
Wireshark 一覧 wireshark(0)、Ethernet(48) https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0
仮説(0)一覧(目標100現在40)
https://qiita.com/kaizen_nagoya/items/f000506fe1837b3590df
安全(0)安全工学シンポジウムに向けて: 21
https://qiita.com/kaizen_nagoya/items/c5d78f3def8195cb2409
Qiita(0)Qiita関連記事一覧(自分)
https://qiita.com/kaizen_nagoya/items/58db5fbf036b28e9dfa6
鉄道(0)鉄道のシステム考察はてっちゃんがてつだってくれる
https://qiita.com/kaizen_nagoya/items/26bda595f341a27901a0
日本語(0)一欄
https://qiita.com/kaizen_nagoya/items/7498dcfa3a9ba7fd1e68
英語(0) 一覧
https://qiita.com/kaizen_nagoya/items/680e3f5cbf9430486c7d
転職(0)一覧
https://qiita.com/kaizen_nagoya/items/f77520d378d33451d6fe
数学関連記事100
https://qiita.com/kaizen_nagoya/items/d8dadb49a6397e854c6d
物理記事 上位100
https://qiita.com/kaizen_nagoya/items/66e90fe31fbe3facc6ff
自動車 記事 100
https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5
言語・文学記事 100
https://qiita.com/kaizen_nagoya/items/42d58d5ef7fb53c407d6
医工連携関連記事 100
https://qiita.com/kaizen_nagoya/items/6ab51c12ba51bc260a82
通信記事100
https://qiita.com/kaizen_nagoya/items/1d67de5e1cd207b05ef7
OSEK OS設計の基礎 OSEK(100)
https://qiita.com/kaizen_nagoya/items/7528a22a14242d2d58a3
一覧:携帯計画者日記(0)
https://qiita.com/kaizen_nagoya/items/005d38c6f55c85570e74
AUTOSAR R22-11 Qiita記事一覧 20230421(1)
https://qiita.com/kaizen_nagoya/items/81a35774f1aa3d64d3f6
ボッシュ自動車handbook(英語)11版(0) 課題と記事一覧
https://qiita.com/kaizen_nagoya/items/dfa35aa6f669e5df983e
R3(0) on "What are the most important statistical ideas of the past 50 years? " Andrew Gelman, Aki Vehtari
https://qiita.com/kaizen_nagoya/items/a8eac9afbf16d2188901
官公庁・学校・公的団体(NPOを含む)システムの課題、官(0)
https://qiita.com/kaizen_nagoya/items/04ee6eaf7ec13d3af4c3
一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39
プログラマが知っていると良い「公序良俗」
https://qiita.com/kaizen_nagoya/items/9fe7c0dfac2fbd77a945
自動制御、制御工学一覧(0)
https://qiita.com/kaizen_nagoya/items/7767a4e19a6ae1479e6b
Rust(0) 一覧
https://qiita.com/kaizen_nagoya/items/5e8bb080ba6ca0281927
小川清最終講義、最終講義(再)計画, Ethernet(100) 英語(100) 安全(100)
https://qiita.com/kaizen_nagoya/items/e2df642e3951e35e6a53
<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.
文書履歴(document history)
ver. 0.01 初稿 20190817
ver. 0.04 URL追記 20230228
最後までおよみいただきありがとうございました。
いいね 💚、フォローをお願いします。
Thank you very much for reading to the last sentence.
Please press the like icon 💚 and follow me for your happy life.