下面分常见场景给你讲 PyCharm 的配置方法,从最基础的开始,基本照着做就行。
PyCharm 不配置 Python 解释器是跑不了代码的。
步骤:
File → Settings(macOS:PyCharm → Preferences)Project: 你的项目名 → Python InterpreterAddSystem InterpreterVirtualenv / Conda✅ 推荐:每个项目用独立虚拟环境
Settings → Editor → Font
主题:
Settings → Appearance & Behavior → Theme
Settings → Tools → Actions on Save
也可以手动:
Ctrl + Alt + LCtrl + Alt + ONew Project →
New Virtualenv这样以后依赖互不干扰。
Settings → Python Interpreter → +
搜索库名(如 requests)→ Install
PyCharm 底部 Terminal:
pip install numpy pandas
RunShift + F10Shift + F9 启动 DebugSettings → Plugins
Settings → Version Control → Git
克隆项目:
File → New → Project from Version Control
你可以告诉我:
我可以直接给你一步一步截图级配置方案。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。