<div id="readability-page-1" class="page"><div options="[object Object]"><h2 data-first-child="">一、matlab.engine在Windows上的安装</h2><p data-pid="_0-fjCtj">右键点击matlab打开文件所在位置,找到对应的extern\engines\python,原文中写的路径是matlabroot\extern\engines\python</p><div><pre><code>>cd "C:\Program Files\MATLAB\R2023b\extern\engines\python"
>python setup.py install
</code></pre></div><div><p><a target="_blank" href="https://link.zhihu.com/?target=https%3A//blog.csdn.net/weixin_42472706/article/details/106654667" data-draft-node="block" data-draft-type="link-card" data-text="license error: licens-CSDN博客" data-image="https://pic3.zhimg.com/v2-f9a1d5637429442e45d716520717712a_ipico.jpg" data-image-width="0" data-image-height="0" data-za-detail-view-id="172"><span><span>license error: licens-CSDN博客</span><span><span><svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M5.327 18.883a3.005 3.005 0 0 1 0-4.25l2.608-2.607a.75.75 0 1 0-1.06-1.06l-2.608 2.607a4.505 4.505 0 0 0 6.37 6.37l2.608-2.607a.75.75 0 0 0-1.06-1.06l-2.608 2.607a3.005 3.005 0 0 1-4.25 0Zm5.428-11.799a.75.75 0 0 0 1.06 1.06L14.48 5.48a3.005 3.005 0 0 1 4.25 4.25l-2.665 2.665a.75.75 0 0 0 1.061 1.06l2.665-2.664a4.505 4.505 0 0 0-6.371-6.372l-2.665 2.665Zm5.323 2.117a.75.75 0 1 0-1.06-1.06l-7.072 7.07a.75.75 0 0 0 1.061 1.06l7.071-7.07Z" clip-rule="evenodd"></path></svg></span>blog.csdn.net/weixin_42472706/article/details/106654667</span></span><span><img src="https://upload-images.jianshu.io/upload_images/22422688-1e93342a5623aa7f.png" alt=""></span></a></p></div><h2>安装的时候我使用pycharm里面自带的终端但是运行报错<a href="https://link.zhihu.com/?target=https%3A//blog.csdn.net/weixin_42472706/article/details/106654667" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043">license error: licens-CSDN博客</a>安装的时候我使用pycharm里面自带的终端但是运行报错</h2><div><pre><code>“error: could not create dist\matlabengineforpython.egg-info : 拒绝访问。”</code></pre></div><p data-pid="lO_2LLgB">我尝试多种方法,比如终端中打开管理员等,打开文件夹访问权限等全部特别复杂,并且没有弄出来</p><h3>解决问题:</h3><p data-pid="nt6MSJJx">我参照这个博客使用Anaconda Prompt以管理员的方式运行解决问题</p><figure data-size="normal"><p><img src="https://upload-images.jianshu.io/upload_images/22422688-0c3bc99314a7f845.png" data-caption="" data-size="normal" data-rawwidth="1553" data-rawheight="465" data-original-token="v2-e9391b57d064b49dd61e4cfb62dd314e" width="1553" data-original="https://pic3.zhimg.com/v2-d9a860fedbf5378d9f60d0dbd77da6d2_r.jpg" data-actualsrc="https://pic3.zhimg.com/v2-d9a860fedbf5378d9f60d0dbd77da6d2_b.jpg" height="465" data-lazy-status="ok"></p></figure><div><p><a target="_blank" href="https://link.zhihu.com/?target=https%3A//blog.csdn.net/weixin_47137045/article/details/127118250" data-draft-node="block" data-draft-type="link-card" data-text="关于python调用MATLAB的前期准备,以及“error: could not create dist\matlabengineforpython.egg-info : 拒绝访问。”的解决办法" data-image="https://pic4.zhimg.com/v2-e2806908d7650fa989c9c1bc963bc457_ipico.jpg" data-image-width="0" data-image-height="0" data-za-detail-view-id="172"><span><span>关于python调用MATLAB的前期准备,以及“error: could not create dist\matlabengineforpython.egg-info : 拒绝访问。”的解决办法</span><span><span><svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M5.327 18.883a3.005 3.005 0 0 1 0-4.25l2.608-2.607a.75.75 0 1 0-1.06-1.06l-2.608 2.607a4.505 4.505 0 0 0 6.37 6.37l2.608-2.607a.75.75 0 0 0-1.06-1.06l-2.608 2.607a3.005 3.005 0 0 1-4.25 0Zm5.428-11.799a.75.75 0 0 0 1.06 1.06L14.48 5.48a3.005 3.005 0 0 1 4.25 4.25l-2.665 2.665a.75.75 0 0 0 1.061 1.06l2.665-2.664a4.505 4.505 0 0 0-6.371-6.372l-2.665 2.665Zm5.323 2.117a.75.75 0 1 0-1.06-1.06l-7.072 7.07a.75.75 0 0 0 1.061 1.06l7.071-7.07Z" clip-rule="evenodd"></path></svg></span>blog.csdn.net/weixin_47137045/article/details/127118250</span></span><span><img src="https://upload-images.jianshu.io/upload_images/22422688-f385e724b7bfcb4e.png" alt=""></span></a></p></div></div></div><blockquote><p>本文使用 <a href="https://www.jianshu.com/p/5709df6fb58d" class="internal">文章同步助手</a> 同步</p></blockquote>
windows python调用matlab matlab.engine 以及报错“error: could not create 拒绝访问 - 知乎
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 内容转载自我的博客[https://blog.whuzfb.cn/blog/2020/08/02/install_...
- 在windows cmd下启动matlab command[https://blog.csdn.net/qq_39...
- 已经激活的matlab2019b,运行matlab报错License Manager Error -103的解决办...
- 之前在博客园上总结的笔记,最近需要翻了出来,共享在简书上。 update 2016.10.4转移到另一个环境使用m...