View Single Post
Old 04-03-2021, 09:50 PM   #10
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by likekindle View Post
hi, i've made a new version of this plugin, but it's not working for now,
when i install it, the error message pop up:



i used pandas and pymongo in the plugin, but i've installed them using pip, why it still failed to run?

PS. this version is based on Li Fanxi's work, for more details, plz check the code.
PPS. this is the plugin file as attachment, but I'm not sure it's available for you.
https://www.mobileread.com/forums/at...1&d=1617454991
Calibre includes its own Python installation. It does not use anything from the Python installed in the OS. If you want to use modules not included with calibre, you need to package them yourself.

But, how are you using Pandas and PyMongo? I would have thought Pandas was overkill. But, I haven't touched it enough to see what advantage it would have over other methods. But, you completely baffle me with PyMongo. As it is an interface for MongoDB, I could only see it being useful if Douban is allowing direct access to their database.
davidfor is offline   Reply With Quote