找回密码
 立即注册
CeraNetworksBGVM服务器主机交流会员请立即修改密码Sharktech防护
查看: 48|回复: 4

今天从装了后端不知道为什么变成这样。望高手帮帮我看看

[复制链接]

6

主题

10

回帖

132

积分

注册会员

积分
132
发表于 2018-4-24 12:57:51 | 显示全部楼层 |阅读模式
2018-04-24 00:43:15 INFO     util.py:85 loading libcrypto from libcrypto.so.10
2018-04-24 00:43:15 INFO     asyncdns.py:324 dns server: [('4.2.2.1', 53), ('4.2.2.2', 53)]
2018-04-24 00:43:15 INFO     db_transfer.py:201 current process RLIMIT_NOFILE resource: soft 512000 hard 512000
2018-04-24 00:43:15 ERROR    db_transfer.py:215 Traceback (most recent call last):
  File "/usr/local/legendsock/db_transfer.py", line 208, in thread_db
    rows = db_instance.pull_db_all_user()
  File "/usr/local/legendsock/db_transfer.py", line 311, in pull_db_all_user
    import cymysql
ImportError: No module named cymysql
回复

使用道具 举报

105

主题

370

回帖

1810

积分

金牌会员

积分
1810
发表于 2018-4-24 13:03:14 | 显示全部楼层
  import cymysql
ImportError: No module named cymysql

很明显?
回复

使用道具 举报

5

主题

472

回帖

1560

积分

金牌会员

积分
1560
发表于 2018-4-24 13:04:10 | 显示全部楼层
pip install  cymysql
回复

使用道具 举报

6

主题

10

回帖

132

积分

注册会员

积分
132
 楼主| 发表于 2018-4-24 13:27:23 | 显示全部楼层
[root@Centos176 ~]# pip install  cymysql
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in
    load_entry_point('pip==10.0.1', 'console_scripts', 'pip')()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/__init__.py", line 42, in
    from pip._internal import cmdoptions
  File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/cmdoptions.py", line 16, in
    from pip._internal.index import (
  File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/index.py", line 526
    {str(c.version) for c in all_candidates},
                      ^
SyntaxError: invalid syntax
回复

使用道具 举报

6

主题

10

回帖

132

积分

注册会员

积分
132
 楼主| 发表于 2018-4-24 13:38:48 | 显示全部楼层

全球资源提供商 发表于 2018-4-24 13:04

pip install  cymysql


[root@Centos176 ~]# pip install  cymysql
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in
    load_entry_point('pip==10.0.1', 'console_scripts', 'pip')()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/__init__.py", line 42, in
    from pip._internal import cmdoptions
  File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/cmdoptions.py", line 16, in
    from pip._internal.index import (
  File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/index.py", line 526
    {str(c.version) for c in all_candidates},
                      ^
SyntaxError: invalid syntax
请问是什么问题了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|HS2V主机综合交流论坛

GMT+8, 2024-11-15 18:40 , Processed in 0.057671 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表