首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
pycharm无法import自己写的模块
pycharm无法import自己写的模块
mac
2025-11-10
9
“File -> Settings… -> Console -> Python Console”,把Working directiory改为当前项目文件位置,并且把下面2个选项都勾选上: 右键点击自己的工作空间,找下面的"Mark Directory as",选择"Sources Root",就可以解决上面的问题了:
转载请注明原文地址: https://mac.8miu.com/read-508381.html
最新回复
(
0
)