pythonic-emacs / anaconda-mode

Code navigation, documentation lookup and completion for Python.
GNU General Public License v3.0
707 stars 87 forks source link

Error installing package using easy_install in Windows #362

Closed xx299x closed 4 years ago

xx299x commented 5 years ago

image

unknow url type: https....

My solution is to modify CMD in anaconda-mode.el. Add the following code --index-url=http://mirrors.aliyun.com/pypi/simple/ at the end of the list of cmd.

image

Finally, please forgive my poor English

CeleritasCelery commented 4 years ago

So if you change the url to use http, then easy_install works?

xx299x commented 4 years ago

So if you change the url to use http, then easy_install works?

Yes, it works very well.

CeleritasCelery commented 4 years ago

I am very surprised that it cannot recognize https as a valid url. Since you have found a workaround, and I don’t see this issue with windows install, I think the best course will be to close this issue. I don’t want to change default url used by easy_install.

xx299x commented 4 years ago

I am very surprised that it cannot recognize https as a valid url. Since you have found a workaround, and I don’t see this issue with windows install, I think the best course will be to close this issue. I don’t want to change default url used by easy_install.

OK