Not able to install packages in Pycharm

前端 未结 5 1309
野的像风
野的像风 2020-12-10 00:39

I have pycharm community edition(latest stable build) installed on my Ubuntu 16.04 LTS, I am not able to install packages via pycharm, was able to install them before. I can

5条回答
  •  臣服心动
    2020-12-10 01:36

    I had the same issue. It happened suddenly, day ago I was able to perform pip or install packages but on the next day error appeared. However this helped (I used version PyCharm Community Edition 2018):

    Go to Settings -> Project Interpreter -> click green "+" icon (on right) -> Manage Repositories (on bottom) -> delete https://pypi.python.org/simple -> add https://pypi.python.org/pypi then click Ok. Repo will be back again as /simple, but don't worry, error should disappear and you should be able to install packages again.

提交回复
热议问题