Linux(ubuntu)上python2与python3共存环境下,安装virtualenvwrapper后, 其环境变量被自动设置为VIRTUALENVWRAPPER_PYTHON=/usr/bin/python 该地址指向Python2的解释器,现在更改成Python3就可以了,具体操作如下: # 修改环境变量,重新载入 vim ~/.bashrc 在.bashrc文件中,删除原先的virtualenvwrapper配置,并追加以下内容 if [ -f /usr/local/bin/vir…
在Ubuntu下安装完virtualenv.virtualenvwrapper,然后设置环境文件 .bashrc 接着 source .bashrc,产生错误信息 首先确认了 libpam-mount 等模块已经在系统安装了.查看后面的信息应该是文件配置路径有问题. 检查virtualenvwrapper.sh的信息 因为虚拟机目前只装了python3.6,所以先将此处改成python3 保存文件,再执行 source .bashrc,报错消失.…
由于在ubuntu环境下,将python做与python3.6做了软链接(ln -s python python3.6),并且pip也被我做了软链接,所以导致用pip安装virtualenvwrapper之后,在source启动virtualenvwrapper.sh时以及workon 虚拟环境时总是报错: ./virtualenvwrapper.sh: line : : command not found virtualenvwrapper.sh: There was a problem ru…
=======在使用ubuntu14.04,安装devstack的时候报错./stack.sh: line 463: generate-subunit: command not found 2016-10-29 14:38:49.689 | + sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assum…
今天一大早开VMware,启动ubuntu时出现了报错The VMware Authorization Service is not running,服务Authorization没有运行. 这之前一直正常的,昨天关虚拟机的时候选择保存状态后今天就这样了. 分析原因(自己YY的): 1.昨天关闭完VMware后感觉有点卡,顺手结束了几个VMware的后台进程,导致服务Authorization关闭. 2.昨天选择保存状态的关闭,今天想要恢复时出错,很久没用保存状态了,可能是保存状态需要这个服务,…
npm WARN Local package.json exists, but node_modules missing, did you mean to install? 解决方法: 输入npm install 或 cnpm install 后,再次启动 npm run dev 成功启动! 210% building 8/9 modules 1 active …web.0.9.2\node_modules\lodash\lodash.jsevents.js:183Error: getaddri…
报错This is probably not a problem with npm. There is likely additional logging output above. 安装了一个插件后运行 npm run serve  就报了以上错误 于是执行了npm install  依旧报错 最后,清空了之前安装的 rm -rf node_modules rm package-lock.json npm cache clear --force npm install 解决问题! 转载自-作者…
文件是utf8的,数据库表是utf8的,为什么客户端导入会报错呢? 发现客户端用的是gbk的 改为utf8后正常 SHOW VARIABLES LIKE 'character%'; +--------------------------+--------------+| Variable_name            | Value     |+--------------------------+--------------+| character_set_client     | gbk …
环境:oracle10g 系统:CentOS6.4 开始的时候,在节点1上运行root.sh发现出现90s 的时候hang住了,结束掉,结局完事后,再次运行root.sh报错 WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root WARNING: directory '/u01/app/oracle/product' is not owned by root WARNING: directory '/u0…
转载于:http://blog.csdn.net/v123411739/article/details/42645159 每次MyEclipse工作空间报错如下:'Building workspace' has encountered a problem. Errors occurred during the build.并且详细信息为:Errors occurred during the build.Errors running builder 'DeploymentBuilder' on p…