Maison  >  Questions et réponses  >  le corps du texte

python - linux下使用pip安装openpyxl失败

linux系统下默认python2.7保留,又安装了python3.5,已创建虚拟环境并安装flask。用pip安装openpyxl失败。
其实安装flask的时候就知道我这pip有问题,可是有办法可以不使用pip安装就跳过去了,该面对的迟早要面对。

以下是提示

按提示说Name or service not known,由于openpyxl这个名字不会错,那就是我的源有问题了。
指源安装


也是失败,提示是一样的
网上说有创建/.pip/pip.conf并写入
[global]
index-url = https://pypi.mirrors.ustc.edu...
我也试过了,不行。还请指点。

阿神阿神2741 Il y a quelques jours1062

répondre à tous(2)je répondrai

  • ringa_lee

    ringa_lee2017-04-18 10:19:49

    Avant d'installer, veuillez pip search openpyxl essayez-le ~~

    répondre
    0
  • PHP中文网

    PHP中文网2017-04-18 10:19:49

    Résolu. Le nom de domaine ne peut pas être résolu. Après avoir modifié le DNS, ce sera normal. Si vous rencontrez de tels problèmes, veuillez d'abord envoyer une requête ping au nom de domaine pour confirmer si le nom de domaine peut être pingé normalement.

    répondre
    0
  • Annulerrépondre