-
Notifications
You must be signed in to change notification settings - Fork 492
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
[Error] Failed to install python #27
Comments
This comment was marked as outdated.
This comment was marked as outdated.
请问这个问题解决了吗 |
[Info] Checking the EPEL repository... |
can someone help me. I also have that trouble |
maybe is centos8,i change os to centos7 and this problem is sloved |
|
works fine. |
I think that's possible, because my another sever which is CentOS 7 don't have this problem. |
Link is failed 链接用不了 |
Sorry, the article was temporarily hidden due to some outdated content. It has been restored now. |
把shad***socks.all.sh文件中的python(53个)改成 python3,因为centos8已经不识别 python |
Encounter same problem on ubuntu 22.04. Found solution if you can't change server's OS (i used installation script from Teddysun, if your installation journey is different, this will probably not help.)Please let me know if this is not a correct place for such information and i will move my answer to different repo/issue.
I solved everything like this:
In /usr/local/common.py:
At this point i thought that everything will work now. You can try at this point: And i got new error:
This is p.2.2 of problems that i encounter. This probably happens because /usr/local/shadowsocks/crypto/openssh.py calls find_library() and unable to get all 'expected libraries', even tho it can proceed with any found by 'expected name'. To fix this exact problem, in /usr/local/shadowsocks/crypto/util.py:
After those stages i was able to start server with command above: This is not even close to be 'ideal' or 'clean' solution, and you also might have another kind of errors, but if you can't change server's OS or have exactly the same problem this could help. Please note, that in my 'solution' i've patched only the problematic parts that i see for now, had too little time to inspect whole package and rewrite it to python3, so it is totally possible that some other parts of the code also needs to be updated or another bugs might arise, but i hope my little adventure will help somebody to overcome problems and give a hint on how it is possible to solve them. |
设置好加密方式后出现
Which cipher you'd select(Default: aes-256-cfb):
cipher = aes-256-cfb
Press any key to start...or Press Ctrl+C to cancel
[Info] Checking the EPEL repository...
[Info] Checking the EPEL repository complete...
[Info] Starting to install package unzip
[Info] Starting to install package gzip
[Info] Starting to install package openssl
[Info] Starting to install package openssl-devel
[Info] Starting to install package gcc
[Info] Starting to install package python
[Error] Failed to install python
Please visit: https://teddysun.com/486.html and contact.
[root@vultr ~]#
怎么解决
The text was updated successfully, but these errors were encountered: