Issues importing arcpy

2293
1
Jump to solution
05-12-2016 10:32 AM
DanielBachmann1
New Contributor

Hi,

I just tried to use arcpy from PyCharm and ran into the following problem.

After importing arcpy typing "arcpy." causes the following Error

Traceback (most recent call last):

----------------------------------------

  File "C:\Python27\ArcGIS10.2\lib\SocketServer.py", line 295, in _handle_request_noblock

Exception happened during processing of request from ('127.0.0.1', 8902)

    self.process_request(request, client_address)

----------------------------------------

  File "C:\Python27\ArcGIS10.2\lib\SocketServer.py", line 321, in process_request

    self.finish_request(request, client_address)

  File "C:\Python27\ArcGIS10.2\lib\SocketServer.py", line 334, in finish_request

    self.RequestHandlerClass(request, client_address, self)

  File "C:\Python27\ArcGIS10.2\lib\SocketServer.py", line 651, in __init__

    self.finish()

  File "C:\Python27\ArcGIS10.2\lib\SocketServer.py", line 710, in finish

    self.wfile.close()

  File "C:\Python27\ArcGIS10.2\lib\socket.py", line 279, in close

    self.flush()

  File "C:\Python27\ArcGIS10.2\lib\socket.py", line 303, in flush

    self._sock.sendall(view[write_offset:write_offset+buffer_size])

error: [Errno 10053]

I can use arcpy but there is no auto complete 😞

kr,

Daniel

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus

Pycharm has come up before with 'issues' and I don't know why, but check out your environments from a thread I posted before

https://community.esri.com/message/594720#comment-594720

and given you are using 10.2 and old 2.7, is this just a recent event, or this is the first time you have used pycharm instead of pythonwin, pyscripter or some other ide to test it against.

View solution in original post

0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

Pycharm has come up before with 'issues' and I don't know why, but check out your environments from a thread I posted before

https://community.esri.com/message/594720#comment-594720

and given you are using 10.2 and old 2.7, is this just a recent event, or this is the first time you have used pycharm instead of pythonwin, pyscripter or some other ide to test it against.

0 Kudos