2014-01-08 3 views
-1

나는 pip, nose, distribute 및 virtualenv를 설치했다고 생각합니다. 확인하고 싶었고 터미널에서 pydoc 모듈을 실행하여 그곳에 무엇이 있는지 확인했습니다. 내가 놓친 게 있니? 해당 모듈을 표시해야합니다. 터미널 출력은 아래 (Mac, Python 2.7)입니다.확인 모듈이 올바르게 설치되었습니다.

이 모듈을 설치하려면 먼저 sudo easy_install pip을 사용하여 pip를 설치해야합니다. 다음, 나는 한 다음

pip install virtualenv 
pip install nose 
pip install distribute 

모든 "작업"듯 - 터미널이 몇 가지 물건을 다운로드 나는 (내가 돌아 갈 수 및 복사/I 이후 결과를 붙여이 일 것을 암시 생각 몇 가지 출력을 인쇄 터미널 창을 닫았다가 다시 열면 새로 설치된 모듈이 나타날 수 있습니다.)

해당 모듈을 성공적으로 설치했는지 어떻게 알 수 있습니까? 내가?

My Name-MacBook:~ myname$ pydoc modules 

Please wait a moment while I gather a list of all available modules... 

2014-01-08 11:56:42.191 Python[3196:1107] Error loading /Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit: dlopen(/Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit, 265): Library not loaded: @rpath/DevToolsRemoteClient.framework/Versions/A/DevToolsRemoteClient 
    Referenced from: /Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit 
    Reason: image not found 
2014-01-08 11:56:42.531 Python[3196:1107] Cannot find executable for CFBundle 0x7ff9d4354070 </System/Library/Frameworks/Message.framework> (not loaded) 
AVFoundation  _TE     dircache   pstats 
AddressBook   _Win    dis     pty 
AppKit    __builtin__   distutils   pwd 
AppleScriptKit  __future__   dl     py2app 
AppleScriptObjC  _abcoll    doctest    py_compile 
Audio_mac   _ast    dumbdbm    pyclbr 
Automator   _bisect    dummy_thread  pydoc 
BaseHTTPServer  _builtinSuites  dummy_threading  pydoc_data 
Bastion    _codecs    easy_install  pyexpat 
CFNetwork   _codecs_cn   email    pylab 
CFOpenDirectory  _codecs_hk   encodings   pytz 
CGIHTTPServer  _codecs_iso2022  errno    quopri 
Canvas    _codecs_jp   exceptions   random 
Carbon    _codecs_kr   fcntl    re 
Cocoa    _codecs_tw   filecmp    readline 
CodeWarrior   _collections  fileinput   repr 
Collaboration  _csv    findertools   resource 
ColorPicker   _ctypes    fnmatch    rexec 
ConfigParser  _ctypes_test  formatter   rfc822 
Cookie    _curses    fpformat   rlcompleter 
CoreData   _curses_panel  fractions   robotparser 
CoreFoundation  _elementtree  ftplib    runpy 
CoreGraphics  _functools   functools   sched 
CoreLocation  _hashlib   future_builtins  scipy 
CoreText   _heapq    gc     select 
Dialog    _hotshot   genericpath   sets 
DictionaryServices _io     gensuitemodule  setuptools 
DocXMLRPCServer  _json    gestalt    sgmllib 
EasyDialogs   _locale    getopt    sha 
ExceptionHandling _lsprof    getpass    shelve 
Explorer   _multibytecodec  gettext    shlex 
FSEvents   _multiprocessing glob    shutil 
FileDialog   _osx_support  grp     signal 
Finder    _pyio    gzip    site 
FixTk    _random    hashlib    smtpd 
Foundation   _scproxy   heapq    smtpd2 
FrameWork   _socket    hmac    smtplib 
HTMLParser   _sqlite3   hotshot    sndhdr 
IN     _sre    htmlentitydefs  socket 
InputMethodKit  _ssl    htmllib    sqlite3 
InstallerPlugins _strptime   httplib    sre 
InstantMessage  _struct    ic     sre_compile 
InterfaceBuilderKit _symtable   icglue    sre_constants 
JavaScriptCore  _sysconfigdata  icopen    sre_parse 
LatentSemanticMapping _testcapi   idlelib    ssl 
LaunchServices  _threading_local ihooks    stat 
MacOS    _tkinter   imageop    statvfs 
Message    _warnings   imaplib    string 
MimeWriter   _weakref   imghdr    stringold 
MiniAEFrame   _weakrefset   imp     stringprep 
Nav     abc     importlib   strop 
Netscape   aepack    imputil    struct 
OSATerminology  aetools    inspect    subprocess 
OpenDirectory  aetypes    io     sunau 
OpenSSL    aifc    itertools   sunaudio 
PixMapWrapper  altgraph   json    symbol 
PreferencePanes  antigravity   keyword    symtable 
PubSub    anydbm    lib2to3    sys 
PyObjCTools   applesingle   linecache   sysconfig 
PyRSS2Gen   appletrawmain  locale    syslog 
QTKit    appletrunner  logging    tabnanny 
Quartz    argparse   macerrors   tarfile 
Queue    argvemulator  macholib   telnetlib 
ScreenSaver   array    macostools   tempfile 
ScriptingBridge  ast     macpath    terminalcommand 
ScrolledText  asynchat   macresource   termios 
SearchKit   asyncore   macurl2path   test 
ServiceManagement atexit    mailbox    textwrap 
SimpleDialog  audiodev   mailcap    this 
SimpleHTTPServer audioop    markupbase   thread 
SimpleXMLRPCServer autoGIL    marshal    threading 
SocketServer  base64    math    time 
StdSuites   bdb     matplotlib   timeit 
StringIO   bdist_mpkg   md5     tkColorChooser 
SyncServices  bgenlocations  mhlib    tkCommonDialog 
SystemConfiguration binascii   mimetools   tkFileDialog 
SystemEvents  binhex    mimetypes   tkFont 
Tix     bisect    mimify    tkMessageBox 
Tkconstants   bonjour    mmap    tkSimpleDialog 
Tkdnd    bsddb    modulefinder  toaiff 
Tkinter    bsddb185   modulegraph   token 
UserDict   buildtools   mpl_toolkits  tokenize 
UserList   bundlebuilder  multifile   trace 
UserString   bz2     multiprocessing  traceback 
WebKit    cPickle    mutex    ttk 
XgridFoundation  cProfile   netrc    tty 
_AE     cStringIO   new     turtle 
_AH     calendar   nis     twisted 
_App    cfmfile    nntplib    types 
_CF     cgi     ntpath    unicodedata 
_CG     cgitb    nturl2path   unittest 
_CarbonEvt   chunk    numbers    urllib 
_Cm     cmath    numpy    urllib2 
_Ctl    cmd     objc    urlparse 
_Dlg    code    opcode    user 
_Drag    codecs    operator   uu 
_Evt    codeop    optparse   uuid 
_File    collections   os     videoreader 
_Fm     colorsys   os2emxpath   warnings 
_Folder    commands   parser    wave 
_Help    compileall   pdb     weakref 
_IBCarbon   compiler   pickle    webbrowser 
_Icn    contextlib   pickletools   whichdb 
_LWPCookieJar  cookielib   pimp    wsgiref 
_Launch    copy    pipes    xattr 
_List    copy_reg   pkg_resources  xdrlib 
_Menu    crypt    pkgutil    xml 
_Mlte    csv     platform   xmllib 
_MozillaCookieJar ctypes    plistlib   xmlrpclib 
_OSA    curses    popen2    xxsubtype 
_Qd     datetime   poplib    zipfile 
_Qdoffs    dateutil   posix    zipimport 
_Qt     dbhash    posixfile   zlib 
_Res    dbm     posixpath   zope 
_Scrap    decimal    pprint    
_Snd    difflib    profile    

Enter any module name to get more help. Or, type "modules spam" to search 
for modules whose descriptions contain the word "spam". 
+2

파이썬 인터프리터 프롬프트에서'import [modulename]'을 시도 했습니까? 그건 우리가 당신의 컴퓨터에 로그인하지 않았다고 말할 수있는 유일한 방법입니다. –

+0

@JarrodRoberson 귀하의 의견을 추가 한 이후로 지금 있습니다. 모든 것은 코, virtualenv 및 pip에 대한 것으로 보였지만 "No module distribute"를 배포합니다. 또한 모듈을 보았지만 pydoc 모듈을 다시 보았지만 나타나지 않았다. –

+0

['help ('modules')'] (http://stackoverflow.com/questions/739993/get-a) -list-of-installed-python-modules? rq = 1) –

답변

0

결국 내 모듈을 보여준 셸에서 pip list을 사용했습니다.