(22)odoo 安装旧模块报错处理】的更多相关文章

一些老版本的模块没有得到升级,所以经常碰到模块无法安装的问题. No module name osv 将模块的 from osv import osv,fields 改为 from openerp.osv import osv,fields 其实这是一个编程规范问题,旧版模块代码里很多这种导入方式,一个一个改对于不懂代码的或者openerp新手是不现实的. 众所周知,openerp的运行入口是openerp-server.py,在6.0及之前版本,这个入口文件和其他server包是在同一个目录的…
需求:安装suds模块 遇到的问题: 一.报错信息:[file][Default Settint]---Project Interpreter 点击 搜索suds安装模块报错 解决:依据上图提示找到C:\Program Files\JetBrains\PyCharm 2017.2.3\helpers\packaging_tool.py 文件的192行和109行 将do_install函数和do_uninstall函数修改为如下格式 def do_install(pkgs): try: try:…
今天电脑重装系统,所有软件都重装一遍,MySQLdb模块一直装不好,纠结了好久,终于解决,方法分享给大家. MySQLdb模块安装: 1.下载MySQL-pyhon模块,网站为:https://pypi.python.org/pypi/MySQL-python/ 2.解压,进入目录,修改site.cfg文件13行,取消注释,将原路径mysql_config = /usr/local/bin/mysql_config,改为新的mysql_config = /usr/local/mysql/bin/…
如何升级nodejs版本 首先安装n模块, 输入npm install -g n n模块专门用来管理nodejs的版本. 如果出现npm ERR! notsup Unsupported platform for n@2.1.8: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":&qu…
psutil/_psutil_linux.c:9:20: 错误:Python.h:没有那个文件或目录 In file included from psutil/_psutil_linux.c:19:psutil/_psutil_linux.h:11: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ tokenpsutil/_psutil_linux.h:12: 错误:expected ‘=’, ‘,’, ‘;’, ‘a…
1.软件环境: mac环境:10.11.6(15G31) python: 3.6 2.问题: sudo pip install pymssql 后出现下面问题: fatal error: 'sqlfront.h' file not found   3.解决方案: 终端执行  brew install freetds@0.91 终端执行  brew link --force freetds@0.91 终端执行  sudo pip install pymssql(或则 pycharm直接安装)…
在升级python版本为3.6之后,pip安装模块报错. 报错信息如图: 原因是系统自带的openssl版本与python3的版本不匹配,所以这里只要升级openssl版本就可以解决问题. yum -y install openssl openssl-devel 升级完之后需要重新编译安装python. 编译安装python传送阵.....…
python 安装模块报错 Exception:Traceback (most recent call last): File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/response.py", line 302, in _error_catcher yield File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any…
windows下pip安装python模块时报错总结  装载于:https://www.cnblogs.com/maxaimee/p/6515165.html 前言: 这几天把python版本升级后,发现pip安装模块好多都报错(暂不确定是不是因为升级导致的),我定睛一看,发现是权限的问题,那么怎么解决呢? 1 权限问题 C:\Users\ljf>pip install xlwt Exception: Traceback (most recent call last): File "c:\…
一.playwith包简介 playwith包提供了一个GTK+图形用户界面(GUI),使得用户可以编辑R图形并与其交互.playwith()函数允许用户识别和标注点.查看一个观测所有的变量值.缩放和旋转图形.添加标注(文本.箭头.线条.矩形.标题和标签).修改视觉元素(颜色.文本大小等).应用先前存储的图形风格,以及以多种格式输出图形结果.依赖于GTK+ GUI,用户可以使用鼠标编辑图形.与identify()函数不同,playwith()既对R基础图形有效,也对lattice和ggplot2…
本文为大家整理汇总了一些linux下编译安装php各种报错大集合 ,感兴趣的同学参考下. nginx1.6.2-mysql5.5.32二进制,php安装报错解决: 123456 [root@client php-5.3.27]#make......Generating phar.php/home/oldboy/tools/php-5.3.27/sapi/cli/php: error while loading shared libraries: libmysqlclient.so.18: can…
在把webpack作为本地开发依赖安装的时候报错 Refusing to install webpack as a dependency of itself 原因是package.json里的name的值为webpack,所以换个名字就好了…
python 3.5.2安装mysql驱动报错 python 3.5.2安装mysql驱动时出现如下异常: [root@localhost www]# pip install mysql-connector-python Collecting mysql-connector-python Could not find a version that satisfies the requirement mysql-connector-python (from versions: ) No match…
Heka 编译安装后 运行报错 panic: runtime error: cgo argument has Go pointer to Go pointer 解决办法: 1.  Start hekad with the GODEBUG variable exported in its environment: export GODEBUG=cgocheck=0 2. 之后出现如下报错,找不到lua文件 2017/01/16 10:33:38 Decoder 'MemStats-MemStats…
windows 8 安装 oracle 11g 报错:command line option syntax error,type command/? for help 在windows8操作系统上安装oracle 数据库一定要注意安装路径中不能包括中文,当前登录系统的账户姓名不能是中文名字,一般我 安装windows8操作系统时需要捆绑一个我们申请好的微软邮箱,邮箱账号中姓名大多都写的是中文名字,当用该邮箱账号成功捆绑 windows8操作系统,操作系统就自动生成如:C:\Users\姓名\..…
前言 之前装Sql Server都没遇到过这样的问题, 昨天重装了系统之后, 然后安装SQl Server 报错,提示 "需要 Microsoft.NET Framework 3.5 ServicePack 1" . 由于之前没遇到过, 结果百度搜索了好一阵子才得以解决. 所以写下此篇博文来记录一下, 方便日后阅读及提供给遇到同样问题的网友们参考. 1.先看错误, 如下图所示 紧接着, 我们点击 "失败" 查看错误信息, 就会出现如下错误信息界面. 然后按照错误信息…
报错情况: 当Mac OS通过 npm 安装 React Native 报错,警告文字为:checkPermissions Missing write access to /usr/local/lib/node_modules 报错图片如下: 报错原因:npm 的安装权限不足 解决办法:在安装命令前加上 sudo,根据提示输入密码即可. 安装成功截图:…
在部署open-falcon环境过程中,安装Dashboard时候报错"SSLError: The read operation timed out".如下: [root@open dashboard]# ./env/bin/pip install -r pip_requirements.txt Downloading/unpacking Flask==0.10.1 (from -r pip_requirements.txt (line 1)) Downloading Flask-0.…
命令: ansible -i hosts_20 st  -m shell -a 'service zabbix_agentd star'  -K --become ansible -i hosts_20 st  -m shell -a 'lsof -i:10050'  -K --become 在shell模块报错:| FAILED | rc=127 >>/bin/sh: lsof: command not found 在command模块报错:| rc=2 >>[Errno 2]…
pycharm上安装tensorflow,报错:AttributeError: module 'pip' has no attribute 'main' 解决方法 解决方法: 在pycharm的安装目录下,找到helpers/packaging_tool.py文件, 找到对应的109行和192行. 也就是找到: def do_install(pkgs): try: import pip except ImportError: error_no_pip() return pip.main(['in…
如何解决vue-cli 安装时  npm 报错 errno -4048 第一种解决方法:以管理身份运行cmd.exe 第二种解决办法:在dos窗口输入命令  npm cache clean  --force 如果分着使用这两种方法都起作用,可以同时使用二者.…
环境:win10 64bit 客户端工具: 安装的时候报错: 解决方案: 在\client\stage\cvu目录下找到如下两个文件: 编辑这两个文件,在文件中分别添加如下内容 <OPERATING_SYSTEM RELEASE="6.2"> <VERSION VALUE=""/> <ARCHITECTURE VALUE="64-bit"/> <NAME VALUE="Windows 10&qu…
vscode安装dlv插件报错:There is no tracking information for the current branch. https://blog.csdn.net/a785975139/article/details/80874792   vscode安装go语言的调试插件,按官方给出的方法很简单,在cmd下执行这个命令: go get -u github.com/derekparker/delve/cmd/dlv 无耐的是,我一直报如下错误: go get -v -u…
Centos6.7系统,python3.6.7,通过 pip 安装pycurl出现报错: __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config': 'curl-config' 系统已经安装了curl,出现此错误提示一般是因为没有安装对应的开发库,解决方法: yum -y install libcurl-devel…
刚好用了一个插件,然后在线安装报错了,一直报错,之前用的这个插件是直接解压贴的,现在在线安装出错,就很尬,我又有点懒,不想再去下载,贴,所以查了下,有网友说是eclipse的插件版本问题,更新了下,成功了,我估摸着一些插件也可能有一样的问题,然后我就记录下 吧. 在线安装fatjar(URL:http://kurucz-grafika.de/fatjar) 快要安装完的时候报错如下: 找了很久解决方法,终于有了下文:很是粗乎意料呃,下载一个eclipse2.0插件就可以了 1.安装Eclipse…
windows下pip安装python模块时报错总结 请给作者点赞--> 原文链接 1 权限问题 C:\Users\ljf>pip install xlwt Exception: Traceback (most recent call last): File "c:\program files\python35\lib\site-packages\pip\basecommand.py", line 21 1, in main status = self.run(option…
Linux安装ElasticSearch后,ElasticSearch是不能用root用户启动的,以root用户启动会报错Refer to the log for complete error details,出现这种情况该如何解决呢?下面小编就为大家带来Linux安装ElasticSearch启动报错的解决方法,一起去看看吧   今天就出现的异常问题专门解决一下.你安装好ElasticSearch以后,在启动的时候需要注意的问题是,ElasticSearch是不能用root用户启动的(这是根据…
今天重装了win10系统,开始安装各种软件,装到node的时候我崩溃了,报错there is a problem in the windows installer package··· 度娘了各种安装方法一直不成功,大哭.最后,终于看到了一位网友说他安装python,报错和我这个一样,我抱着试一试的心态用了他的方法,果然成功了,比心!下面post出我成功安装node的方法. 1. 在开始面板找到命令提示符,右键选择“以管理员身份运行” 2. 进入到安装包的文件目录内 3. 回到命令提示符窗口,运…
1.cnmp安装失败 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://registry.npm.taobao.org Password: /usr/local/lib └── (empty) npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr…
1.下载mysql 5.7的zip版解压缩的安装包 在mysql官网:http://dev.mysql.com/downloads/mysql/ 2.解压到本地任意目录,并创建一个mysql_data目录,用于存放mysql数据,如下 3.在解压的mysql根目录下,创建一个my.ini文件,文件内容如下 [mysql] default-character-set=utf8 [mysqld] port = basedir=D:\apps\mysql--winx64 datadir=D:\apps…