我发送给JetBrains跟随,但也许你们中的一个可以帮助我
提前致谢
Oshrat
我无法重启PyCharm并收到以下错误:
Internal error. Please report to http://jb.gg/ide/critical-startup-errors
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.TwoStacksPlainSocketImpl.socketBind(Native Method)
at java.net.TwoStacksPlainSocketImpl.socketBind(TwoStacksPlainSocketImpl.java:137)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
at java.net.TwoStacksPlainSocketImpl.bind(TwoStacksPlainSocketImpl.java:110)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
at java.net.ServerSocket.bind(ServerSocket.java:375)
at io.netty.channel.socket.oio.OioServerSocketChannel.doBind(OioServerSocketChannel.java:140)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365)
at io.netty.channel.ThreadPerChannelEventLoop.run(ThreadPerChannelEventLoop.java:67)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at java.lang.Thread.run(Thread.java:745)
我尝试删除Pycharm的缓存并杀死java相关进程,但只有重新启动我的PC才能解决问题。
我应该说,我在安装/卸载诸如wireshark / nmap / npcap之类的嗅探软件时遇到了10054错误。 在某些时候安装后,我在pycharm中调试的python服务器反复收到10054错误(见下文),消耗大约25%的CPU并停止运行。
10054错误:
handle: <Handle BaseSelectorEventLoop._read_from_self()>
Traceback (most recent call last):
File "C:\Python35\lib\asyncio\events.py", line 125, in _run
self._callback(*self._args)
File "C:\Python35\lib\asyncio\selector_events.py", line 130, in
_read_from_self
data = self._ssock.recv(4096)
ConnectionResetError: [WinError 10054] An existing connection was forcibly
closed by the remote host
如果您能够了解可能导致此行为的原因以及我可以/应该做些什么以避免重启并允许Pycharm在此方案之后正确重新启动,我将不胜感激。