-1
我相信我剛剛安裝了pip,nose,distribute和virtualenv。我想檢查並在終端運行pydoc模塊,看看有什麼 - 沒有一個出現。我錯過了什麼嗎?應該出現這些模塊。終端輸出低於(Mac,Python 2.7)。檢查模塊安裝是否正確
要安裝這些模塊,我首先使用sudo easy_install pip
安裝了pip。於是,我做了以下:
pip install virtualenv
pip install nose
pip install distribute
似乎都「工作」 - 終端下載了一些東西,打印一些輸出,我認爲暗示了它的工作(我不能回去和複製/粘貼,因爲我輸出關閉終端窗口並重新打開,希望我的新安裝的模塊可能會出現)
如何判斷我是否已成功安裝這些模塊?我有沒有?
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".
您是否嘗試從python解釋器提示符導入[modulename]'?這是唯一可以告訴的方式,我們沒有登錄到您的計算機,但您是。 –
@JarrodRoberson自從您添加評論以來,我現在已經有了。所有對於鼻子,virtualenv和pip都很好,但分發了「No module named distribute」。此外,因爲這樣做,我再次嘗試pydoc模塊,看看我能否看到模塊,但他們不出現 –
['help('modules')'](http://stackoverflow.com/questions/739993/get-a -list-的安裝-蟒模塊?RQ = 1) –