PyCharm “no module named sys”

前端 未结 8 2240
后悔当初
后悔当初 2021-02-06 22:58

Using PyCharm community edition and Python 2.7,

import traceback
import sys

No problem on the first line, which implies that I have pointed PyC

8条回答
  •  抹茶落季
    2021-02-06 23:29

    Maybe you're updating your PYTHONPATH variable in your .bashrc file? It started working on, after comment PATH PATH in bash_profile.

提交回复
热议问题