I am currently using Mac OS Sierra and the latest (updated) version on PyCharm ultimate edition. However, every time I try to run the Python console, it fails.  

I have tried multiple solutions which include the following: 

* Try out the solutions mentioned in similar StackOverflow questions.
* Remove Anaconda completely (restart system) and then try running the console.
* Removed and re-installed PyCharm.
* Use different version of Python (2.7/3/3.5/3.6)
* Create a project in a virtual environment.
* Delete the .idea directory in the project folder.

However, in after a lot of debugging I failed to correct the errors. Here's the output error : 

> 
> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/xmlrpc/server.py", line 598, in **init**
>  socketserver.TCPServer.**init**(self, addr, requestHandler, bind\_and\_activate)
>  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socketserver.py", line 453, in **init**
>  self.server\_bind()
>  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socketserver.py", line 467, in server\_bind
>  self.socket.bind(self.server\_address)
>  socket.gaierror: [Errno 8] nodename nor servname provided, or not known
>  Couldn't connect to console process.
>  Process finished with exit code 137 (interrupted by signal 9: SIGKILL)
> 
> 
> 

Thus, if anyone knows how to fix this error, it would be of great help. Please feel free to ask for further information if I missed something.