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

请问我在 sublime text3 中用 from contextlib import contextmanager 为什么会报错?

  •  
  •   iamjjh · Apr 13, 2017 · 3188 views
    This topic created in 3459 days ago, the information mentioned may be changed or developed.
    在 sublime text3 中会报: ImportError: cannot import name 'contextmanager'
    但是在终端使用就没有问题
    请各位大佬指教
    2 replies  •  2017-04-14 15:49:47 +08:00
    iamjjh
        1
    iamjjh  
    OP
       Apr 13, 2017
    用的 Python3
    iamjjh
        2
    iamjjh  
    OP
       Apr 14, 2017
    求教啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2259 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    ♥ Do have faith in what you're doing.