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

请教: 如何将 Sublime Text 2 的 python 解释器绑定为系统当前正在使用的 python 解释器,并能用里面装的所有库?因为。。。。。

  •  
  •   Hualin · Dec 1, 2012 · 4425 views
    This topic created in 4914 days ago, the information mentioned may be changed or developed.
    因为,最近装了个插件 REPL,可以把 subl 的文本编程互动的命令行,我想在里面打开 iPython,但她返回了一个错,说找不到 IPython 的这个模块,当然,我在系统里装了 IPython。可是 subl 自带 Python 解释器,有自己的环境。所以。。。。。。。

    系统:Mac,后来用了 Macports,但是在装 Macports 之前装过 Python 和 模块 Numpy。后来我 select 了。也不知道过去的到哪里去了。

    然后我在 subl 的 python 命令行下 import numpy 是有的,但没有我常用的 matplotlib 和 scipy,说明 subl 是可以用系统的 Python 的,但不是 macports 的。。。。

    求回复啊 嗷嗷嗷 ORZ
    1 replies    1970-01-01 08:00:00 +08:00
    freewizard
        1
    freewizard  
       Dec 2, 2012
    提问之前最好先看看文档

    https://github.com/wuub/SublimeREPL

    FAQ
    1. Is this a terminal emulator?

    No. Shell (cmd.exe/bash) REPL can be used for simple tasks (file creation, git init etc.) but anything terminal like (mc, ipython, vim) will not work! SublimeREPL has a sister project: SublimePTY that aims to bring real terminal emulator to SublimeText2.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1455 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:59 · PVG 00:59 · LAX 09:59 · JFK 12:59
    ♥ Do have faith in what you're doing.