search

Home  >  Q&A  >  body text

python - pycharm无法安装模块,出现nothing to show

之前用pycharm时挺好,卸载后重新安装就不行了。试过Invalidate Caches/Restar,没用。python和pycharm都重新安装过还是没用,换版本安装也没用。

PHPzPHPz2838 days ago3041

reply all(4)I'll reply

  • ringa_lee

    ringa_lee2017-04-18 09:08:40

    Under Windows, it should be changed C:users用户名pippip.inihere
    If there is no directory, create a new one.

    reply
    0
  • 高洛峰

    高洛峰2017-04-18 09:08:40

    Pycharm is just an IDE. You can install the packages you need directly in the console through pip or easy_install, which does not affect your use

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 09:08:40

    Thanks for the invitation! I also encountered this problem two days ago. The approximate solution is as follows:
    Create .pipdirectory under ~/, and then create the pip.conf file

    [global]
    index-url = http://pypi.douban.com/simple
    trusted-host = pypi.douban.com

    I’m not sure about the Windows directory

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 09:08:40

    Don’t do anything after Invalidate Caches/Restar. Watch the data in the lower right corner of it re-index. Wait until it is indexed and see if it works

    reply
    0
  • Cancelreply