V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · Nov 28, 2017 · 4126 views
    This topic created in 3072 days ago, the information mentioned may be changed or developed.
    7 replies    2017-11-29 17:09:47 +08:00
    912305043
        1
    912305043  
       Nov 28, 2017   ❤️ 1
    Pycharm 里面可以设置 Python 解释器(Interpreter),如果你使用的解释器已经存在你需要的模块(不考虑版本)那么自然不用装了如果没有安装那你想运行项目肯定要安装需要的模块啊,不然肯定会报错了,不知道表达清楚没
    DongDongXie
        2
    DongDongXie  
       Nov 28, 2017
    不用啊,已经有的模块就不用装了,需要正确配置解释器
    TestSmirk
        3
    TestSmirk  
    OP
       Nov 29, 2017
    @DongDongXie @912305043 大佬.我的意思是有没有批量安装的. 第一次导入一个陌生的项目,任何模块都没安装,有没有批量安装的方法啊.谢谢两位大佬回复
    DongDongXie
        4
    DongDongXie  
       Nov 29, 2017   ❤️ 1
    @TestSmirk 那还是建议装 anaconda,自带大部分常用包,省去你很多事,要不然就一个一个 pip
    TestSmirk
        5
    TestSmirk  
    OP
       Nov 29, 2017
    @DongDongXie 就是用的 anaconda,看来是没有解决方案.谢谢大佬的回复
    longchisihai
        6
    longchisihai  
       Nov 29, 2017   ❤️ 1
    TestSmirk
        7
    TestSmirk  
    OP
       Nov 29, 2017
    @longchisihai 谢谢大佬.方便多了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5613 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 05:59 · PVG 13:59 · LAX 22:59 · JFK 01:59
    ♥ Do have faith in what you're doing.