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
xl0shk
V2EX  ›  Python

PyCharm 使用中的奇怪问题

  •  
  •   xl0shk · 2018-01-04 14:09:39 +08:00 · 2207 次点击
    这是一个创建于 2296 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在使用 PyCharm 付费版本时,引入 binascii 模块提示'no module named binascii'。binascii 是 Python 自带库,为此还升级了 Python3 到最新版本,还是无法解决。期间也尝试过网上其他的一些方法都不行。

    刚才在 stackoverflow 看到有人说,PyCharm 会经常找不到一些模块。 然后我就下载了个 PyCharm CE 版本,导入项目后,居然就能正常引用 binascii 模块了。。。

    1 条回复    2018-01-04 17:06:34 +08:00
    wwqgtxx
        1
    wwqgtxx  
       2018-01-04 17:06:34 +08:00 via iPhone
    清理缓存,然后 restart 就好了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4980 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 05:39 · PVG 13:39 · LAX 22:39 · JFK 01:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.