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

Failed to import dwave.inspector because the file _minorminer.cp313-win_amd64.pyd from the minorminer package is flagged as a virus. #318

Open
darkmatter2000 opened this issue Dec 24, 2024 · 7 comments

Comments

@darkmatter2000
Copy link

Description
Failed to import dwave.inspector because the file _minorminer.cp313-win_amd64.pyd from the minorminer package is flagged as a virus.

To Reproduce
Run the following command: import dwave.inspector

Expected behavior
The import should work without any issues.

Environment:

  • OS: [window 11]
  • Python version: [3.13.1]
  • Ocean SDK version: [8.1.0]

Additional context

@Jacck
Copy link

Jacck commented Dec 26, 2024

I have same issue: ImportError: DLL load failed while importing _minorminer

@arcondello
Copy link
Member

@darkmatter2000, what error message are you getting? I see you're using Python 3.13. Would it be possible to check if it also happens with 3.12? And if so, does this happen with only minorminer==0.2.16 or also with minorminer==0.2.15?

@Jacck , I suspect the DLL load fail might be different. But similar question, can you post the full traceback? And does it happen only with one version of minorminer or with all? What version of Python are you using?

@randomir
Copy link
Member

randomir commented Jan 6, 2025

@darkmatter2000 and @Jacck, can you share which antivirus (or other threat-detection software) are you running? I just did a quick check of that file on Kaspersky online scanner, and it found no issues. It's possible your AV found a false positive signature somewhere.

@randomir
Copy link
Member

randomir commented Jan 6, 2025

I see "MaxSecure" is flagging _minorminer.cp313-win_amd64.pyd as Trojan.Malware.300983.susgen. That's a false positive for sure.

@darkmatter2000
Copy link
Author

I solved the problem by disabling the antivirus before installation and reactivating it afterwards.

@darkmatter2000
Copy link
Author

@arcondello the error message is "Failed to import dwave.inspector because the file _minorminer.cp313-win_amd64.pyd ..." and at the same time I had a notification from the antivirus so I concluded that it was related and when I looked in the quarantine folder the file _minorminer.cp313-win_amd64.pyd was there

@Jacck
Copy link

Jacck commented Jan 12, 2025

Thx for you support. Its solved. I just added minorminer.cp310-win_amd64.pyd to McAfee white list.

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