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

Can't start server on Win 10 and Python 3.9 #100

Open
Boregepco opened this issue Nov 10, 2020 · 0 comments
Open

Can't start server on Win 10 and Python 3.9 #100

Boregepco opened this issue Nov 10, 2020 · 0 comments

Comments

@Boregepco
Copy link

Hi,
I was with a windows 10 and python 2.7 and I was with a working ShadowsocksR SSR Server.
I changed ver. 2.7 with a Python 3.9.0 and i can't run a server. I have a lot of errors...
Where is the problem....

C:\Users\Bore\downloads\shadowsocksr\shadowsocks>python server.py
IPv6 support
Traceback (most recent call last):
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks\server.py", line 215, in
main()
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks\server.py", line 38, in main
config = shell.get_config(False)
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks..\shadowsocks\shell.py", line 299, in get_config
check_config(config, is_local)
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks..\shadowsocks\shell.py", line 129, in check_config
encrypt.try_cipher(config['password'], config['method'])
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks..\shadowsocks\encrypt.py", line 46, in try_cipher
Encryptor(key, method)
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks..\shadowsocks\encrypt.py", line 89, in init
self.cipher = self.get_cipher(key, method, 1,
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks..\shadowsocks\encrypt.py", line 119, in get_cipher
return m[2](method, key, iv, op)
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks..\shadowsocks\crypto\openssl.py", line 89, in init
load_openssl()
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks..\shadowsocks\crypto\openssl.py", line 37, in load_openssl
libcrypto = util.find_library(('crypto', 'eay32'),
File "C:\Users\Bore\downloads\shadowsocksr\shadowsocks..\shadowsocks\crypto\util.py", line 83, in find_library
lib = CDLL(path)
File "C:\Python39\lib\ctypes_init_.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application

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

1 participant