Open Charlsv316 opened 1 year ago
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.
Dear G. P. Müller,
Thanks for the answer!
For sure, I installed both spirit and ovf, following the
instructions in their respective webpages, using pip as:
pip install spirit and pip install ovf
In both cases, I am encountering a similar problem as follows:
FileNotFoundError: Could not find module 'C:\Users\Charlie\anaconda3\envs\spirit\Lib\site-packages\spirit\Spirit.dll' (or one of its dependencies). Try using the full path with constructor syntax.
or
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 looked for these modules in my anaconda folder, but I couldn't find them.
If you could find a solution, I would really appreciate it!
Thanks in advance!
On Fri, Mar 17, 2023 at 6:24 AM G. P. Müller @.***> wrote:
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.
— Reply to this email directly, view it on GitHub https://github.com/spirit-code/ovf/issues/18#issuecomment-1473499381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKYI2O3Y32RFVY76UZJNGA3W4QUUBANCNFSM6AAAAAAVXEZBE4 . You are receiving this because you authored the thread.Message ID: @.***>
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.
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.