<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,
<div><br>
</div>
<div>Here is another problem in importing nengo.</div>
<div>I installed nengo 2.0.1 in the IDE PyCharm,</div>
<div>and created a new project with a python file</div>
<div>with only one line: import nengo</div>
<div>I ran the file, and the message I got is</div>
<div><br>
</div>
<div>
<div>Fatal Python error: Py_Initialize: can't initialize sys standard streams</div>
<div>LookupError: unknown encoding: x-windows-950</div>
<div><br>
</div>
<div>Process finished with exit code 3</div>
</div>
<div><br>
</div>
<div>Is there anything I missed?</div>
<div>Thanks for any responses and answers.</div>
<div><br>
</div>
<div>Sincerely,</div>
<div><br>
</div>
<div>Shyh-Kang Jeng</div>
<div>Professor, Department of Electrical Engineering</div>
<div>National Taiwan University,</div>
<div>TAIWAN</div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF97188" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>從:</b> nengo-user-bounces@ctnsrv.uwaterloo.ca [nengo-user-bounces@ctnsrv.uwaterloo.ca] 代表 鄭士康 [skjeng@ntu.edu.tw]<br>
<b>寄件日期:</b> 2015年7月11日 下午 08:37<br>
<b>至:</b> nengo-user@ctnsrv.uwaterloo.ca<br>
<b>主旨:</b> [nengo-user] Problem on running nengo_gui<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,
<div><br>
</div>
<div>I used Anaconda (Python 2.7) to successfully install nengo and nengo_gui in Windows 8. </div>
<div>However, when I type nengo_gui within Anaconda Command Prompt,</div>
<div>I got :</div>
<div><br>
</div>
<div>
<div>Added C:\Users\Shyh-Kang\Anaconda and C:\Users\Shyh-Kang\Anaconda\Scripts to PATH.</div>
<div><br>
</div>
<div>C:\Users\Shyh-Kang\Anaconda>nengo_gui</div>
<div>C:\Users\Shyh-Kang\Anaconda\lib\site-packages\IPython\nbformat\current.py:19: UserWarning: IPython.nbformat.current is deprecated.</div>
<div><br>
</div>
<div>- use IPython.nbformat for read/write/validate public API</div>
<div>- use IPython.nbformat.vX directly to composing notebooks of a particular version</div>
<div><br>
</div>
<div>  """)</div>
<div>:0: FutureWarning: IPython widgets are experimental and may change in the future.</div>
<div>Starting nengo_gui server at http://localhost:8080</div>
<div>Traceback (most recent call last):</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\Scripts\nengo_gui-script.py", line 9, in <module></div>
<div>    load_entry_point('nengo-gui==0.1.4', 'console_scripts', 'nengo_gui')()</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\main.py", line 28, in main</div>
<div>    viz.start(port=args.port, password=args.password)</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\viz.py", line 399, in start</div>
<div>    nengo_gui.server.Server.start(self, port=port, browser=browser, addr=addr)</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\swi.py", line 394, in start</div>
<div>    server = cls.prepare_server(viz, port, asynch, addr, browser)</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\swi.py", line 400, in prepare_server</div>
<div>    server = AsyncHTTPServer((addr, port), cls)</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\swi.py", line 490, in __init__</div>
<div>    BaseHTTPServer.HTTPServer.__init__(self, *args, **kwargs)</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\SocketServer.py", line 420, in __init__</div>
<div>    self.server_bind()</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\BaseHTTPServer.py", line 108, in server_bind</div>
<div>    SocketServer.TCPServer.server_bind(self)</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\SocketServer.py", line 434, in server_bind</div>
<div>    self.socket.bind(self.server_address)</div>
<div>  File "C:\Users\Shyh-Kang\Anaconda\lib\socket.py", line 228, in meth</div>
<div>    return getattr(self._sock,name)(*args)</div>
<div>socket.error: [Errno 10013] 嘗試存取通訊端被拒絕,因為存取權限不足。</div>
<div>
<div style="font-size:13.3333330154419px">            (translation from Chinese message) Attempted to access communication port,</div>
<div style="font-size:13.3333330154419px">            because of insufficient privilege</div>
</div>
<div><br>
</div>
<div>Can anyone tell me how to solve this problem? Many thanks in advance.</div>
<div>By the way, the same procedure is applied in another computer with Windows 7,</div>
<div>and I can open the nengo gui successfully there.</div>
<div><br>
</div>
<div>Sincerely,</div>
<div><br>
</div>
<div>Shyh-Kang Jeng</div>
<div>Professor, Department of Electrical Engineering</div>
<div>National Taiwan University</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>