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

HivisionIDPhotos DOCKER desktop運行時報出如下錯誤,請問怎麼解決? #186

Open
holylandp opened this issue Oct 8, 2024 · 4 comments

Comments

@holylandp
Copy link

2024-10-08 16:24:08 Traceback (most recent call last):
2024-10-08 16:24:08 File "/app/app.py", line 3, in
2024-10-08 16:24:08 from demo.processor import IDPhotoProcessor
2024-10-08 16:24:08 File "/app/demo/processor.py", line 2, in
2024-10-08 16:24:08 from hivision import IDCreator
2024-10-08 16:24:08 File "/app/hivision/init.py", line 1, in
2024-10-08 16:24:08 from .creator import IDCreator, Params as IDParams, Result as IDResult
2024-10-08 16:24:08 File "/app/hivision/creator/init.py", line 12, in
2024-10-08 16:24:08 import hivision.creator.utils as U
2024-10-08 16:24:08 File "/app/hivision/creator/utils.py", line 45, in
2024-10-08 16:24:08 image: np.ndarray,
2024-10-08 16:24:08 AttributeError: module 'numpy' has no attribute 'ndarray'
2024-10-08 16:24:22 Traceback (most recent call last):
2024-10-08 16:24:22 File "/app/app.py", line 3, in
2024-10-08 16:24:22 from demo.processor import IDPhotoProcessor
2024-10-08 16:24:22 File "/app/demo/processor.py", line 2, in
2024-10-08 16:24:22 from hivision import IDCreator
2024-10-08 16:24:22 File "/app/hivision/init.py", line 1, in
2024-10-08 16:24:22 from .creator import IDCreator, Params as IDParams, Result as IDResult
2024-10-08 16:24:22 File "/app/hivision/creator/init.py", line 12, in
2024-10-08 16:24:22 import hivision.creator.utils as U
2024-10-08 16:24:22 File "/app/hivision/creator/utils.py", line 45, in
2024-10-08 16:24:22 image: np.ndarray,
2024-10-08 16:24:22 AttributeError: module 'numpy' has no attribute 'ndarray'
2024-10-08 16:24:23 Traceback (most recent call last):
2024-10-08 16:24:23 File "/app/app.py", line 3, in
2024-10-08 16:24:23 from demo.processor import IDPhotoProcessor
2024-10-08 16:24:23 File "/app/demo/processor.py", line 2, in
2024-10-08 16:24:23 from hivision import IDCreator
2024-10-08 16:24:23 File "/app/hivision/init.py", line 1, in
2024-10-08 16:24:23 from .creator import IDCreator, Params as IDParams, Result as IDResult
2024-10-08 16:24:23 File "/app/hivision/creator/init.py", line 12, in
2024-10-08 16:24:23 import hivision.creator.utils as U
2024-10-08 16:24:23 File "/app/hivision/creator/utils.py", line 45, in
2024-10-08 16:24:23 image: np.ndarray,
2024-10-08 16:24:23 AttributeError: module 'numpy' has no attribute 'ndarray'
2024-10-08 16:26:00 Traceback (most recent call last):
2024-10-08 16:26:00 File "/app/app.py", line 3, in
2024-10-08 16:26:00 from demo.processor import IDPhotoProcessor
2024-10-08 16:26:00 File "/app/demo/processor.py", line 2, in
2024-10-08 16:26:00 from hivision import IDCreator
2024-10-08 16:26:00 File "/app/hivision/init.py", line 1, in
2024-10-08 16:26:00 from .creator import IDCreator, Params as IDParams, Result as IDResult
2024-10-08 16:26:00 File "/app/hivision/creator/init.py", line 12, in
2024-10-08 16:26:00 import hivision.creator.utils as U
2024-10-08 16:26:00 File "/app/hivision/creator/utils.py", line 45, in
2024-10-08 16:26:00 image: np.ndarray,
2024-10-08 16:26:00 AttributeError: module 'numpy' has no attribute 'ndarray'
2024-10-08 16:26:44 Traceback (most recent call last):
2024-10-08 16:26:44 File "/app/app.py", line 3, in
2024-10-08 16:26:44 from demo.processor import IDPhotoProcessor
2024-10-08 16:26:44 File "/app/demo/processor.py", line 2, in
2024-10-08 16:26:44 from hivision import IDCreator
2024-10-08 16:26:44 File "/app/hivision/init.py", line 1, in
2024-10-08 16:26:44 from .creator import IDCreator, Params as IDParams, Result as IDResult
2024-10-08 16:26:44 File "/app/hivision/creator/init.py", line 12, in
2024-10-08 16:26:44 import hivision.creator.utils as U
2024-10-08 16:26:44 File "/app/hivision/creator/utils.py", line 45, in
2024-10-08 16:26:44 image: np.ndarray,
2024-10-08 16:26:44 AttributeError: module 'numpy' has no attribute 'ndarray'
2024-10-08 16:26:46 Traceback (most recent call last):
2024-10-08 16:26:46 File "/app/app.py", line 3, in
2024-10-08 16:26:46 from demo.processor import IDPhotoProcessor
2024-10-08 16:26:46 File "/app/demo/processor.py", line 2, in
2024-10-08 16:26:46 from hivision import IDCreator
2024-10-08 16:26:46 File "/app/hivision/init.py", line 1, in
2024-10-08 16:26:46 from .creator import IDCreator, Params as IDParams, Result as IDResult
2024-10-08 16:26:46 File "/app/hivision/creator/init.py", line 12, in
2024-10-08 16:26:46 import hivision.creator.utils as U
2024-10-08 16:26:46 File "/app/hivision/creator/utils.py", line 45, in
2024-10-08 16:26:46 image: np.ndarray,
2024-10-08 16:26:46 AttributeError: module 'numpy' has no attribute 'ndarray'

@shen774411223d
Copy link
Contributor

依赖应该没有安装好,重新执行 pip install 还不行的话借助下其他源试试?

@holylandp
Copy link
Author

holylandp commented Oct 12, 2024 via email

@shen774411223d
Copy link
Contributor

fat tiger @.>于2024年10月12日 周六17:23写道:
依赖应该没有安装好,重新执行 pip install 还不行的话借助下其他源试试? — Reply to this email directly, view it on GitHub <#186 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BL5ODT5K6NHMGMQQHVQCKBLZ3DTBNAVCNFSM6AAAAABPRXKMYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGQ3TGMJXGE . You are receiving this because you authored the thread.Message ID: @.
>
感谢,换了其他源好了。

好的,国内安装pip 依赖可能会不顺利。但是看你繁体字应该是香港或者其他地区。。也会有安装不顺利的情况吗?

@holylandp
Copy link
Author

holylandp commented Oct 12, 2024 via email

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

3 participants
@shen774411223d @holylandp and others