gallantlab / pycortex

Pycortex is a python-based toolkit for surface visualization of fMRI data
https://gallantlab.github.io/pycortex
BSD 2-Clause "Simplified" License
592 stars 138 forks source link

Failed building wheel for pycortex ERROR Windows 10 #475

Closed nothingyz closed 1 year ago

nothingyz commented 1 year ago

Hi, I keep running into an error using pip install -U pycortex on my desktop and also a fresh conda environment I created. The error message is:

ERROR: Failed building wheel for pycortex Failed to build pycortex ERROR: Could not build wheels for pycortex, which is required to install pyproject.toml-based projects

I installed all requirements and followed the documentation available here. I am trying to use this with the headcase pipeline here, and it seems pycortex is the only package that is having issues installing.

I realize this is similar to issue #435 but I am not Ubuntu and the other person on Mac OS was able to install in the end.

Here is the full error message Collecting pycortex Using cached pycortex-1.2.5.tar.gz (37.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting wget Using cached wget-3.2-py3-none-any.whl Collecting scipy Using cached scipy-1.10.0-cp38-cp38-win_amd64.whl (42.2 MB) Collecting future Using cached future-0.18.2-py3-none-any.whl Collecting numexpr Using cached numexpr-2.8.4-cp38-cp38-win_amd64.whl (92 kB) Collecting h5py Using cached h5py-3.7.0-cp38-cp38-win_amd64.whl (2.6 MB) Collecting nibabel Using cached nibabel-4.0.2-py3-none-any.whl (3.3 MB) Collecting imageio Using cached imageio-2.23.0-py3-none-any.whl (3.4 MB) Collecting pillow Using cached Pillow-9.4.0-cp38-cp38-win_amd64.whl (2.5 MB) Collecting tornado>=4.3 Using cached tornado-6.2-cp37-abi3-win_amd64.whl (425 kB) Collecting matplotlib Using cached matplotlib-3.6.2-cp38-cp38-win_amd64.whl (7.2 MB) Collecting lxml Using cached lxml-4.9.2-cp38-cp38-win_amd64.whl (3.9 MB) Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting shapely Using cached shapely-2.0.0-cp38-cp38-win_amd64.whl (1.4 MB) Collecting cython Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB) Requirement already satisfied: numpy in c:\users\yao\appdata\local\programs\python\python38\lib\site-packages (from pycortex) (1.24.1) Collecting networkx>=2.1 Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB) Collecting html5lib Using cached html5lib-1.1-py2.py3-none-any.whl (112 kB) Collecting webencodings Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting contourpy>=1.0.1 Using cached contourpy-1.0.6-cp38-cp38-win_amd64.whl (163 kB) Collecting packaging>=20.0 Using cached packaging-22.0-py3-none-any.whl (42 kB) Collecting cycler>=0.10 Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting pyparsing>=2.2.1 Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) Collecting python-dateutil>=2.7 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting fonttools>=4.22.0 Using cached fonttools-4.38.0-py3-none-any.whl (965 kB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.4.4-cp38-cp38-win_amd64.whl (55 kB) Requirement already satisfied: setuptools in c:\users\yao\appdata\local\programs\python\python38\lib\site-packages (from nibabel->pycortex) (65.6.3) Building wheels for collected packages: pycortex Building wheel for pycortex (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for pycortex (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [423 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-38 creating build\lib.win-amd64-cpython-38\cortex copying cortex\align.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\anat.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\appdirs.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\brainctm.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\database.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\fmriprep.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\formats_old.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\freesurfer.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\mayavi_aligner.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\mni.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\mp.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\options.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\rois.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\segment.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\surfinfo.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\svgoverlay.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\testing_utils.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\utils.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\version.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\volume.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\xfm.py -> build\lib.win-amd64-cpython-38\cortex copying cortex\__init__.py -> build\lib.win-amd64-cpython-38\cortex creating build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\data.py -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\FallbackLoader.py -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\htmlembed.py -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\serve.py -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\view.py -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\__init__.py -> build\lib.win-amd64-cpython-38\cortex\webgl creating build\lib.win-amd64-cpython-38\cortex\mapper copying cortex\mapper\line.py -> build\lib.win-amd64-cpython-38\cortex\mapper copying cortex\mapper\mapper.py -> build\lib.win-amd64-cpython-38\cortex\mapper copying cortex\mapper\patch.py -> build\lib.win-amd64-cpython-38\cortex\mapper copying cortex\mapper\point.py -> build\lib.win-amd64-cpython-38\cortex\mapper copying cortex\mapper\samplers.py -> build\lib.win-amd64-cpython-38\cortex\mapper copying cortex\mapper\volume.py -> build\lib.win-amd64-cpython-38\cortex\mapper copying cortex\mapper\__init__.py -> build\lib.win-amd64-cpython-38\cortex\mapper creating build\lib.win-amd64-cpython-38\cortex\dataset copying cortex\dataset\braindata.py -> build\lib.win-amd64-cpython-38\cortex\dataset copying cortex\dataset\dataset.py -> build\lib.win-amd64-cpython-38\cortex\dataset copying cortex\dataset\view2D.py -> build\lib.win-amd64-cpython-38\cortex\dataset copying cortex\dataset\viewRGB.py -> build\lib.win-amd64-cpython-38\cortex\dataset copying cortex\dataset\views.py -> build\lib.win-amd64-cpython-38\cortex\dataset copying cortex\dataset\__init__.py -> build\lib.win-amd64-cpython-38\cortex\dataset creating build\lib.win-amd64-cpython-38\cortex\blender copying cortex\blender\blendlib.py -> build\lib.win-amd64-cpython-38\cortex\blender copying cortex\blender\__init__.py -> build\lib.win-amd64-cpython-38\cortex\blender creating build\lib.win-amd64-cpython-38\cortex\tests copying cortex\tests\test_dataset.py -> build\lib.win-amd64-cpython-38\cortex\tests copying cortex\tests\test_freesurfer.py -> build\lib.win-amd64-cpython-38\cortex\tests copying cortex\tests\test_polyutils.py -> build\lib.win-amd64-cpython-38\cortex\tests copying cortex\tests\test_quickflat.py -> build\lib.win-amd64-cpython-38\cortex\tests copying cortex\tests\test_utils.py -> build\lib.win-amd64-cpython-38\cortex\tests copying cortex\tests\__init__.py -> build\lib.win-amd64-cpython-38\cortex\tests creating build\lib.win-amd64-cpython-38\cortex\quickflat copying cortex\quickflat\composite.py -> build\lib.win-amd64-cpython-38\cortex\quickflat copying cortex\quickflat\utils.py -> build\lib.win-amd64-cpython-38\cortex\quickflat copying cortex\quickflat\view.py -> build\lib.win-amd64-cpython-38\cortex\quickflat copying cortex\quickflat\__init__.py -> build\lib.win-amd64-cpython-38\cortex\quickflat creating build\lib.win-amd64-cpython-38\cortex\polyutils copying cortex\polyutils\distortion.py -> build\lib.win-amd64-cpython-38\cortex\polyutils copying cortex\polyutils\exact_geodesic.py -> build\lib.win-amd64-cpython-38\cortex\polyutils copying cortex\polyutils\misc.py -> build\lib.win-amd64-cpython-38\cortex\polyutils copying cortex\polyutils\subsurface.py -> build\lib.win-amd64-cpython-38\cortex\polyutils copying cortex\polyutils\surface.py -> build\lib.win-amd64-cpython-38\cortex\polyutils copying cortex\polyutils\__init__.py -> build\lib.win-amd64-cpython-38\cortex\polyutils creating build\lib.win-amd64-cpython-38\cortex\export copying cortex\export\panels.py -> build\lib.win-amd64-cpython-38\cortex\export copying cortex\export\save_views.py -> build\lib.win-amd64-cpython-38\cortex\export copying cortex\export\_default_params.py -> build\lib.win-amd64-cpython-38\cortex\export copying cortex\export\__init__.py -> build\lib.win-amd64-cpython-38\cortex\export running egg_info writing pycortex.egg-info\PKG-INFO writing dependency_links to pycortex.egg-info\dependency_links.txt writing requirements to pycortex.egg-info\requires.txt writing top-level names to pycortex.egg-info\top_level.txt reading manifest file 'pycortex.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pycortex.egg-info\SOURCES.txt' :5: DeprecationWarning: `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use `setuptools < 60.0` for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html C:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cortex.webgl.resources.css' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.css' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cortex.webgl.resources.css' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cortex.webgl.resources.css' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) C:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cortex.webgl.resources.css.images' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.css.images' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cortex.webgl.resources.css.images' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cortex.webgl.resources.css.images' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) C:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cortex.webgl.resources.explo_demo' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.explo_demo' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cortex.webgl.resources.explo_demo' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cortex.webgl.resources.explo_demo' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) C:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cortex.webgl.resources.js' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.js' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cortex.webgl.resources.js' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cortex.webgl.resources.js' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) C:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cortex.webgl.resources.js.ctm' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.js.ctm' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cortex.webgl.resources.js.ctm' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cortex.webgl.resources.js.ctm' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) C:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cortex.webgl.resources.js.ctm.license' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.js.ctm.license' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cortex.webgl.resources.js.ctm.license' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cortex.webgl.resources.js.ctm.license' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) C:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cortex.webgl.resources.json' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cortex.webgl.resources.json' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cortex.webgl.resources.json' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cortex.webgl.resources.json' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying cortex\bbr.sch -> build\lib.win-amd64-cpython-38\cortex copying cortex\defaults.cfg -> build\lib.win-amd64-cpython-38\cortex copying cortex\formats.c -> build\lib.win-amd64-cpython-38\cortex copying cortex\formats.pyx -> build\lib.win-amd64-cpython-38\cortex copying cortex\openctm.c -> build\lib.win-amd64-cpython-38\cortex copying cortex\openctm.pxd -> build\lib.win-amd64-cpython-38\cortex copying cortex\openctm.pyx -> build\lib.win-amd64-cpython-38\cortex copying cortex\svgbase.xml -> build\lib.win-amd64-cpython-38\cortex copying cortex\webgl\demo.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\explo_demo.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\favicon.ico -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\mixer.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\public.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\simple.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\static.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\template.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\wngraph-labeled.svg -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\wngraph-minimal.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\wngraph.html -> build\lib.win-amd64-cpython-38\cortex\webgl copying cortex\webgl\wngraph.svg -> build\lib.win-amd64-cpython-38\cortex\webgl creating build\lib.win-amd64-cpython-38\cortex\webgl\resources creating build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\demo.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\jquery-ui.min.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\jquery.miniColors.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\jsplot.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\mriview.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\select2-4.0.3.min.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\w2ui-1.2.min.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\w2ui-1.4.2.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css copying cortex\webgl\resources\css\w2ui-1.4.2.min.css -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css creating build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\colors.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\control-pause.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\control-play.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\loading.gif -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\magnifying_glass.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\trigger.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_diagonals-thick_18_b81900_40x40.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_diagonals-thick_20_666666_40x40.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_flat_10_000000_40x100.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_glass_100_f6f6f6_1x400.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_glass_100_fdf5ce_1x400.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_glass_65_ffffff_1x400.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_gloss-wave_35_f6a828_500x100.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_highlight-soft_100_eeeeee_1x100.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-bg_highlight-soft_75_ffe45c_1x100.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-icons_222222_256x240.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-icons_228ef1_256x240.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-icons_ef8c08_256x240.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-icons_ffd27a_256x240.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images copying cortex\webgl\resources\css\images\ui-icons_ffffff_256x240.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\css\images creating build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\cursor.png -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\demo.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\flatten_1.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\flatten_2.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\intro.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\intro.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\rotate_1.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\rotate_2.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\swipe_left.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\swipe_right.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\zoom_1.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo copying cortex\webgl\resources\explo_demo\zoom_2.svg -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\explo_demo creating build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\LandscapeControls.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\OculusRiftEffect.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\axes3d.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\canvg.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\dat.gui.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\datamodel.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\dataset.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\facepick.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\facepick_worker.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\figure.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\graphview.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\hoverintent.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\jgestures.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\jquery-2.1.1.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\jquery-ui.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\jquery.ddslick.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\jquery.miniColors.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\jquery.svg.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\jquery.svganim.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\jquery.ui.touch-punch.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\kdTree-min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\leap-0.6.4.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\leap.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\menu.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\movement.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\mriview.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\mriview_surface.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\mriview_utils.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\python_interface.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\rgbcolor.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\select2-4.0.3.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\shaderlib.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\shadowtex.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\sliceplane.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\surfgeometry.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\surfload.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\svg_todataurl.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\svgoverlay.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\three.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\w2ui-1.2.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\w2ui-1.4.2.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js copying cortex\webgl\resources\js\w2ui-1.4.2.min.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js creating build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm copying cortex\webgl\resources\js\ctm\CTMLoader.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm copying cortex\webgl\resources\js\ctm\CTMWorker.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm copying cortex\webgl\resources\js\ctm\ctm.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm copying cortex\webgl\resources\js\ctm\lzma.js -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm creating build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm\license copying cortex\webgl\resources\js\ctm\license\OpenCTM.txt -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm\license copying cortex\webgl\resources\js\ctm\license\js-lzma.txt -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm\license copying cortex\webgl\resources\js\ctm\license\js-openctm.txt -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\js\ctm\license creating build\lib.win-amd64-cpython-38\cortex\webgl\resources\json copying cortex\webgl\resources\json\wngraph-definitions.json -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\json copying cortex\webgl\resources\json\wngraph-nodenames.json -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\json copying cortex\webgl\resources\json\wngraph-rgbcolors.json -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\json copying cortex\webgl\resources\json\wngraph-testvoxwts.json -> build\lib.win-amd64-cpython-38\cortex\webgl\resources\json running build_ext INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils building 'cortex.openctm' extension creating build\temp.win-amd64-cpython-38 creating build\temp.win-amd64-cpython-38\Release creating build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3 creating build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib creating build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma creating build\temp.win-amd64-cpython-38\Release\cortex INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/compressMG1.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressMG1.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/compressMG2.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressMG2.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/compressRAW.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressRAW.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/liblzma/Alloc.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\Alloc.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/liblzma/LzFind.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzFind.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/liblzma/LzmaDec.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaDec.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/liblzma/LzmaEnc.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaEnc.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/liblzma/LzmaLib.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaLib.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/openctm.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\openctm.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /TcOpenCTM-1.0.3/lib/stream.c /Fobuild\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\stream.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -IC:\Users\yao\AppData\Local\Temp\pip-build-env-xq1hoxxc\overlay\Lib\site-packages\numpy\core\include -Ic:\users\yao\appdata\local\programs\python\python38\include -Ic:\users\yao\appdata\local\programs\python\python38\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include -IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt /Tccortex/openctm.c /Fobuild\temp.win-amd64-cpython-38\Release\cortex\openctm.obj INFO: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:c:\users\yao\appdata\local\programs\python\python38\libs /LIBPATH:c:\users\yao\appdata\local\programs\python\python38 /LIBPATH:c:\users\yao\appdata\local\programs\python\python38\PCbuild\amd64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22000.0\\um\x64 m.lib /EXPORT:PyInit_openctm build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressMG1.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressMG2.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressRAW.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\Alloc.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzFind.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaDec.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaEnc.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaLib.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\openctm.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\stream.obj build\temp.win-amd64-cpython-38\Release\cortex\openctm.obj /OUT:build\lib.win-amd64-cpython-38\cortex\openctm.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\openctm.cp38-win_amd64.lib LINK : fatal error LNK1181: cannot open input file 'm.lib' error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:c:\users\yao\appdata\local\programs\python\python38\libs /LIBPATH:c:\users\yao\appdata\local\programs\python\python38 /LIBPATH:c:\users\yao\appdata\local\programs\python\python38\PCbuild\amd64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22000.0\\um\x64 m.lib /EXPORT:PyInit_openctm build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressMG1.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressMG2.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressRAW.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\Alloc.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzFind.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaDec.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaEnc.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaLib.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\openctm.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\stream.obj build\temp.win-amd64-cpython-38\Release\cortex\openctm.obj /OUT:build\lib.win-amd64-cpython-38\cortex\openctm.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\openctm.cp38-win_amd64.lib" failed with exit status 1181 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycortex Failed to build pycortex ERROR: Could not build wheels for pycortex, which is required to install pyproject.toml-based projects

I am running python 3.8.0 and Windows 10 and would greatly appreciate any suggestions. Thank you in advance!

TomDLT commented 1 year ago

Same issue as #248.

The error is written at the end of the error message: fatal error LNK1181: cannot open input file 'm.lib'. According to stackoverflow, the "m" library does not exist on Windows. You might try to clone pycortex (git clone https://github.com/gallantlab/pycortex.git), remove libraries=['m'], in setup.py, and install with python install setup.py.

That being said, we do not support Windows, so even if you fix this issue, the install might break for other reasons. As said in https://github.com/gallantlab/pycortex/issues/248#issuecomment-421896031:

Apologies; we do not support windows installs. None of the developers work on windows, and it is currently outside our capacity to manage this type of cross-platform problem.

mvdoc commented 1 year ago

@nothingyz, if you need pycortex only for the headcase pipeline, I would strongly recommend using the provided dockerfile to generate a docker container. It will have all the required dependencies, and it should work on windows too.

pystar1007 commented 1 year ago

Thanks, I was able run it on Linux

then I have issue, I have codefile. how to run it ?

when I run "ipython" it open browser but brain data is not displayed

image