sevpants
sevpants

Reputation: 365

PyCharm Error Loading Package List

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.

Upvotes: 15

Views: 71326

Answers (9)

Marcos Alves
Marcos Alves

Reputation: 21

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

Upvotes: 1

Riya John
Riya John

Reputation: 532

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

Upvotes: 0

pk786
pk786

Reputation: 2400

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>

Upvotes: 0

Hitesh Sahu
Hitesh Sahu

Reputation: 45070

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

Upvotes: 5

Giorgos Myrianthous
Giorgos Myrianthous

Reputation: 39830

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

Upvotes: 0

Nick PV
Nick PV

Reputation: 405

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

Upvotes: 10

Chris Broski
Chris Broski

Reputation: 2550

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.

Upvotes: 34

高梓乔
高梓乔

Reputation: 19

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.

Upvotes: 1

Related Questions