XX-Net icon indicating copy to clipboard operation
XX-Net copied to clipboard

deleted

Open JinZhangLab opened this issue 7 years ago • 4 comments

deleted

JinZhangLab avatar Dec 14 '17 09:12 JinZhangLab

​删除 /mnt/sda1/XX-Net-3.8.7/code/default/python27/1.0/lib/linux/ 试试, openwrt 一般是MIPS,和x86不同。

xxnet avatar Dec 14 '17 12:12 xxnet

@xxnet ​删除 /mnt/sda1/XX-Net-3.8.7/code/default/python27/1.0/lib/linux/ 以后运行 python ./XX-Net-3.8.7/code/default/launcher/start.py又出现新的错误 Dec 14 12:23:10.640 [launcher][INFO] import build-in openssl fail:ImportError('No module named cryptography.hazmat.bindings.openssl.binding',) Dec 14 12:23:10.696 [launcher][ERROR] import system python-OpenSSL fail:ImportError('No module named cryptography.hazmat.bindings.openssl.binding',) Dec 14 12:23:10.704 [launcher][ERROR] Except stack:Traceback (most recent call last): File "/mnt/sda1/XX-Net-3.8.7/code/default/launcher/start.py", line 150, in import OpenSSL File "/mnt/sda1/XX-Net-3.8.7/code/default/python27/1.0/lib/noarch/OpenSSL/init.py", line 8, in from OpenSSL import rand, crypto, SSL File "/mnt/sda1/XX-Net-3.8.7/code/default/python27/1.0/lib/noarch/OpenSSL/rand.py", line 12, in from OpenSSL._util import ( File "/mnt/sda1/XX-Net-3.8.7/code/default/python27/1.0/lib/noarch/OpenSSL/_util.py", line 6, in from cryptography.hazmat.bindings.openssl.binding import Binding ImportError: No module named cryptography.hazmat.bindings.openssl.binding

Try install python-openssl

Press Enter to continue...

JinZhangLab avatar Dec 14 '17 12:12 JinZhangLab

​​删除 /mnt/sda1/XX-Net-3.8.7/code/default/python27/1.0/lib/noarch/OpenSSL 本来应该先找到系统的OpenSSL 的,但是却先找到自带的OpenSSL

看看能否找到系统的OpenSSL

xxnet avatar Dec 14 '17 12:12 xxnet

@xxnet 删除/mnt/sda1/XX-Net-3.8.7/code/default/python27/1.0/lib/noarch/OpenSSL后,执行报错: Dec 20 20:34:45.674 [launcher][INFO] import build-in openssl fail:ImportError('No module named OpenSSL',) Dec 20 20:34:45.683 [launcher][ERROR] import system python-OpenSSL fail:ImportError('No module named OpenSSL',) Dec 20 20:34:45.687 [launcher][ERROR] Except stack:Traceback (most recent call last): File "./XX-Net-3.9.1/code/default/launcher/start.py", line 151, in import OpenSSL ImportError: No module named OpenSSL

Try install python-openssl

但是执行opkg install python-openssl,提示 Package python-openssl (2.7.13-7) installed in root is up to date.

JinZhangLab avatar Dec 20 '17 12:12 JinZhangLab