Giter Club home page Giter Club logo

Comments (10)

LiuLang avatar LiuLang commented on August 24, 2024

你的系统提供的python3-crypto 软件太不完整, 缺少了PKCS1_OAEP这个子模块.
或者太旧了.
我的系统是debian sid, 里面的是 python3-crypto (2.6.1-5), 没有问题.

from bcloud.

pazz7ven avatar pazz7ven commented on August 24, 2024

我的系统ubuntu12.04 升级到最新版就这样了

2014-06-03 21:07 GMT+08:00 LiuLang [email protected]:

你的系统提供的python3-crypto 软件太不完整, 缺少了PKCS1_OAEP这个包.


Reply to this email directly or view it on GitHub
#23 (comment).

from bcloud.

LiuLang avatar LiuLang commented on August 24, 2024

明天我在虚拟机中的ubuntu 14.04中测试一下, 今天太晚了.

from bcloud.

LiuLang avatar LiuLang commented on August 24, 2024

你是升级到12.04 的最新版? 还是升级到了ubuntu最新版(ubuntu 14.04)?
我试了, ubuntu 14.04 没有问题.

from bcloud.

LiuLang avatar LiuLang commented on August 24, 2024

ubuntu 12.04 版本太旧, 里面的一些python3模块也比较旧, 比如python3-crypto 就缺少了RSA模块, sqlite3也没有LIMIT语法.

我刚才加入了一些兼容性代码, 如果没有RSA模块的话, 就不再调用它了, 但是, 如果你的帐号需要用RSA来加密认证的话, 就无法登录.
我也不确定哪些帐号需要用到RSA, 因为百度的开发文档里面也没说明. 之前有个朋友在大陆以外用gmail帐号登录百度网盘时, 就需要RSA; 我的测试帐号是163邮箱, 就不需要RSA.

请下载bcloud-3.3.7-2_all.deb 再试一下.

from bcloud.

pazz7ven avatar pazz7ven commented on August 24, 2024

我用的 elementary OS Luna 百度用的企鹅邮箱

在 2014年6月4日 上午11:23,LiuLang [email protected]写道:

ubuntu 12.04 版本太旧, 里面的一些python3模块也比较旧, 比如python3-crypto 就缺少了RSA模块,
sqlite3也没有LIMIT语法.

我刚才加入了一些兼容性代码, 如果没有RSA模块的话, 就不再调用它了, 但是, 如果你的帐号需要用RSA来加密认证的话, 就无法登录.
我也不确定哪些帐号需要用到RSA, 因为百度的开发文档里面也没说明. 之前有个朋友在大陆以外用gmail帐号登录百度网盘时, 就需要RSA;
我的测试帐号是163邮箱, 就不需要RSA.

请下载bcloud-3.3.7-2_all.deb
https://github.com/LiuLang/bcloud-packages/blob/master/bcloud_3.3.7-2_all.deb?raw=true
再试一下.


Reply to this email directly or view it on GitHub
#23 (comment).

from bcloud.

pazz7ven avatar pazz7ven commented on August 24, 2024

我用pip3安装的 现在直接安装这个deb包成了这样子
~$ bcloud-gui
Traceback (most recent call last):
File "/usr/bin/bcloud-gui", line 9, in
from bcloud.App import App
ImportError: No module named 'bcloud'

卸载这个包重新用pip3安装又成了这个样子
~$ bcloud-gui
bash: /usr/bin/bcloud-gui: 没有那个文件或目录

在 2014年6月4日 下午12:07,[email protected] [email protected]写道:

我用的 elementary OS Luna 百度用的企鹅邮箱

在 2014年6月4日 上午11:23,LiuLang [email protected]写道:

ubuntu 12.04 版本太旧, 里面的一些python3模块也比较旧, 比如python3-crypto 就缺少了RSA模块,

sqlite3也没有LIMIT语法.

我刚才加入了一些兼容性代码, 如果没有RSA模块的话, 就不再调用它了, 但是, 如果你的帐号需要用RSA来加密认证的话, 就无法登录.
我也不确定哪些帐号需要用到RSA, 因为百度的开发文档里面也没说明. 之前有个朋友在大陆以外用gmail帐号登录百度网盘时, 就需要RSA;
我的测试帐号是163邮箱, 就不需要RSA.

请下载bcloud-3.3.7-2_all.deb
https://github.com/LiuLang/bcloud-packages/blob/master/bcloud_3.3.7-2_all.deb?raw=true
再试一下.


Reply to this email directly or view it on GitHub
#23 (comment).

from bcloud.

LiuLang avatar LiuLang commented on August 24, 2024

先把deb 安装包卸载(deb包), 再用pip3 uninstall 把bcloud卸载(pypi).
我不确定你混合安装后会出现什么问题.
把它们都卸载后, 重新安装deb包.

from bcloud.

pazz7ven avatar pazz7ven commented on August 24, 2024

弄干净之后再安装还是这样
~$ bcloud-gui
Traceback (most recent call last):
File "/usr/bin/bcloud-gui", line 9, in
from bcloud.App import App
ImportError: No module named 'bcloud'

在 2014年6月4日 下午12:26,LiuLang [email protected]写道:

先把deb 安装包卸载(deb包), 再用pip3 uninstall 把bcloud卸载(pypi).
我不确定你混合安装后会出现什么问题.
把它们都卸载后, 重新安装deb包.


Reply to this email directly or view it on GitHub
#23 (comment).

from bcloud.

LiuLang avatar LiuLang commented on August 24, 2024

Elementary OS如果是基于ubuntu的话, 它就应该能使用为debian/ubuntu制作的deb包.
现在看来, 很明显不兼容.

debian系列的系统中, python3 的第三方模块都放在了/usr/lib/python3/dist-packages目录里, 你的系统不支持从这个目录里读取python3模块. 你可以向Elementary OS提交issue, 或者在elementary OS的论坛问一下.

from bcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.