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

_opentime cannot be found in Windows #1100

Closed
JerryKon opened this issue Oct 12, 2021 · 5 comments
Closed

_opentime cannot be found in Windows #1100

JerryKon opened this issue Oct 12, 2021 · 5 comments
Labels
bug A problem, flaw, or broken functionality. wheels windows

Comments

@JerryKon
Copy link

Incorrect Functionality and General Questions

_opentime cannot be found in Windows, Python 2.7.16, otio 0.13.0 installed with pip.
And cannot find how to solve it in issue #681 and #667 .

Logs

import opentimelineio as otio

File "l:\packages\pg\third_party\plugin\otio\0.13.0\platform-windows\python-2.7.16\opentimelineio_init_.py", line 35, in
from . import (
File "l:\packages\pg\third_party\plugin\otio\0.13.0\platform-windows\python-2.7.16\opentimelineio\opentime.py", line 1, in
from . _opentime import ( # noqa
ImportError: DLL load failed: 找不到指定的模块。

Additional Context

Add any other context about the problem here.

@JerryKon JerryKon added the bug A problem, flaw, or broken functionality. label Oct 12, 2021
@ci010
Copy link

ci010 commented Oct 14, 2021

Same issue here on windows x64 python3 in virtualenv.

I found a workaround that copy all the dll files under Libs/site-packages/opentimelineio/cxx-libs/bin/ to Libs/site-packages/opentimelineio. Then the _opentime.dll can be found.

@meshula
Copy link
Collaborator

meshula commented Oct 14, 2021

We're working on getting wheels created regularly for Windows, things will be smoother when that's up and running. Keep an eye on this PR: #1099

Also, can you clarify the build steps you are following to obtain OTIO? I'm not sure if you are reporting a problem with OTIO installed from source here at github, or if you are installing from pypi?

@JerryKon
Copy link
Author

Same issue here on windows x64 python3 in virtualenv.

I found a workaround that copy all the dll files under Libs/site-packages/opentimelineio/cxx-libs/bin/ to Libs/site-packages/opentimelineio. Then the _opentime.dll can be found.

I have no .opentimelineio/cxx-libs folder.

@meshula
Copy link
Collaborator

meshula commented Oct 21, 2021

That workaround applies to older versions of OpenTimelineIO. We have landed a publish workflow, please see the workflow comments by tin2tin in this PR: #1110

@meshula
Copy link
Collaborator

meshula commented Oct 27, 2021

We have released OpenTimelineIO 0.14.0 on pypi. Please feel free to reopen this issue if you encounter issues with python -m pip install opentimelineio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem, flaw, or broken functionality. wheels windows
Projects
None yet
Development

No branches or pull requests

3 participants