<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[winwingy的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/winwingy</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; winwingy]]></copyright><item><title><![CDATA[2021-06-29]]></title><link>https://blog.youkuaiyun.com/winwingy/article/details/118336711</link><guid>https://blog.youkuaiyun.com/winwingy/article/details/118336711</guid><author>winwingy</author><pubDate>Tue, 29 Jun 2021 15:39:35 +0800</pubDate><description><![CDATA[PyArray_SimpleNewFromData(nd, dims, typenum, data)函数时出现内存错误的问题
用C++调用 python 转numpy  opencv 对像到 pyobject  有时会出现这个问题。 像
import_array();
在自己安装的python目录中搜索"object.h"文件，将其56行"#define Py_REF_DEBUG"语句注释掉即可。
在windows上的解决办法还有就是重装numpy 。但这个办法在linux还没有效。

...]]></description><category></category></item><item><title><![CDATA[2021-06-07]]></title><link>https://blog.youkuaiyun.com/winwingy/article/details/117670210</link><guid>https://blog.youkuaiyun.com/winwingy/article/details/117670210</guid><author>winwingy</author><pubDate>Mon, 07 Jun 2021 17:55:47 +0800</pubDate><description><![CDATA[vs2013调用  python 脚本 运行时出现  unable to load the file system codec
解决方案：
Py_SetPythonHome(L “D:\ProgramData\Anaconda3”);
就可以了

]]></description><category></category></item><item><title><![CDATA[2021-06-02]]></title><link>https://blog.youkuaiyun.com/winwingy/article/details/117467193</link><guid>https://blog.youkuaiyun.com/winwingy/article/details/117467193</guid><author>winwingy</author><pubDate>Wed, 02 Jun 2021 14:25:57 +0800</pubDate><description><![CDATA[win10 Anaconda安装的Python3，import _ssl 错误 最好的解决方案。通过增加 pkgs 下的 ssl 的bin 的路径到环境变量就可以解决。


ImportError: DLL load failed: 找不到指定的模块。


解决方法：
找到anaconda安装目录下的openssl目录，C:\Anaconda3\pkgs\openssl-1.1.1b-he774522_1\Library\bin
将该路径配置到Path中，并移至到最前。
重启cmd，在python中  ..]]></description><category></category></item><item><title><![CDATA[this operation must be run in a work tree 的解决方法]]></title><link>https://blog.youkuaiyun.com/winwingy/article/details/116227148</link><guid>https://blog.youkuaiyun.com/winwingy/article/details/116227148</guid><author>winwingy</author><pubDate>Wed, 28 Apr 2021 10:07:42 +0800</pubDate><description><![CDATA[git 我使用的是 tortoiseGit   显示这个 this operation must be run in a work tree 的解决方法。
git config --unset core.bare  当然首先确认你是在  .git 的同级目录下。

]]></description><category></category></item><item><title><![CDATA[通过ssh访问docker容器的办法 亲测可行]]></title><link>https://blog.youkuaiyun.com/winwingy/article/details/108491734</link><guid>https://blog.youkuaiyun.com/winwingy/article/details/108491734</guid><author>winwingy</author><pubDate>Wed, 09 Sep 2020 16:07:19 +0800</pubDate><description><![CDATA[通过ssh访问docker容器的办法

yum install openssh-server --downloadonly --downloaddir=/home/setup/baseRpm/sshd
docker run   -v /home/wingy/test:/home/wingy/test   -v /home/setup:/home/setup  -p 27502:22  --privileged=true --name dxpython3sshd2  -dt dx/dxpython3 bash]]></description><category></category></item></channel></rss>