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