Installed the oct2py package but is not recognized when imported

杀马特。学长 韩版系。学妹 提交于 2021-01-28 11:25:08

问题


I have just installed the oct2py python package using the following command on my Windows:

pip install oct2py

However, whenever I try to import the package oct2py in my python script, I get the error: No module named "oct2py"

What is it that is making me have this error?


回答1:


Change your environment variable from 'C:\Program Files\Python39' to this one 'C:\Users\YOU\AppData\Local\Programs\Python\Python39'.



来源:https://stackoverflow.com/questions/65773291/installed-the-oct2py-package-but-is-not-recognized-when-imported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!