[nengo-user] Problem on running nengo_gui

鄭士康 skjeng at ntu.edu.tw
Sun Jul 12 03:56:03 EDT 2015


Hi,

Here is another problem in importing nengo.
I installed nengo 2.0.1 in the IDE PyCharm,
and created a new project with a python file
with only one line: import nengo
I ran the file, and the message I got is

Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: x-windows-950

Process finished with exit code 3

Is there anything I missed?
Thanks for any responses and answers.

Sincerely,

Shyh-Kang Jeng
Professor, Department of Electrical Engineering
National Taiwan University,
TAIWAN
________________________________
從: nengo-user-bounces at ctnsrv.uwaterloo.ca [nengo-user-bounces at ctnsrv.uwaterloo.ca] 代表 鄭士康 [skjeng at ntu.edu.tw]
寄件日期: 2015年7月11日 下午 08:37
至: nengo-user at ctnsrv.uwaterloo.ca
主旨: [nengo-user] Problem on running nengo_gui

Hi,

I used Anaconda (Python 2.7) to successfully install nengo and nengo_gui in Windows 8.
However, when I type nengo_gui within Anaconda Command Prompt,
I got :

Added C:\Users\Shyh-Kang\Anaconda and C:\Users\Shyh-Kang\Anaconda\Scripts to PATH.

C:\Users\Shyh-Kang\Anaconda>nengo_gui
C:\Users\Shyh-Kang\Anaconda\lib\site-packages\IPython\nbformat\current.py:19: UserWarning: IPython.nbformat.current is deprecated.

- use IPython.nbformat for read/write/validate public API
- use IPython.nbformat.vX directly to composing notebooks of a particular version

  """)
:0: FutureWarning: IPython widgets are experimental and may change in the future.
Starting nengo_gui server at http://localhost:8080
Traceback (most recent call last):
  File "C:\Users\Shyh-Kang\Anaconda\Scripts\nengo_gui-script.py", line 9, in <module>
    load_entry_point('nengo-gui==0.1.4', 'console_scripts', 'nengo_gui')()
  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\main.py", line 28, in main
    viz.start(port=args.port, password=args.password)
  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\viz.py", line 399, in start
    nengo_gui.server.Server.start(self, port=port, browser=browser, addr=addr)
  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\swi.py", line 394, in start
    server = cls.prepare_server(viz, port, asynch, addr, browser)
  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\swi.py", line 400, in prepare_server
    server = AsyncHTTPServer((addr, port), cls)
  File "C:\Users\Shyh-Kang\Anaconda\lib\site-packages\nengo_gui\swi.py", line 490, in __init__
    BaseHTTPServer.HTTPServer.__init__(self, *args, **kwargs)
  File "C:\Users\Shyh-Kang\Anaconda\lib\SocketServer.py", line 420, in __init__
    self.server_bind()
  File "C:\Users\Shyh-Kang\Anaconda\lib\BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
  File "C:\Users\Shyh-Kang\Anaconda\lib\SocketServer.py", line 434, in server_bind
    self.socket.bind(self.server_address)
  File "C:\Users\Shyh-Kang\Anaconda\lib\socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 10013] 嘗試存取通訊端被拒絕,因為存取權限不足。
            (translation from Chinese message) Attempted to access communication port,
            because of insufficient privilege

Can anyone tell me how to solve this problem? Many thanks in advance.
By the way, the same procedure is applied in another computer with Windows 7,
and I can open the nengo gui successfully there.

Sincerely,

Shyh-Kang Jeng
Professor, Department of Electrical Engineering
National Taiwan University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://artsservices.uwaterloo.ca/pipermail/nengo-user/attachments/20150712/410176b5/attachment-0002.html>


More information about the nengo-user mailing list