15
votes

I just downloaded PyCharm the other day and wanted to download a few packages. I'm using Windows 10 with PyCharm 2016.2.2 and python 3.5.2. When I go to the available packages screen it continually states:

Error loading package list:pypi.python.org

I was just trying to download BeautifulSoup and I'm clearly missing something. Any help would be wonderful.

11

11 Answers

29
votes

I am behind a corporate firewall and had this problem. All I had to do was go to Settings/Appearance and Behavior/System Settings/HTTP Proxy and check Auto-detect proxy settings and it worked.

8
votes

I got the same problem and solution was that I got some other repositories added to repositories manager. So, make sure that you don't have anything extra then

https://pypi.python.org/simple at Repositories

enter image description here enter image description here

2
votes

First of all, I think you should use Default Preferences in File to install packages. Second, you should check "Manage Repositories" if there's any unavailable source.

2
votes

Update PyCharm January 2020 Build

If you are behind a proxy then

  • Go to File->Settings search for proxy in the settings dialog
  • Check Auto-Detect Proxy Settings:

enter image description here

1
votes

File -> Settings -> Python Interpreter -> Add package -> Manage repositories -> Set only "https://pypi.python.org/simple", as told by @Jee Mok, works fine for me.

0
votes

You should update to PyCharm 2016.2.3

Help -> Check for Updates...

0
votes

If you are running PyCharm on OSX behind a proxy you need to define proxy configuration the following should do the trick:

  • Click on PyCharm > Preferences > Appearance and Behavior > System Settings -> HTTP Proxy
  • Either select Auto-detect proxy settings
  • Or select Manual proxy configuration
    1. Define the Host Name and Port
    2. and optionally Proxy Authentication if required
  • Click Apply
0
votes

All the above solution did not work for me, I had to manually install the package using proxy:

pip install -U <package_name> --user --proxy=<your proxy>
0
votes

If you are using a Corporate license, make sure you are connected to your corporate VPN

0
votes

I was having the same problem. I tried the HTTP option but it didn't work, then i opened manage repositories and deleted all except https://pypi.python.org/simple and it worked.