Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'inspurai' #40

Closed
arwooy opened this issue Dec 17, 2022 · 2 comments
Closed

ModuleNotFoundError: No module named 'inspurai' #40

arwooy opened this issue Dec 17, 2022 · 2 comments

Comments

@arwooy
Copy link

arwooy commented Dec 17, 2022

git clone https://github.com/Shawn-Inspur/Yuan-1.0.git
安装后,运行from inspurai import Yuan, set_yuan_account,Example
提示ModuleNotFoundError: No module named 'inspurai' 错误

@lifengss
Copy link
Contributor

应该是您的工作目录没有设置正确。请将工作目录的根目录cd到YUAN-1.0这个目录下。如果还报错,可用sys.path.append("inspurai的绝对路径")的方式添加检索路径

@liao0123456789
Copy link

我也是遇到楼主的问题,按照2楼的人回答已经解决了,需要添加到YUAN-1.0这个目录下才能用,从YUAN-1.0上打开。我还有一些其他模块没有安装好,pytz这些,安装好后就可以运行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants