简体   繁体   中英

Unable to load the repository(PyDev for eclipse)

I encountered the problem. When i am trying to create new PyDev project, an error occurs:

Error:

Unable to load the repository http://pydev.org/updates 

Unknown Host: http://pydev.org/updates/content.xml 

When I open this link( http://pydev.org/updates ) in my browser, it redirects me here - http://pydev.org/updates/content.xml

So i understand Eclipse cannot find the repository because there's nothing to look at this link... Does anybody know how to solve this problem?

Update:
I installed PyDev as described at PyDev Manual (Help-Install New software-and so on...)

If the url doesn't work directly, you may visit the update site in the browser (ie: http://www.pydev.org/updates/ ) and check the note to where it does redirect.

The current url it redirects to is http://dl.bintray.com/fabioz/pydev/5.8.0/ but it changes at each release, so, you may want to check the current release and update the version accordingly.

For older versions, it's possible to visit (in the browser) http://www.pydev.org/update_sites/ and check the existing update site urls (again, you may visit the update site url to see where it does redirect to and use that directly).

Notes:

  • the redirects are to https, but some users seem to experience issues with it, so, using http may be an option.
  • check your firewall to see if it's not blocking eclipse.
  • if you're under a vpn, you may want to check if it's blocking something (ie: maybe try without the vpn).

Now http://www.pydev.org/updates points to current version of Pyded: https://dl.bintray.com/fabioz/pydev/5.3.1/

But this link won't work unless you change the protocol to http instead of https . So, the working link is:

http://dl.bintray.com/fabioz/pydev/5.3.1/

i had the same problem. I was behind a proxy and once i set the proxy (as described here: http://www.mkyong.com/web-development/how-to-configure-proxy-settings-in-eclipse/ ) it worked. Not sure if you have the same problem though.

Taken from this answer by Sukupa91 :

Go to Window --> Preference --> General --> Network Connection --> select Direct from drop down!

This worked for me.

我会建议检查您是否使用 VPN,因为我使用的是办公室 VPN,所以我收到了错误

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM