Hi Run,
I suspect this to be a Win8.1 issue with matplotlib and pandas, not
related to MSNoise itself. You should send an email (or tweet) Anaconda
guys, as this error must probably be known (looks like matplotlib is
trying to access the home directory to get/set preference values, but
fails because tilde "~" is not interpreted correctly...
did you install matplotlib and pandas using the command:
$ conda install matplotlib
$ conda install pandas
?
Thomas
Le 13/10/2014 15:17, Kohtaro R. Araragi a écrit :
Hi MSNoise users,
Does anyone attempt to use MSNoise by windows 8.1?
I am trying to use via Anaconda, but matplotlib or obspy seems not to
work properly from some reasons... I dowonload pandas, matplotlibs, and
scikits.sa,plerate from
http://www.lfd.uci.edu
<http://www.lfd.uci.edu/%7Egohlke/pythonlibs/#scikits.samplerate>, but
obspy or other things does not work zell and I cannot run s000installer.py.
I appreciate if any of you tell me how you overcome this issue if you
had in the past.
Thanks in advance;
Run
(Kohtaro Araragi)
C:\Research\MSNoise-master>python s000installer.py
Traceback (most recent call last):
File "s000installer.py", line 33, in <module>
from database_tools import create_database_inifile
File "C:\Research\MSNoise-master\database_tools.py", line 16, in
<module>
from obspy.signal import cosTaper
File
"C:\Anaconda\lib\site-packages\obspy-0.9.2-py2.7-win-amd64.egg\obspy\sign
al\__init__.py", line 203, in <module>
from spectral_estimation import psd, PPSD
File
"C:\Anaconda\lib\site-packages\obspy-0.9.2-py2.7-win-amd64.egg\obspy\sign
al\spectral_estimation.py", line 34, in <module>
MATPLOTLIB_VERSION = getMatplotlibVersion()
File
"C:\Anaconda\lib\site-packages\obspy-0.9.2-py2.7-win-amd64.egg\obspy\core
\util\base.py", line 293, in getMatplotlibVersion
import matplotlib
File "C:\Anaconda\lib\site-packages\matplotlib\__init__.py", line 1048,
in <mo
dule>
rcParams = rc_params()
File "C:\Anaconda\lib\site-packages\matplotlib\__init__.py", line 897,
in rc_p
arams
fname = matplotlib_fname()
File "C:\Anaconda\lib\site-packages\matplotlib\__init__.py", line 759,
in matp
lotlib_fname
configdir = _get_configdir()
File "C:\Anaconda\lib\site-packages\matplotlib\__init__.py", line 630,
in _get
_configdir
return _get_config_or_cache_dir(_get_xdg_config_dir())
File "C:\Anaconda\lib\site-packages\matplotlib\__init__.py", line 555,
in _get
_xdg_config_dir
path = get_home()
File "C:\Anaconda\lib\site-packages\matplotlib\__init__.py", line 323,
in wrap
per
ret = func(*args, **kwargs)
File "C:\Anaconda\lib\site-packages\matplotlib\__init__.py", line 509,
in _get
_home
path = os.path.expanduser("~")
File "C:\Anaconda\lib\ntpath.py", line 310, in expanduser
return userhome + path[i:]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8d in position 9:
ordinal
not in range(128)
C:\Research\MSNoise-master>python bugreport.py -a
************* Computer Report *************
----------------+SYSTEM+-------------------
Windows
Earthsea
8
6.2.9200
AMD64
Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
----------------+PYTHON+-------------------
Python: 2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Jul 2 2014, 15:12:11)
[MSC v.
1500 64 bit (AMD64)]
---------------+MODULES+-------------------
Required:
[X] numpy: 1.9.0
[X] scipy: 0.14.0
[ ] pandas: not found
[ ] matplotlib: not found
[X] statsmodels: 0.5.0
[X] sqlalchemy: 0.9.7
[X] traitsui: 4.4.0
[X] traits: 4.4.0
[X] enable: 4.3.0
[X] scikits.samplerate: present (no version)
[X] obspy: 0.9.2
[X] sphinx: 1.2.3
[X] jinja2: 2.7.3
[X] flask: 0.10.1
[X] flask.ext.admin: 0.10.1
[X] wtforms: 2.0.1
[X] json: 2.0.9
[X] psutil: 2.1.1
Backends: (at least one is required)
[ ] wx: not found
[X] PyQt4: present (no version)
[ ] PySide: not found
Not required, just checking:
[X] setuptools: 5.8
[ ] reportlab: not found
[X] configobj: 5.0.6
[X] pkg_resources: present (no version)
[ ] paramiko: not found
[X] ctypes: 1.1.0
[X] pyparsing: 2.0.1
[X] distutils: 2.7.8
[X] IPython: 2.2.0
[ ] vtk: not found
------------------+ENV+--------------------
TMP
[X] C:\Users\幸太郎\AppData\Local\Temp
COMPUTERNAME
[ ] EARTHSEA
USERDOMAIN
[ ] EARTHSEA
PSMODULEPATH
[X] C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
COMMONPROGRAMFILES
[X] C:\Program Files\Common Files
PROCESSOR_IDENTIFIER
[ ] Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROGRAMFILES
[X] C:\Program Files
PROCESSOR_REVISION
[ ] 3a09
PATH
[X] C:\Anaconda\lib\site-packages\PyQt4
[X] C:\Anaconda\lib\site-packages\numpy\core
[X] C:\Program Files
(x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_running
version
[X] C:\Program Files (x86)\Intel\iCLS Client\
[X] C:\Program Files\Intel\iCLS Client\
[X] C:\WINDOWS\system32
[X] C:\WINDOWS
[X] C:\WINDOWS\System32\Wbem
[X] C:\WINDOWS\System32\WindowsPowerShell\v1.0\
[X] C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86
[X] C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64
[X] C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
[X] C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
[X] C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
[X] C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
[X] C:\Program Files (x86)\Windows Live\Shared
[X] C:\MinGW\bin
[X] C:\Program Files (x86)\QuickTime\QTSystem\
[X] C:\Program Files (x86)\GnuWin32\bin
[X] C:\Anaconda
[X] C:\Anaconda\Scripts
[X] C:\Users\幸太郎\Anaconda
[ ] C:\Users\幸太郎\Anaconda\Scripts
SYSTEMROOT
[X] C:\WINDOWS
PROGRAMFILES(X86)
[X] C:\Program Files (x86)
TEMP
[X] C:\Users\幸太郎\AppData\Local\Temp
COMMONPROGRAMFILES(X86)
[X] C:\Program Files (x86)\Common Files
PROCESSOR_ARCHITECTURE
[ ] AMD64
ALLUSERSPROFILE
[X] C:\ProgramData
LOCALAPPDATA
[X] C:\Users\幸太郎\AppData\Local
HOMEPATH
[X] \Users\幸太郎
USERDOMAIN_ROAMINGPROFILE
[ ] EARTHSEA
PROGRAMW6432
[X] C:\Program Files
USERNAME
[ ] 幸太郎
LOGONSERVER
[ ] \\MicrosoftAccount
PROMPT
[ ] $P$G
COMSPEC
[X] C:\WINDOWS\system32\cmd.exe
PROGRAMDATA
[X] C:\ProgramData
GPSFISH_HOME
[X] C:\Program Files\gpsfish
SESSIONNAME
[ ] Console
PATHEXT
[ ] .COM
[ ] .EXE
[ ] .BAT
[ ] .CMD
[ ] .VBS
[ ] .VBE
[ ] .JS
[ ] .JSE
[ ] .WSF
[ ] .WSH
[ ] .MSC
ASL.LOG
[ ] Destination=file
OSL_HOME
[X] C:\Program Files (x86)\gpsshogi
FP_NO_HOST_CHECK
[ ] NO
WINDIR
[X] C:\WINDOWS
APPDATA
[X] C:\Users\幸太郎\AppData\Roaming
HOMEDRIVE
[X] C:
SYSTEMDRIVE
[X] C:
NUMBER_OF_PROCESSORS
[ ] 4
PROCESSOR_LEVEL
[ ] 6
COMMONPROGRAMW6432
[X] C:\Program Files\Common Files
OS
[ ] Windows_NT
PUBLIC
[X] C:\Users\Public
USERPROFILE
[X] C:\Users\幸太郎
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise