Pycharm debugger works on Ubuntu but not on Windows for identical code

后端 未结 2 1651
清歌不尽
清歌不尽 2021-01-15 03:55

Update: Issue being tracked here

Edit: I may not be the only one with this issue. I missed this which was also posted today and it

相关标签:
2条回答
  • 2021-01-15 04:23

    The issue has been resolved after reinstalling Pycharm and setting up python packages again from scratch, except this time using python 64-bit (was using 32-bit before). Moreover, I was using Continuum Analytics's python package manager. I no longer use it so that might also have been the culprit.

    0 讨论(0)
  • 2021-01-15 04:35

    I'm guessing it's because of your .idea folder/file.

    Click the Run option in the menu bar of pycharm.

    Click Edit Configurations...

    Verify that the options for your interpreter are correct for your environment. You will probably have to switch this each time you switch operating systems since pycharm saves your configuration on a project basis, in that .idea folder/file.

    If this doesn't work, backup your .idea folder/file and then delete it. Then open the project in pycharm and see if that resolves the issue.

    If neither of these things works, then you are dealing with something on Jetbrains end that probably isn't solvable. Since you are using pyqt, I'm guessing something is not meshing well with the debugger.

    0 讨论(0)
提交回复
热议问题