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

Pycharm 使用 Anaconda 解释器,每次都 indexing

  •  
  •   alluofuyo · Aug 6, 2021 · 3093 views
    This topic created in 1742 days ago, the information mentioned may be changed or developed.

    如题,安装 Anaconda,每次启动 Pycharm 都会 indexing Python SDK (耗费 3 到 4 分钟) (我的 Base 环境是 Python3.8 ),google 百度搜了一通,发现都是说怎么 exclude project files,可是这是 Python SDK 的 index,exclude 之后就没得代码提示了,有没有解决方案,难道 JB 对于 Anaconda 的环境没有索引缓存吗?每次都要重新索引?

    14 replies    2021-08-10 23:33:47 +08:00
    RRRoger
        1
    RRRoger  
       Aug 6, 2021
    我这里用 miniconda 没有类似的问题
    cco
        2
    cco  
       Aug 6, 2021
    这玩意总感觉不如 pyenv 好用。
    Deteriorator
        3
    Deteriorator  
       Aug 6, 2021
    同 Anaconda, 没有类似情况
    flgn88
        4
    flgn88  
       Aug 6, 2021 via iPhone
    我碰到过,咋解决的呢?就地删了 pycharm,转回 vs code 了😀
    FurN1
        5
    FurN1  
       Aug 6, 2021 via iPhone
    原来 JB 这方面做的不好啊。有 pyenv 或者直接上个 miniconda,miniforge 都行。
    raycool
        6
    raycool  
       Aug 6, 2021
    是不是你经常用腾讯柠檬 或者 clean my mac 之类的清理?
    chaowang
        7
    chaowang  
       Aug 6, 2021
    是的每次都要索引,你如果只用 python 的话,如果安装了太多的包,也是会索引挺久的
    renmu123
        8
    renmu123  
       Aug 6, 2021 via Android
    我在低版本好像遇到过,你升到最新版试试看
    alluofuyo
        9
    alluofuyo  
    OP
       Aug 6, 2021 via Android
    @renmu123 通过 Toolbox 管理的,都是最新版本
    alluofuyo
        10
    alluofuyo  
    OP
       Aug 7, 2021 via Android
    @raycool 没用过这些清理
    alluofuyo
        11
    alluofuyo  
    OP
       Aug 7, 2021 via Android
    @IgniteWhite 主要是经常有 ml 需求,所以想着 anaconda 方便一点
    alluofuyo
        12
    alluofuyo  
    OP
       Aug 7, 2021 via Android
    @nuistzhou jb 家用惯了,vsc 我一般用来写一写小的脚本 😁
    jeeyong
        13
    jeeyong  
       Aug 8, 2021
    sublime + anaconda + virtualenv 舒服舒服舒服!!!
    yagamil
        14
    yagamil  
       Aug 10, 2021
    一般索引一次,后面的不会再次索引。
    以前试过,每次索引的,python 选择系统的,路径选择 conda,而不要直接选择 conda env
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4666 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 116ms · UTC 01:03 · PVG 09:03 · LAX 18:03 · JFK 21:03
    ♥ Do have faith in what you're doing.