AcademySoftwareFoundation / OpenTimelineIO

Open Source API and interchange format for editorial timeline information.
http://opentimeline.io
Apache License 2.0
1.45k stars 287 forks source link

Unable to install on windows #767

Closed ReelChezburger closed 4 years ago

ReelChezburger commented 4 years ago

When attempting to install using 'pip3 install opentimelineio' I get the error:

ERROR: Command errored out with exit status 1: 'd:\hprograms\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'D:\\TEMP\\pip-install-vdx134eo\\opentimelineio\\setup.py'"'"'; __file__='"'"'D:\\TEMP\\pip-install-vdx134eo\\opentimelineio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'D:\TEMP\pip-record-q9kmgkfc\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\hprograms\python\Include\opentimelineio' Check the logs for full command output.

I have just installed both python and CMake. in the middle there is also the error:

DEPRECATION: Could not build wheels for opentimelineio which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.

ssteinbach commented 4 years ago

Arg, sorry about that.

Which version of python are you using?

tagging @meshula and @reinecke since they've worked on this stuff a bit.

meshula commented 4 years ago

There's some crucial information lacking, before we can help out.

ReelChezburger commented 4 years ago
  • is msvc installed, what version?
  • is python installed, and in the path, what version (the only clue in the error is pip3, so I can guess python 3.x)
  • what steps did you follow to build, are they the steps we describe in the documentation?
  1. I have MSVC 2005, 2008, 2010, 2012, 2013, and 2015-2019
  2. I installed Python 3.8.5, and added it to PATH
  3. I instaled PySide2 using pip install PySide2 as described in the quickstart guide, then ran pip install opentimelineio
meshula commented 4 years ago

I uninstalled opentimelineio, deleted my pip cache, and under Python 3.8.0, VS2019, I got a successful installation.

c:\Projects>pip install opentimelineio
Collecting opentimelineio
  Downloading OpenTimelineIO-0.12.1.tar.gz (2.0 MB)
     |████████████████████████████████| 2.0 MB 2.2 MB/s
Requirement already satisfied: pyaaf2==1.2.0 in c:\python38\lib\site-packages (from opentimelineio) (1.2.0)
Building wheels for collected packages: opentimelineio
  Building wheel for opentimelineio (setup.py) ... done
  Created wheel for opentimelineio: filename=OpenTimelineIO-0.12.1-cp38-cp38-win_amd64.whl size=454261 sha256=ba19af1ebd0ddaec8729ace6328ed53bfb49b0fbee3cbb6f6509c8265ee18aff
  Stored in directory: c:\users\meshu\appdata\local\pip\cache\wheels\d5\eb\b2\06afc7e16bad5058d0917b5e37a9e39e1fbfe5c0c98988ef7d
Successfully built opentimelineio
Installing collected packages: opentimelineio
Successfully installed opentimelineio-0.12.1

I'm wondering if you could delete your pip cache, run the pip install opentimelineio command again, and paste the full log here?

ReelChezburger commented 4 years ago

Collecting opentimelineio Downloading OpenTimelineIO-0.12.1.tar.gz (2.0 MB) |████████████████████████████████| 2.0 MB 1.6 MB/s Requirement already satisfied: pyaaf2==1.2.0 in d:\hprograms\python\lib\site-packages (from opentimelineio) (1.2.0) Building wheels for collected packages: opentimelineio Building wheel for opentimelineio (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'd:\hprograms\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio\\setup.py'"'"'; __file__='"'"'D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'D:\TEMP\pip-wheel-ucdot6ah' cwd: D:\TEMP\pip-install-uu4xa6y4\opentimelineio\ Complete output (179 lines): running bdist_wheel running build running build_py creating build creating build\lib.win32-3.8 creating build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\exceptions.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\hooks.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\media_linker.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\opentime.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\test_utils.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\__init__.py -> build\lib.win32-3.8\opentimelineio creating build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\adapter.py -> build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\cmx_3600.py -> build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\fcp_xml.py -> build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\otio_json.py -> build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\__init__.py -> build\lib.win32-3.8\opentimelineio\adapters creating build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\filter.py -> build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\stack_algo.py -> build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\timeline_algo.py -> build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\track_algo.py -> build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\__init__.py -> build\lib.win32-3.8\opentimelineio\algorithms creating build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\autogen_plugin_documentation.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\autogen_serialized_datamodel.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\console_utils.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\otiocat.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\otioconvert.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\otiopluginfo.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\otiostat.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\__init__.py -> build\lib.win32-3.8\opentimelineio\console creating build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\composable.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\composition.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\item.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\mediaReference.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\_core_utils.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\__init__.py -> build\lib.win32-3.8\opentimelineio\core creating build\lib.win32-3.8\opentimelineio\plugins copying src\py-opentimelineio\opentimelineio\plugins\manifest.py -> build\lib.win32-3.8\opentimelineio\plugins copying src\py-opentimelineio\opentimelineio\plugins\python_plugin.py -> build\lib.win32-3.8\opentimelineio\plugins copying src\py-opentimelineio\opentimelineio\plugins\__init__.py -> build\lib.win32-3.8\opentimelineio\plugins creating build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\clip.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\effect.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\external_reference.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\foo.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\generator_reference.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\marker.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\schemadef.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\serializable_collection.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\stack.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\timeline.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\track.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\transition.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\__init__.py -> build\lib.win32-3.8\opentimelineio\schema creating build\lib.win32-3.8\opentimelineio\schemadef copying src\py-opentimelineio\opentimelineio\schemadef\__init__.py -> build\lib.win32-3.8\opentimelineio\schemadef creating build\lib.win32-3.8\opentimelineview copying src\opentimelineview\console.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\details_widget.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\ruler_widget.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\settings.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\timeline_widget.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\track_widgets.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\__init__.py -> build\lib.win32-3.8\opentimelineview creating build\lib.win32-3.8\opentimelineio_contrib copying contrib\opentimelineio_contrib\__init__.py -> build\lib.win32-3.8\opentimelineio_contrib creating build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\advanced_authoring_format.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\ale.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\burnins.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\extern_maya_sequencer.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\extern_rv.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\fcpx_xml.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\ffmpeg_burnins.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\hls_playlist.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\kdenlive.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\maya_sequencer.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\rv.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\xges.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\__init__.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters creating build\lib.win32-3.8\opentimelineio_contrib\adapters\aaf_adapter copying contrib\opentimelineio_contrib\adapters\aaf_adapter\aaf_writer.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters\aaf_adapter copying contrib\opentimelineio_contrib\adapters\aaf_adapter\__init__.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters\aaf_adapter running egg_info writing OpenTimelineIO.egg-info\PKG-INFO writing dependency_links to OpenTimelineIO.egg-info\dependency_links.txt writing entry points to OpenTimelineIO.egg-info\entry_points.txt writing requirements to OpenTimelineIO.egg-info\requires.txt writing top-level names to OpenTimelineIO.egg-info\top_level.txt reading manifest file 'OpenTimelineIO.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG.md' no previously-included directories found matching 'docs' warning: no previously-included files found matching '.gitmodules' warning: no previously-included files matching '*.git' found under directory 'src' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'readthedocs-conda.yml' warning: no previously-included files found matching '.codecov.yml' warning: no previously-included files found matching '.gitlab-ci.yml' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching '*.pdf' warning: no previously-included files found matching 'CODE_OF_CONDUCT.md' warning: no previously-included files found matching 'CONTRIBUTING.md' warning: no previously-included files found matching 'contrib\opentimelineio_contrib\adapters\Makefile' warning: no previously-included files found matching 'Makefile' no previously-included directories found matching 'contrib\opentimelineio_contrib\adapters\tests' no previously-included directories found matching 'tests' no previously-included directories found matching 'src\deps\pybind11\tools\clang' no previously-included directories found matching 'src\deps\rapidjson\thirdparty' writing manifest file 'OpenTimelineIO.egg-info\SOURCES.txt' copying src\py-opentimelineio\opentimelineio\adapters\builtin_adapters.plugin_manifest.json -> build\lib.win32-3.8\opentimelineio\adapters creating build\lib.win32-3.8\opentimelineio_contrib\application_plugins creating build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv creating build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv\example_otio_reader copying contrib\opentimelineio_contrib\application_plugins\rv\example_otio_reader\PACKAGE -> build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv\example_otio_reader copying contrib\opentimelineio_contrib\application_plugins\rv\example_otio_reader\example_otio_reader_plugin.py -> build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv\example_otio_reader copying contrib\opentimelineio_contrib\application_plugins\rv\example_otio_reader\otio_reader.py -> build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv\example_otio_reader copying contrib\opentimelineio_contrib\adapters\contrib_adapters.plugin_manifest.json -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\ffmpeg_burnins.pyc -> build\lib.win32-3.8\opentimelineio_contrib\adapters running build_ext -- Building for: Visual Studio 16 2019 -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363. -- The C compiler identification is MSVC 19.26.28806.0 -- The CXX compiler identification is MSVC 19.26.28806.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: D:/HPrograms/Python/python.exe (found version "3.8.5") CMake Error at src/deps/pybind11/tools/FindPythonLibsNew.cmake:125 (message): Python config failure: Python is 32-bit, chosen compiler is 64-bit Call Stack (most recent call first): src/deps/pybind11/tools/pybind11Tools.cmake:16 (find_package) src/deps/pybind11/CMakeLists.txt:33 (include) -- Configuring incomplete, errors occurred! See also "D:/TEMP/pip-install-uu4xa6y4/opentimelineio/build/temp.win32-3.8/Release/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "<string>", line 1, in <module> File "D:\TEMP\pip-install-uu4xa6y4\opentimelineio\setup.py", line 358, in <module> setup( File "d:\hprograms\python\lib\site-packages\setuptools\__init__.py", line 144, in setup return distutils.core.setup(**attrs) File "d:\hprograms\python\lib\distutils\core.py", line 148, in setup dist.run_commands() File "d:\hprograms\python\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "d:\hprograms\python\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "d:\hprograms\python\lib\site-packages\wheel\bdist_wheel.py", line 223, in run self.run_command('build') File "d:\hprograms\python\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "d:\hprograms\python\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "d:\hprograms\python\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "d:\hprograms\python\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "d:\hprograms\python\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\TEMP\pip-install-uu4xa6y4\opentimelineio\setup.py", line 185, in run self.build() File "D:\TEMP\pip-install-uu4xa6y4\opentimelineio\setup.py", line 213, in build subprocess.check_call( File "d:\hprograms\python\lib\subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio', '-DPYTHON_EXECUTABLE=d:\\hprograms\\python\\python.exe', '-DOTIO_PYTHON_INSTALL:BOOL=ON']' returned non-zero exit status 1. \ ---------------------------------------- ERROR: Failed building wheel for opentimelineio Running setup.py clean for opentimelineio Failed to build opentimelineio DEPRECATION: Could not build wheels for opentimelineio which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368. Installing collected packages: opentimelineio Running setup.py install for opentimelineio ... error ERROR: Command errored out with exit status 1: command: 'd:\hprograms\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio\\setup.py'"'"'; __file__='"'"'D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'D:\TEMP\pip-record-whec3ngl\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\hprograms\python\Include\opentimelineio' cwd: D:\TEMP\pip-install-uu4xa6y4\opentimelineio\ Complete output (183 lines): running install running build running build_py creating build creating build\lib.win32-3.8 creating build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\exceptions.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\hooks.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\media_linker.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\opentime.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\test_utils.py -> build\lib.win32-3.8\opentimelineio copying src\py-opentimelineio\opentimelineio\__init__.py -> build\lib.win32-3.8\opentimelineio creating build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\adapter.py -> build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\cmx_3600.py -> build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\fcp_xml.py -> build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\otio_json.py -> build\lib.win32-3.8\opentimelineio\adapters copying src\py-opentimelineio\opentimelineio\adapters\__init__.py -> build\lib.win32-3.8\opentimelineio\adapters creating build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\filter.py -> build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\stack_algo.py -> build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\timeline_algo.py -> build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\track_algo.py -> build\lib.win32-3.8\opentimelineio\algorithms copying src\py-opentimelineio\opentimelineio\algorithms\__init__.py -> build\lib.win32-3.8\opentimelineio\algorithms creating build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\autogen_plugin_documentation.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\autogen_serialized_datamodel.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\console_utils.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\otiocat.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\otioconvert.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\otiopluginfo.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\otiostat.py -> build\lib.win32-3.8\opentimelineio\console copying src\py-opentimelineio\opentimelineio\console\__init__.py -> build\lib.win32-3.8\opentimelineio\console creating build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\composable.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\composition.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\item.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\mediaReference.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\_core_utils.py -> build\lib.win32-3.8\opentimelineio\core copying src\py-opentimelineio\opentimelineio\core\__init__.py -> build\lib.win32-3.8\opentimelineio\core creating build\lib.win32-3.8\opentimelineio\plugins copying src\py-opentimelineio\opentimelineio\plugins\manifest.py -> build\lib.win32-3.8\opentimelineio\plugins copying src\py-opentimelineio\opentimelineio\plugins\python_plugin.py -> build\lib.win32-3.8\opentimelineio\plugins copying src\py-opentimelineio\opentimelineio\plugins\__init__.py -> build\lib.win32-3.8\opentimelineio\plugins creating build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\clip.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\effect.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\external_reference.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\foo.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\generator_reference.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\marker.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\schemadef.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\serializable_collection.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\stack.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\timeline.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\track.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\transition.py -> build\lib.win32-3.8\opentimelineio\schema copying src\py-opentimelineio\opentimelineio\schema\__init__.py -> build\lib.win32-3.8\opentimelineio\schema creating build\lib.win32-3.8\opentimelineio\schemadef copying src\py-opentimelineio\opentimelineio\schemadef\__init__.py -> build\lib.win32-3.8\opentimelineio\schemadef creating build\lib.win32-3.8\opentimelineview copying src\opentimelineview\console.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\details_widget.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\ruler_widget.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\settings.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\timeline_widget.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\track_widgets.py -> build\lib.win32-3.8\opentimelineview copying src\opentimelineview\__init__.py -> build\lib.win32-3.8\opentimelineview creating build\lib.win32-3.8\opentimelineio_contrib copying contrib\opentimelineio_contrib\__init__.py -> build\lib.win32-3.8\opentimelineio_contrib creating build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\advanced_authoring_format.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\ale.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\burnins.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\extern_maya_sequencer.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\extern_rv.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\fcpx_xml.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\ffmpeg_burnins.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\hls_playlist.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\kdenlive.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\maya_sequencer.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\rv.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\xges.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\__init__.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters creating build\lib.win32-3.8\opentimelineio_contrib\adapters\aaf_adapter copying contrib\opentimelineio_contrib\adapters\aaf_adapter\aaf_writer.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters\aaf_adapter copying contrib\opentimelineio_contrib\adapters\aaf_adapter\__init__.py -> build\lib.win32-3.8\opentimelineio_contrib\adapters\aaf_adapter running egg_info writing OpenTimelineIO.egg-info\PKG-INFO writing dependency_links to OpenTimelineIO.egg-info\dependency_links.txt writing entry points to OpenTimelineIO.egg-info\entry_points.txt writing requirements to OpenTimelineIO.egg-info\requires.txt writing top-level names to OpenTimelineIO.egg-info\top_level.txt reading manifest file 'OpenTimelineIO.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG.md' no previously-included directories found matching 'docs' warning: no previously-included files found matching '.gitmodules' warning: no previously-included files matching '*.git' found under directory 'src' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'readthedocs-conda.yml' warning: no previously-included files found matching '.codecov.yml' warning: no previously-included files found matching '.gitlab-ci.yml' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching '*.pdf' warning: no previously-included files found matching 'CODE_OF_CONDUCT.md' warning: no previously-included files found matching 'CONTRIBUTING.md' warning: no previously-included files found matching 'contrib\opentimelineio_contrib\adapters\Makefile' warning: no previously-included files found matching 'Makefile' no previously-included directories found matching 'contrib\opentimelineio_contrib\adapters\tests' no previously-included directories found matching 'tests' no previously-included directories found matching 'src\deps\pybind11\tools\clang' no previously-included directories found matching 'src\deps\rapidjson\thirdparty' writing manifest file 'OpenTimelineIO.egg-info\SOURCES.txt' copying src\py-opentimelineio\opentimelineio\adapters\builtin_adapters.plugin_manifest.json -> build\lib.win32-3.8\opentimelineio\adapters creating build\lib.win32-3.8\opentimelineio_contrib\application_plugins creating build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv creating build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv\example_otio_reader copying contrib\opentimelineio_contrib\application_plugins\rv\example_otio_reader\PACKAGE -> build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv\example_otio_reader copying contrib\opentimelineio_contrib\application_plugins\rv\example_otio_reader\example_otio_reader_plugin.py -> build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv\example_otio_reader copying contrib\opentimelineio_contrib\application_plugins\rv\example_otio_reader\otio_reader.py -> build\lib.win32-3.8\opentimelineio_contrib\application_plugins\rv\example_otio_reader copying contrib\opentimelineio_contrib\adapters\contrib_adapters.plugin_manifest.json -> build\lib.win32-3.8\opentimelineio_contrib\adapters copying contrib\opentimelineio_contrib\adapters\ffmpeg_burnins.pyc -> build\lib.win32-3.8\opentimelineio_contrib\adapters running build_ext -- Building for: Visual Studio 16 2019 -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363. -- The C compiler identification is MSVC 19.26.28806.0 -- The CXX compiler identification is MSVC 19.26.28806.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: D:/HPrograms/Python/python.exe (found version "3.8.5") CMake Error at src/deps/pybind11/tools/FindPythonLibsNew.cmake:125 (message): Python config failure: Python is 32-bit, chosen compiler is 64-bit Call Stack (most recent call first): src/deps/pybind11/tools/pybind11Tools.cmake:16 (find_package) src/deps/pybind11/CMakeLists.txt:33 (include) -- Configuring incomplete, errors occurred! See also "D:/TEMP/pip-install-uu4xa6y4/opentimelineio/build/temp.win32-3.8/Release/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "<string>", line 1, in <module> File "D:\TEMP\pip-install-uu4xa6y4\opentimelineio\setup.py", line 358, in <module> setup( File "d:\hprograms\python\lib\site-packages\setuptools\__init__.py", line 144, in setup return distutils.core.setup(**attrs) File "d:\hprograms\python\lib\distutils\core.py", line 148, in setup dist.run_commands() File "d:\hprograms\python\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "d:\hprograms\python\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\TEMP\pip-install-uu4xa6y4\opentimelineio\setup.py", line 140, in run install.run(self) File "d:\hprograms\python\lib\site-packages\setuptools\command\install.py", line 61, in run return orig.install.run(self) File "d:\hprograms\python\lib\distutils\command\install.py", line 545, in run self.run_command('build') File "d:\hprograms\python\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "d:\hprograms\python\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "d:\hprograms\python\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "d:\hprograms\python\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "d:\hprograms\python\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "D:\TEMP\pip-install-uu4xa6y4\opentimelineio\setup.py", line 185, in run self.build() File "D:\TEMP\pip-install-uu4xa6y4\opentimelineio\setup.py", line 213, in build subprocess.check_call( File "d:\hprograms\python\lib\subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio', '-DPYTHON_EXECUTABLE=d:\\hprograms\\python\\python.exe', '-DOTIO_PYTHON_INSTALL:BOOL=ON', '-DOTIO_PYTHON_OTIO_DIR=D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio\\build\\lib.win32-3.8\\opentimelineio\\', '-DCMAKE_INSTALL_PREFIX=d:\\hprograms\\python\\Lib\\site-packages\\opentimelineio\\cxx-libs', '-DOTIO_CXX_NOINSTALL:BOOL=ON']' returned non-zero exit status 1. \ ---------------------------------------- ERROR: Command errored out with exit status 1: 'd:\hprograms\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio\\setup.py'"'"'; __file__='"'"'D:\\TEMP\\pip-install-uu4xa6y4\\opentimelineio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'D:\TEMP\pip-record-whec3ngl\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\hprograms\python\Include\opentimelineio' Check the logs for full command output.

meshula commented 4 years ago

Ah! A clue!! It appears you have installed a 32 bit version of Python, but we have selected a 64 bit build for OTIO. So first, there is likely a bug in our configuration, but second, did you actually intend for a 32 bit build?

CMake Error at src/deps/pybind11/tools/FindPythonLibsNew.cmake:125 (message): Python config failure: Python is 32-bit, chosen compiler is 64-bit Call Stack (most recent call first): 
ReelChezburger commented 4 years ago

that appears to be the issue, meant to install the 64bit version but didn't. It now works. Thanks for the help!

ssteinbach commented 4 years ago

Just one more note -- we technically don't support python 3.8, but it might work fine. We aren't running it through our CI at present though.