ImportError: No module named '_markerlib'

問(wèn)題:

C:\Users\Administrator>pip install  pyzmail
Collecting pyzmail
  Using cached pyzmail-1.0.3.tar.gz
Collecting distribute (from pyzmail)
  Using cached distribute-0.7.3.zip
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info\distribute.egg-info
    writing dependency_links to pip-egg-info\distribute.egg-info\dependency_links.txt
    writing pip-egg-info\distribute.egg-info\PKG-INFO
    writing requirements to pip-egg-info\distribute.egg-info\requires.txt
    writing top-level names to pip-egg-info\distribute.egg-info\top_level.txt
    Traceback (most recent call last):
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\pkg_resources.py", line 2680, i
n _dep_map
        return self.__dep_map
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\pkg_resources.py", line 2525, i
n __getattr__
        raise AttributeError(attr)
    AttributeError: _DistInfoDistribution__dep_map

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\setup.py", line 58, in <module>

        setuptools.setup(**setup_params)
      File "d:\Anaconda3\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "d:\Anaconda3\lib\distutils\dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "d:\Anaconda3\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\setuptools\command\egg_info.py"
, line 177, in run
        writer = ep.load(installer=installer)
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\pkg_resources.py", line 2241, i
n load
        if require: self.require(env, installer)
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\pkg_resources.py", line 2254, i
n require
        working_set.resolve(self.dist.requires(self.extras),env,installer)))
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\pkg_resources.py", line 2471, i
n requires
        dm = self._dep_map
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\pkg_resources.py", line 2682, i
n _dep_map
        self.__dep_map = self._compute_dependencies()
      File "C:\Windows\TEMP\pip-build-0k84r_hv\distribute\pkg_resources.py", line 2699, i
n _compute_dependencies
        from _markerlib import compile as compile_marker
    ImportError: No module named '_markerlib'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Windows\TEMP\pip-build-
0k84r_hv\distribute\

解決方法:

C:\Users\Administrator>easy_install pyzmail
Searching for pyzmail
Reading https://pypi.python.org/simple/pyzmail/
Downloading https://pypi.python.org/packages/23/9a/c8709821fa15cec44f825fba884284b261a06d
8a0033a16f4c35470eb26a/pyzmail-1.0.3.tar.gz#md5=33cec6bf9c63e61f315da872a4908c06
Best match: pyzmail 1.0.3
Processing pyzmail-1.0.3.tar.gz
Writing C:\Windows\TEMP\easy_install-6x6nmauk\pyzmail-1.0.3\setup.cfg
Running pyzmail-1.0.3\setup.py -q bdist_egg --dist-dir C:\Windows\TEMP\easy_install-6x6nm
auk\pyzmail-1.0.3\egg-dist-tmp-pytdf5eh
VERSION 1.0.3
zip_safe flag not set; analyzing archive contents...
Copying pyzmail-1.0.3-py3.5.egg to d:\anaconda3\lib\site-packages
Adding pyzmail 1.0.3 to easy-install.pth file
Installing pyzsendmail script to d:\anaconda3\Scripts
Installing pyzinfomail script to d:\anaconda3\Scripts

Installed d:\anaconda3\lib\site-packages\pyzmail-1.0.3-py3.5.egg
Processing dependencies for pyzmail
Searching for distribute
Reading https://pypi.python.org/simple/distribute/
Downloading https://pypi.python.org/packages/5f/ad/1fde06877a8d7d5c9b60eff7de2d452f639916
ae1d48f0b8f97bf97e570a/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a
Best match: distribute 0.7.3
Processing distribute-0.7.3.zip
Writing C:\Windows\TEMP\easy_install-q9k1invb\distribute-0.7.3\setup.cfg
Running distribute-0.7.3\setup.py -q bdist_egg --dist-dir C:\Windows\TEMP\easy_install-q9
k1invb\distribute-0.7.3\egg-dist-tmp-s6tss3hc
warning: install_lib: 'build\lib' does not exist -- no Python modules to install

Copying distribute-0.7.3-py3.5.egg to d:\anaconda3\lib\site-packages
Adding distribute 0.7.3 to easy-install.pth file

Installed d:\anaconda3\lib\site-packages\distribute-0.7.3-py3.5.egg
Finished processing dependencies for pyzmail
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末绷雏,一起剝皮案震驚了整個(gè)濱河市衙四,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌积仗,老刑警劉巖品姓,帶你破解...
    沈念sama閱讀 211,290評(píng)論 6 491
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件寝并,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡腹备,警方通過(guò)查閱死者的電腦和手機(jī)衬潦,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,107評(píng)論 2 385
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)植酥,“玉大人镀岛,你說(shuō)我怎么就攤上這事∮淹裕” “怎么了漂羊?”我有些...
    開(kāi)封第一講書(shū)人閱讀 156,872評(píng)論 0 347
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)卸留。 經(jīng)常有香客問(wèn)我走越,道長(zhǎng),這世上最難降的妖魔是什么耻瑟? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 56,415評(píng)論 1 283
  • 正文 為了忘掉前任旨指,我火速辦了婚禮捻悯,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘淤毛。我一直安慰自己,他們只是感情好算柳,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,453評(píng)論 6 385
  • 文/花漫 我一把揭開(kāi)白布低淡。 她就那樣靜靜地躺著,像睡著了一般瞬项。 火紅的嫁衣襯著肌膚如雪蔗蹋。 梳的紋絲不亂的頭發(fā)上,一...
    開(kāi)封第一講書(shū)人閱讀 49,784評(píng)論 1 290
  • 那天囱淋,我揣著相機(jī)與錄音猪杭,去河邊找鬼。 笑死妥衣,一個(gè)胖子當(dāng)著我的面吹牛皂吮,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播税手,決...
    沈念sama閱讀 38,927評(píng)論 3 406
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼蜂筹,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了芦倒?” 一聲冷哼從身側(cè)響起艺挪,我...
    開(kāi)封第一講書(shū)人閱讀 37,691評(píng)論 0 266
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎兵扬,沒(méi)想到半個(gè)月后麻裳,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 44,137評(píng)論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡器钟,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,472評(píng)論 2 326
  • 正文 我和宋清朗相戀三年津坑,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片傲霸。...
    茶點(diǎn)故事閱讀 38,622評(píng)論 1 340
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡国瓮,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出狞谱,到底是詐尸還是另有隱情乃摹,我是刑警寧澤,帶...
    沈念sama閱讀 34,289評(píng)論 4 329
  • 正文 年R本政府宣布跟衅,位于F島的核電站孵睬,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏伶跷。R本人自食惡果不足惜掰读,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,887評(píng)論 3 312
  • 文/蒙蒙 一秘狞、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧蹈集,春花似錦烁试、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 30,741評(píng)論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至郭怪,卻和暖如春支示,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背鄙才。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 31,977評(píng)論 1 265
  • 我被黑心中介騙來(lái)泰國(guó)打工颂鸿, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人攒庵。 一個(gè)月前我還...
    沈念sama閱讀 46,316評(píng)論 2 360
  • 正文 我出身青樓嘴纺,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親浓冒。 傳聞我的和親對(duì)象是個(gè)殘疾皇子颖医,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,490評(píng)論 2 348

推薦閱讀更多精彩內(nèi)容