V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
TestSmirk
V2EX  ›  Python

pycharm 导入一个已有的项目,每次都要 alt+enter 或者 pip install 那些模块吗.

  •  
  •   TestSmirk · 2017-11-28 12:12:03 +08:00 · 3621 次点击
    这是一个创建于 2338 天前的主题,其中的信息可能已经有所发展或是发生改变。
    7 条回复    2017-11-29 17:09:47 +08:00
    912305043
        1
    912305043  
       2017-11-28 18:13:33 +08:00   ❤️ 1
    Pycharm 里面可以设置 Python 解释器(Interpreter),如果你使用的解释器已经存在你需要的模块(不考虑版本)那么自然不用装了如果没有安装那你想运行项目肯定要安装需要的模块啊,不然肯定会报错了,不知道表达清楚没
    DongDongXie
        2
    DongDongXie  
       2017-11-28 23:14:26 +08:00
    不用啊,已经有的模块就不用装了,需要正确配置解释器
    TestSmirk
        3
    TestSmirk  
    OP
       2017-11-29 09:51:19 +08:00
    @DongDongXie @912305043 大佬.我的意思是有没有批量安装的. 第一次导入一个陌生的项目,任何模块都没安装,有没有批量安装的方法啊.谢谢两位大佬回复
    DongDongXie
        4
    DongDongXie  
       2017-11-29 10:07:07 +08:00   ❤️ 1
    @TestSmirk 那还是建议装 anaconda,自带大部分常用包,省去你很多事,要不然就一个一个 pip
    TestSmirk
        5
    TestSmirk  
    OP
       2017-11-29 12:02:06 +08:00
    @DongDongXie 就是用的 anaconda,看来是没有解决方案.谢谢大佬的回复
    longchisihai
        6
    longchisihai  
       2017-11-29 16:10:11 +08:00   ❤️ 1
    TestSmirk
        7
    TestSmirk  
    OP
       2017-11-29 17:09:47 +08:00
    @longchisihai 谢谢大佬.方便多了.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3278 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:38 · PVG 08:38 · LAX 17:38 · JFK 20:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.