V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 2893 views
    This topic created in 3306 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   ·   Solana   ·   2442 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:29 · PVG 23:29 · LAX 08:29 · JFK 11:29
    ♥ Do have faith in what you're doing.