mengskysama / shadowsocks-rm

A fast tunnel proxy that helps you bypass firewalls
Apache License 2.0
426 stars 443 forks source link

ImportError: No module named cymysql #64

Closed leapsea closed 6 years ago

leapsea commented 8 years ago

File "servers.py", line 35, in from dbtransfer import DbTransfer File "/srv/www/html/shadowsocks-rm/shadowsocks/dbtransfer.py", line 5, in import cymysql ImportError: No module named cymysql

图片: http://blog.leapsea.com/content/uploadfile/201610/bf681476418193.png

环境:Ubuntu14 Python 2.7.6 已安装 cymysql,但仍报错

zuoruizhi commented 8 years ago

你怎么安的

leapsea commented 8 years ago

https://iforday.com/160.html 按照这个教程安装的

安装ssr之前先安装了这个。 https://github.com/seatom/crysadm 这个也是使用了python,可能出现了版本不兼容的情况

zuoruizhi commented 8 years ago

你装的是ssr版本还是这个rm的

leapsea commented 8 years ago

rm版本的。

usc commented 7 years ago

根目录即 ./shadowsocksr,这个是多用户的,会用到cymysql模块 子目录即 ./shadowsocksr/shadowsocks,这个才是单用户的 所以单用户的启动是 python ./shadowsocksr/shadowsocks/server.py xxx