前提: mac中之前安装了mysql,一段时间没使用,今天使用mysql客户端去连接,报错提示密码过期,原因是mysql5.7之后版本有密码过期这个功能. error: Your password has expired. To log in you must change it using a client that supports expired passwords. 打开终端,启动mysql服务: sudo /usr/local/mysql/support-files/mysql.ser…
项目中用到一些sass写的样式,但是每次一编译就报错 按照它上面的提醒,npm rebuild node-sass --force,还是一样有错.不过仔细看看他的错误信息我发现了其中这条: gyp verb could not find "C:\Users\myh\AppData\Local\Programs\Python\Python36\python.EXE". checking python launchergyp verb could not find "C:\Use…
window7 64位下安装第三方包,,比如安装yaml的exe执行文件,会 报错及解决:python version 2.7(3.4) required,which was not found in the registry 方法:新建一个register.py 文件,把一下代码贴进去,保存 # # script to register Python 2.0 or later for use with win32all # and other extensions that require P…
MacOS 上安装 R 包 install.packages("data.table") 后面提示是否安装需要编译的版本: Do you want to install from sources the package which needs compilation?y/n 选择了 y 之后,报错 clang: error: unsupported option '-fopenmp' 网上找到的解决方法是: 安装 clang-omp brew install clang-omp 但是提…
安装/卸载第三包可能出现如下问题及相应解决办法: 在pycharm编辑中,使用anconda2更新.卸载第三方包时,出现如下错误: AttributeError:'module' object has no attribute 'main' 原因:新版pip中的main函数已经发生了变化,pip版本的原因,pip version 10.0.1,旧版本不会出现问题 参考:PyCharm 2017.3 在pip10.0.0版本中报错(module 'pip' has no attribute 'ma…