Where can I enable the Python console in Pycharm?

Hello ,

After running the Python console from "Tool" menu in Pycharm , I met this message using the console;

"Console is not enabled".

Question:

Where can I enable  the Python console in Pycharm?


Here I copy and paste the message from the console:

/Library/Frameworks/Python.framework/Versions/2.7/bin/python -u /Applications/PyCharm.app/helpers/pydev/pydevconsole.py 52648 52649
Error starting server with host: localhost, port: 52648, client_port: 52649
Exception in thread ServerThread:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Applications/PyCharm.app/helpers/pydev/pydevconsole.py", line 244, in start_server
    server = SimpleXMLRPCServer((host, port), logRequests=False, allow_none=True)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SimpleXMLRPCServer.py", line 593, in __init__
    SocketServer.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 419, in __init__
    self.server_bind()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 430, in server_bind
    self.socket.bind(self.server_address)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
gaierror: [Errno 8] nodename nor servname provided, or not known

Couldn't connect to console process.
Process finished with exit code 137


Thanks!

Please sign in to leave a comment.