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

ovf.dll not found #18

Open
Charlsv316 opened this issue Mar 11, 2023 · 3 comments
Open

ovf.dll not found #18

Charlsv316 opened this issue Mar 11, 2023 · 3 comments

Comments

@Charlsv316
Copy link

Charlsv316 commented Mar 11, 2023

I have already installed the ovf library and I am having the following issue:
FileNotFoundError: Could not find module 'C:\Users\Charlie\anaconda3\envs\spirit\Lib\site-packages\ovf\ovf.dll' (or one of its dependencies). Try using the full path with constructor syntax.

I am sending a picture to see the complete problem. Any help to face this problem will be really appreciated.

WhatsApp Image 2023-03-10 at 22 44 33

@GPMueller
Copy link
Member

I never had spirit or the ovf lib working with conda, so I'm not sure what changes to the install-script might be necessary to make it work.

Could you still please describe what you did to install the lib?
The ovflib.py script is expecting the dll to be next to itself, and it seems it wasn't copied into the conda env. If you know where the dll is, you could just copy it into the folder manually.

@Charlsv316
Copy link
Author

Charlsv316 commented Mar 17, 2023 via email

@GPMueller
Copy link
Member

Sorry but if you're using Anaconda I'm afraid the pip-install of these won't work, I never got around to supporting conda. If that's the only Python environment you can use, I don't think you can make it work.

If you have a development environment with cmake and a suitable compiler, you could build ovf and spirit yourself, and by adding the corresponding folders in your PYTHONPATH (I think) you should be able to mimic a regular package-installation.

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

2 participants