我使用一个脚本通过ubuntu中的pycharm运行Odoo11 (openerp_openserver脚本)当我试图运行这个程序时,它会在某个时候失败,当它导入pdf模块时,我有以下错误:如您在此图像中所看到的那样,ImportError No Module Named 'PyPDF2'我已经通过这个命令安装了PyPDF2 (我已经安装了python3.5 ):
sudoapt-get i
所以我确实安装了curses,我已经用dpkg检查过了。现在,当我尝试导入它时,会发生这种情况[GCC 4.6.3] on linux2 myscreen = curses.initscr()
AttributeError: 'module' object has no attribute 'initscr
当尝试导入pygame时,我得到以下错误: File "C:\Users\Jesse\.spyder-py3\Aliens\pygame\__init__.py", line 120, in <module>
ImportError: DLL load failed: The specified module could not be found.我不知道为什么它找不到pygame.base。当我安装pygame