OpenTimelineIO: `pip install opentimelineio` causes CMake Error on Windows 10 x64
Hi,
I’m trying to install OpenTimelineIO on a clean windows box by using the pip install
command. I’ve installed the latest CMAKE package for x64 which has suppressed some errors, but I’m still not able to pip install opentimelineio
The error I’m getting is:
CMake Error at CMakeLists.txt:7 (project):
Generator
NMake Makefiles
does not support platform specification, but platform
x64
was specified.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
What are the appropriate settings and pre-requisites for including this package on a Windows box?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (2 by maintainers)
The solution by @maptz worked for me too in an identical set of circumstances. I just ran pip install opentimelineio from the command line and it worked after I installed VS with the C++ option. I also had the issue with the two missing libraries.
Well done @apetrynet and @meshula. We’re working!
Just a quick overview on how I got
pip install opentimelineio
to work in Windows as of today (2020/08/20) for anyone with the same issue.pip install opentimelineio
in a Developer Command Prompt for VS 2019..py
file calledtest.py
:C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python37\Lib\site-packages\opentimelineio\cxx-libs\bin
and copied the two dlls in that folder (opentime.dll
andopentimelineio.dll
) toC:\Users\[USERNAME]\AppData\Local\Programs\Python\Python37\Lib\site-packages\opentimelineio
.py test-py
.