欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

報錯:Command "python setup.py egg_info

系統 1867 0

安裝pydensecrf時報錯:

            
              (venv) dorothy@dorothy-MS-7A94:~/project/venv/bin$ pip install pydensecrf
Collecting pydensecrf
  Using cached https://files.pythonhosted.org/packages/31/5a/1c2ab48e8019d282c128bc5c621332267bb954d32eecdda3ba57306b1551/pydensecrf-1.0rc3.tar.gz
Building wheels for collected packages: pydensecrf
  Running setup.py bdist_wheel for pydensecrf ... error
  Complete output from command /home/dorothy/project2/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6jjoctul/pydensecrf/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmph56xsy38pip-wheel- --python-tag cp35:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.5
  creating build/lib.linux-x86_64-3.5/pydensecrf
  copying pydensecrf/__init__.py -> build/lib.linux-x86_64-3.5/pydensecrf
  copying pydensecrf/utils.py -> build/lib.linux-x86_64-3.5/pydensecrf
  running build_ext
  building 'pydensecrf.eigen' extension
  creating build/temp.linux-x86_64-3.5
  creating build/temp.linux-x86_64-3.5/pydensecrf
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipydensecrf/densecrf/include -I/home/dorothy/project2/venv/include -I/usr/include/python3.5m -c pydensecrf/eigen.cpp -o build/temp.linux-x86_64-3.5/pydensecrf/eigen.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  pydensecrf/eigen.cpp:23:20: fatal error: Python.h: 沒有那個文件或目錄
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for pydensecrf
  Running setup.py clean for pydensecrf
Failed to build pydensecrf
Installing collected packages: pydensecrf
  Running setup.py install for pydensecrf ... error
    Complete output from command /home/dorothy/project2/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6jjoctul/pydensecrf/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-hgybpc8s-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/dorothy/project2/venv/include/site/python3.5/pydensecrf:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.5
    creating build/lib.linux-x86_64-3.5/pydensecrf
    copying pydensecrf/__init__.py -> build/lib.linux-x86_64-3.5/pydensecrf
    copying pydensecrf/utils.py -> build/lib.linux-x86_64-3.5/pydensecrf
    running build_ext
    building 'pydensecrf.eigen' extension
    creating build/temp.linux-x86_64-3.5
    creating build/temp.linux-x86_64-3.5/pydensecrf
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipydensecrf/densecrf/include -I/home/dorothy/project2/venv/include -I/usr/include/python3.5m -c pydensecrf/eigen.cpp -o build/temp.linux-x86_64-3.5/pydensecrf/eigen.o
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    pydensecrf/eigen.cpp:23:20: fatal error: Python.h: 沒有那個文件或目錄
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "/home/dorothy/project2/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6jjoctul/pydensecrf/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-hgybpc8s-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/dorothy/project2/venv/include/site/python3.5/pydensecrf" failed with error code 1 in /tmp/pip-build-6jjoctul/pydensecrf/
You are using pip version 9.0.1, however version 19.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
            
          

解決方法:

            
              pip install pydensecrf
            
          

之前加上sudo,即:

            
              (venv) dorothy@dorothy-MS-7A94:~/project/venv/bin$ sudo pip install pydensecrf
sudo: /etc/sudoers.d 可被任何人寫
The directory '/home/dorothy/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/dorothy/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pydensecrf
  Downloading https://files.pythonhosted.org/packages/31/5a/1c2ab48e8019d282c128bc5c621332267bb954d32eecdda3ba57306b1551/pydensecrf-1.0rc3.tar.gz (1.0MB)
    100% |████████████████████████████████| 1.0MB 173kB/s 
Installing collected packages: pydensecrf
  Running setup.py install for pydensecrf ... done
Successfully installed pydensecrf-1.0rc3
You are using pip version 8.1.1, however version 19.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

            
          

?


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 美女久草| 在线二区| 97色伦图片97综合影院 | 青青免费视频精品一区二区 | 天天操天天操天天干 | 日本一本久 | 日本久久综合视频 | 亚洲日本人成中文字幕 | 国产精品久久久久影院色老大 | 九色视频网 | WW.国产人妻人伦精品 | 成人国产精品视频 | 欧美精品99毛片免费高清观看 | 国产不卡在线蜜 | 日日麻批免费视频 | 日本伊人色综合网站 | 爱爱视频天天干 | 欧美性猛交一区二区三区精品 | 国产欧美一级二级三级在线视频 | 亚洲日本三级 | 亚洲精品免费观看 | 色综合久久中文字幕网 | 国产大片91精品免费看3 | 色婷婷亚洲五月色综合色 | 香蕉久久一区二区不卡无毒影院 | 久久99综合国产精品亚洲首页 | 日韩av中文在线 | 欧美一级特黄毛片免费 | 色婷婷在线播放 | 一级片视频免费观看 | 91短视频在线播放 | 日本三级韩国三级欧美三级 | 亚洲精品久久久久一区二区三区 | 欧美a区| 色婷婷色综合缴情在线 | 国内真实迷j下药在线观看 人人艹逼 | 666sao| 日韩男人的天堂 | 亚洲欧美日韩中文字幕在线一区 | 韩国午夜电影 | 免费观看成人拍拍拍1000视频 |