![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
threadroc
771811549
展开
-
python学习总结
py文件模块导入 假设我src下有test.py和util文件夹,util里有FileClass,FileClass里有方法writeLine,我要在test.py调用FileClass里的writeLine方法. 有以下两种引入方式: 方式1: from util.FileClass import* writeLine('C:\\py.txt','哈哈') 方式2: import s原创 2016-12-05 15:36:38 · 395 阅读 · 0 评论 -
Windows下用PIP安装scipy出现no lapack/blas resources found
转自:点击打开链接 Windows下升级了pandas,但是发现scipy包随后引用出错,后来确认需重新安装scipy, 在用PIP安装scipy出现no lapack/blas resources found的错误,具体原因可参考 这里。 后来找到一种简便的解决方案,只要在网站 Unofficial Windows Binaries for Python Extensio转载 2016-12-09 10:33:50 · 653 阅读 · 0 评论 -
python在windows下安装第三方模块方法
在此网站下载对应的第三方包:http://www.lfd.uci.edu/~gohlke/pythonlibs/#nipy cmd下打开你下载该包的路径,例如我的是C:\python\other,执行cd C:\python\other CD到了该目录下后,执行命令安装指定包 例如我要安装刚下载好的numpy-1.11.2+mkl-cp35-cp35m-win_amd64.whl 则执行以原创 2016-12-09 10:46:02 · 2553 阅读 · 0 评论 -
python打包
第一步: 在控制台中输入 chcp 65001 第二步: pyinstaller.exe -F D:\D\workspace\dl_workspace\dl\v13\SocketClass.py原创 2017-03-01 19:21:41 · 242 阅读 · 0 评论 -
关于使用pyinstaller 打包带有matplotlib 等出现UnicodeDecodeError解决方法
转自:http://blog.csdn.net/u011529752/article/details/54892488 环境 win7 64位旗舰版 python3.4 anaconda 在含有 matplotlib的脚本工程中,用pyinstaller将其打包,在loading最后一个包zmq.py时出现错误: out = out.decode(encoding) Unicode转载 2017-02-21 15:11:20 · 786 阅读 · 0 评论 -
Python | 用Pyinstaller打包发布exe应用
http://jingyan.baidu.com/article/a378c960b47034b3282830bb.html 笔者使用tk开发了几个小程序,用以测试Python开发图形界面GUI的可能性。看网上介绍貌似使用Pyinstaller打包比较方便,于是试着试了一下,居然成功。 工具/原料 Pyt转载 2017-02-21 15:23:25 · 752 阅读 · 0 评论 -
Cython环境.
python3.5 cython3.5 visual studio 2015|选择前2个应该就可以了; 具体使用参考: http://www.cnblogs.com/kaituorensheng/p/4452881.html http://bbs.chinaunix.net/thread-4149295-1-1.html原创 2017-03-12 16:38:14 · 832 阅读 · 0 评论 -
python打包工具
py2exe----仅打包 nuitka----二进制----http://www.nuitka.net/doc/user-manual.html pyinstall----仅打包 cython----二进制;原创 2017-03-14 15:18:05 · 391 阅读 · 0 评论 -
seq2seq
1.错误:Couldn't open CUDA library cupti64_80.dll 解决方案:添加环境变量path:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\extras\CUPTI\libx64 2.hook报错的地方注释. AttributeError: module 'tensorflow.contrib.原创 2017-05-11 06:46:57 · 571 阅读 · 0 评论