[go: nahoru, domu]

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

[Question]: 无法安装PaddleNLP #8673

Closed
aLittleGreens opened this issue Jun 27, 2024 · 2 comments
Closed

[Question]: 无法安装PaddleNLP #8673

aLittleGreens opened this issue Jun 27, 2024 · 2 comments
Assignees
Labels
installation Issues of installation question Further information is requested

Comments

@aLittleGreens
Copy link

请提出你的问题

caiyukuideMacBook-Pro:PaddleNLP caiyukui$ pip install --upgrade paddlenlp>=2.0.0rc -i https://pypi.org/simple

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
ERROR: Could not find a version that satisfies the requirement paddlenlp (from versions: none)
ERROR: No matching distribution found for paddlenlp

[notice] A new release of pip is available: 23.1.2 -> 24.1
[notice] To update, run: pip install --upgrade pip
caiyukuideMacBook-Pro:PaddleNLP caiyukui$
caiyukuideMacBook-Pro:PaddleNLP caiyukui$ pip install --upgrade paddlenlp>=2.0.0rc -i https://pypi.org/simple
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/paddlenlp/
ERROR: Could not find a version that satisfies the requirement paddlenlp (from versions: none)
ERROR: No matching distribution found for paddlenlp

@aLittleGreens aLittleGreens added the question Further information is requested label Jun 27, 2024
@DrownFish19
Copy link
Collaborator

建议更换pip源,例如使用清华源 -i https://pypi.tuna.tsinghua.edu.cn/simple
或者使用源码安装

git clone https://github.com/PaddlePaddle/PaddleNLP.git
cd PaddleNLP && python setup.py install

@aLittleGreens
Copy link
Author
aLittleGreens commented Jun 28, 2024 via email

@DrownFish19 DrownFish19 added the installation Issues of installation label Jun 28, 2024
@ZHUI ZHUI closed this as completed Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Issues of installation question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants