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

Windows11:import nncase error #1266

Closed
huhuhu321123 opened this issue Nov 6, 2024 · 2 comments
Closed

Windows11:import nncase error #1266

huhuhu321123 opened this issue Nov 6, 2024 · 2 comments

Comments

@huhuhu321123
Copy link

Describe the bug
I want to use nncase in python on windows OS to compile .kmodel.
However, "import nncase" leads to error.

To Reproduce
I installed nncase using the following methods:
Windows:

  1. pip install nncase
  2. 在下面release链接中下载nncase_kpu-2.x.x-py2.py3-none-win_amd64.whl
  3. pip install nncase_kpu-2.x.x-py2.py3-none-win_amd64.whl
    已经发布Python包见Release页面。

After running "import nncase", I get the following error message:
image

I referred to issue #451
image
and I get the following error message:
image

Environment (please complete the following information):

  • OS: windows 11
  • nncase version 2.9.0
  • nncase-kpu version 2.9.0
  • pip version 24.3.1
  • python version 3.9.13
@huhuhu321123
Copy link
Author

手动下载了dotnet以后可以import nncase了
但是import nncase_base_func还是出错:ModuleNotFoundError: No module named 'nncase_base_func'。

https://github.com/kendryte/nncase/blob/master/examples/user_guide/k230_simulate-ZH.ipynb
请问这个notebook支持在windows上运行吗?有windows支持的nncase模型转换例程吗?

@huhuhu321123
Copy link
Author

'nncase_base_func'
https://github.com/kendryte/nncase/blob/master/examples/user_guide/nncase_base_func.py

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

1 participant