I would really appreciate it if anyone could teach me what is wrong with the current setting of my computer.
Thank you so much for your time.
Sincerely,
Takashi Obana
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/b108d696-93b0-453d-89a5-9101e08405ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Jon Peirce http://www.peirce.org.uk
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\高志>"C:\Program Files (x86)\PsychoPy2\python.exe" "C:\Program Files (x
86)\PsychoPy2\Lib\site-packages\PsychoPy-1.82.01-py2.7.egg\psychopy\app\psychopy
App.py"
Traceback (most recent call last):
File "C:\Program Files (x86)\PsychoPy2\Lib\site-packages\PsychoPy-1.82.01-py2.
7.egg\psychopy\app\psychopyApp.py", line 48, in <module>
app = PsychoPyApp(0, showSplash=showSplash)
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.
7.egg\psychopy\app\_psychopyApp.py", line 76, in __init__
self.onInit(**kwargs)
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.
7.egg\psychopy\app\_psychopyApp.py", line 115, in onInit
from psychopy import compatibility
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.
7.egg\psychopy\compatibility.py", line 3, in <module>
import psychopy.data
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.
7.egg\psychopy\data.py", line 12, in <module>
from pandas import DataFrame, read_csv
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\__init__.py",
line 27, in <module>
from pandas.core.api import *
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\api.py",
line 8, in <module>
from pandas.core.categorical import Categorical, Factor
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\categoric
al.py", line 9, in <module>
from pandas.core.frame import DataFrame
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\frame.py"
, line 37, in <module>
from pandas.core.series import Series, _radd_compat
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\core\series.py
", line 3460, in <module>
import pandas.tools.plotting as _gfx
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\tools\plotting
.py", line 20, in <module>
import pandas.tseries.converter as conv
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\pandas\tseries\conver
ter.py", line 7, in <module>
import matplotlib.units as units
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\matplotlib\__init__.p
y", line 1048, in <module>
rcParams = rc_params()
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\matplotlib\__init__.p
y", line 897, in rc_params
fname = matplotlib_fname()
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\matplotlib\__init__.p
y", line 748, in matplotlib_fname
fname = os.path.join(os.getcwd(), 'matplotlibrc')
File "C:\Program Files (x86)\PsychoPy2\lib\ntpath.py", line 108, in join
path += "\\" + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8d in position 9: ordinal
not in range(128)
C:\Users\高志>
I really apologize for the trouble but I would very much appreciate it if you could teach me what is going on and what is wrong with the current setting.
Thank you very much!!!
Sincerely,
Takashi
Hi Sogo-sensei,
Thank you so much for your kind reply!
Yes, my Japanese kanji directory has been causing the PsychoPy code to crash.
Therefore, when I run the ".py" codes, I run it from the directory which only includes English alphabet.
The strange thing about my current problem is that when I install the older version of PsychoPy (e.g. 81.00), I can start the program.
The problem is that the installed program does not even "start" when I use the newer versions (i.e. 82.00, 82.01 or even 82.02 following your notification). :(
I am not sure if this is informative or not but I have changed the directory of the command prompt which does not include any kanji characters (by using "cd.." commands) and tried to run the suggested directory (I am attaching the output at the end of this reply).
Unfortunately, it still returns some (error?) message and does not even start the PsychoPy program.
By looking at the outputs of the command prompt, the directories do not include any non-English characters, therefore I speculate that there is some other cause to my current problem...
Furthermore, as you can see in the command prompt outputs, the PsychoPy itself is installed in the directory that does not involve any kanji.
So I am very baffled why the program does not even start.
(By the way, I've been having some other problems with my PC such as executing the line to import pandas when the exact the same code ran perfectly with other PC...)
(I have the antivirus software in my PC and it should be free of virus. Moreover, other programs are running without any problems...)
I am so sorry for the trouble again but I would really appreciate it if I could get some thoughts about why my PC cannot even "just start" the program.
Thank you so much for your time!
(I am pasting the command prompt output below)
Sincerely,
Takashi
##command prompt output starts from here ##
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\高志>cd..
C:\Users>cd..
C:\>"C:\Program Files (x86)\PsychoPy2\python.exe" "C:\Program Files (x86)\Psycho
y", line 759, in matplotlib_fname
configdir = _get_configdir()
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\matplotlib\__init__.p
y", line 630, in _get_configdir
return _get_config_or_cache_dir(_get_xdg_config_dir())
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\matplotlib\__init__.p
y", line 555, in _get_xdg_config_dir
path = get_home()
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\matplotlib\__init__.p
y", line 323, in wrapper
ret = func(*args, **kwargs)
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\matplotlib\__init__.p
y", line 509, in _get_home
path = os.path.expanduser("~")
File "C:\Program Files (x86)\PsychoPy2\lib\ntpath.py", line 301, in expanduser
return userhome + path[i:]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8d in position 9: ordinal
not in range(128)
C:\>
##command prompt output ends here ##
import matplotlib
print matplotlib.__version__
...
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/b3cf9204-5e33-44f9-a1dc-9253883699f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Jonathan Peirce University of Nottingham http://www.peirce.org.uk
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
...
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/57448032-2f30-4840-aaf2-5f00219ec78e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...