推荐学习书目
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
oldbird
V2EX  ›  Python

pycharm 怎么避免包更新扫描?

  •  
  •   oldbird · Sep 16, 2020 via Android · 2631 views
    This topic created in 2090 days ago, the information mentioned may be changed or developed.
    电脑里装了几个版本(2/3/86/64)的 py,每次切换解释器都要很长时间扫描。
    5 replies    2020-09-16 21:05:30 +08:00
    renmu123
        1
    renmu123  
       Sep 16, 2020 via Android
    想起来之前有个 bug,每次启动 pycharm 就会扫一次包,我的破笔记本着实顶不住。一般来说都是一个项目一个 Python 版本,不知道 lz 是什么场景需要频繁切换 Python 版本
    ungrown
        2
    ungrown  
       Sep 16, 2020
    @renmu123 #1 就算切换解释器、虚拟环境,我记得之前扫描过的结果不是有缓存的吗?
    renmu123
        3
    renmu123  
       Sep 16, 2020
    @ungrown #2 我试了一下,切换解释器会更新索引而不是整个重新扫描,这个速度还是很快的。我是最新的社区版
    TimePPT
        4
    TimePPT  
    PRO
       Sep 16, 2020 via Android
    不断切是做版本兼容测试么?
    neoblackcap
        5
    neoblackcap  
       Sep 16, 2020
    你的项目切换重新做索引不是很正常的吗?谁知道你的环境里面装了什么库,不扫描怎么知道呢?
    要说避免,那么你不换就可以了,为什么需要切换好几个环境进行开发?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2901 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 05:11 · PVG 13:11 · LAX 22:11 · JFK 01:11
    ♥ Do have faith in what you're doing.