Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为何easy_install安装失败 #8

Closed
lishuaiiOS opened this issue Dec 3, 2019 · 4 comments
Closed

为何easy_install安装失败 #8

lishuaiiOS opened this issue Dec 3, 2019 · 4 comments

Comments

@lishuaiiOS
Copy link

我没学过python,在python这方面小白,我安装python3.5的环境,也下载包了,但是按照提示easy_install时候报错,官方提供的是easy_install [存放的路径]/pyalink-0.0.1-py3.*.egg。我的是easy_install /usr/apps/pyalink-1.0_flink_1.9.0_scala_2.11-py3.5.egg 为何跑了很久一直卡在Couldn't find index page for 'pyalink' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
卡的有半小时多,最后报错说找不到pyalink-1.0_flink_1.9.0_scala_2.11-py3.5,有安装成功的么?试了好多次都不行,有人懂么?在线等,挺急的

@Fanoid
Copy link
Collaborator

Fanoid commented Dec 3, 2019

我没学过python,在python这方面小白,我安装python3.5的环境,也下载包了,但是按照提示easy_install时候报错,官方提供的是easy_install [存放的路径]/pyalink-0.0.1-py3.*.egg。我的是easy_install /usr/apps/pyalink-1.0_flink_1.9.0_scala_2.11-py3.5.egg 为何跑了很久一直卡在Couldn't find index page for 'pyalink' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
卡的有半小时多,最后报错说找不到pyalink-1.0_flink_1.9.0_scala_2.11-py3.5,有安装成功的么?试了好多次都不行,有人懂么?在线等,挺急的

这种情况一般是有Python2和3共存导致的,可以用python --version看到默认使用的版本。
安装的话,你这种情况应该需要用easy_install-3.5来进行安装。(文档里其实有说明)

@lishuaiiOS
Copy link
Author

我没学过python,在python这方面小白,我安装python3.5的环境,也下载包了,但是按照提示easy_install时候报错,官方提供的是easy_install [存放的路径]/pyalink-0.0.1-py3.*.egg。我的是easy_install /usr/apps/pyalink-1.0_flink_1.9.0_scala_2.11-py3.5.egg 为何跑了很久一直卡在Couldn't find index page for 'pyalink' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
卡的有半小时多,最后报错说找不到pyalink-1.0_flink_1.9.0_scala_2.11-py3.5,有安装成功的么?试了好多次都不行,有人懂么?在线等,挺急的

这种情况一般是有Python2和3共存导致的,可以用python --version看到默认使用的版本。
安装的话,你这种情况应该需要用easy_install-3.5来进行安装。(文档里其实有说明)

我们确实有2个python版本 python -V是2.7.5 ,python3 -V是3.7,不小心昨天把python3.5升级到了3.7。我下个pyalink3.7的包用easy_install3.7试试安装一下

@Fanoid
Copy link
Collaborator

Fanoid commented Dec 3, 2019

怎么安装easy_install-3.7 我们系统有个easy_install 和easy_install-2.7 。不知道怎么升级,或者安装easy_install-3.7,网上也没找到答案

你这个实际上是系统和Python的问题了。一般通过系统的包管理或者pip install setuptools就好了,用pip的话也要注意版本。

@lishuaiiOS
Copy link
Author

怎么安装easy_install-3.7 我们系统有个easy_install 和easy_install-2.7 。不知道怎么升级,或者安装easy_install-3.7,网上也没找到答案

你这个实际上是系统和Python的问题了。一般通过系统的包管理或者pip install setuptools就好了,用pip的话也要注意版本。

多谢大佬 网上一直没找到答案

shaomengwang pushed a commit that referenced this issue Dec 27, 2019
shaomengwang pushed a commit to shaomengwang/Alink that referenced this issue Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants