python-baidusearch
                                
                                 python-baidusearch copied to clipboard
                                
                                    python-baidusearch copied to clipboard
                            
                            
                            
                        Encoding Problem will cause download error.
In setup.py: def read(fname): return open(os.path.join(os.path.dirname(file), fname),encoding="utf-8").read(); didn't make sure that the encoding is UTF-8.(I myself add the encoding="utf-8")And this will cause some gbk-users can't pip install baidusearch with command line error "exit status 1". Anyway,thanks for your work!
应该是他的readme文件有问题,你把setup文件里的read屏蔽掉,就可以装了。亲测有效
Successfully built baidusearch Installing collected packages: lxml, baidusearch Successfully installed baidusearch-1.0.2 lxml-4.5.2