question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

install pycortex ERROR: Failed building wheel for pycortex

See original GitHub issue

I get an error when running pip install -U pycortex that I can’t resolve

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

Running this on on MacBook Pro with macOS Big Sur and python version 3.8

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mvdoccommented, Apr 2, 2022

hi @EllieMo, great you could install pycortex! the error you are having was recently fixed (#433), but the change has not been released yet on pipy. To fix this issue, you need to manually change the location of the pycortex storage in your config file. See this comment here https://github.com/gallantlab/pycortex/issues/146#issuecomment-223454453

You can figure out where the pycortex config file is by running the commands described in this example.

1reaction
smoiacommented, Apr 1, 2022

Hello! Unluckily I replicated the error on an Ubuntu 18.04 OS with python 3.7.13, after upgrading all the requirements as per documentation. I tried to install directly from PyPI and cloning and installing the last version locally. I also tried to install without pip, ending with the same issue. I see there might be an issue with GCC, are we missing some non-pythonic requirements for this install?

Here's the full `pip` log for completeness (to be unrolled, it's long)
$ pip3 install pycortex==1.2.3
Defaulting to user installation because normal site-packages is not writeable
Collecting pycortex==1.2.3
  Using cached pycortex-1.2.3.tar.gz (37.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: h5py in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (3.6.0)
Requirement already satisfied: nibabel in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (3.2.2)
Collecting networkx>=2.1
  Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB)
Requirement already satisfied: six in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (1.13.0)
Requirement already satisfied: pillow in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (9.0.1)
Requirement already satisfied: future in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (0.18.2)
Requirement already satisfied: scipy in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (1.6.3)
Requirement already satisfied: cython in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (0.29.28)
Requirement already satisfied: wget in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (3.2)
Requirement already satisfied: tornado>=4.3 in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (6.0.4)
Requirement already satisfied: numpy in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (1.21.5)
Requirement already satisfied: html5lib in /usr/lib/python3/dist-packages (from pycortex==1.2.3) (0.999999999)
Collecting imageio
  Using cached imageio-2.16.1-py3-none-any.whl (3.3 MB)
Collecting numexpr
  Using cached numexpr-2.8.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (379 kB)
Requirement already satisfied: matplotlib in ./.local/lib/python3.7/site-packages (from pycortex==1.2.3) (3.5.1)
Collecting shapely
  Using cached Shapely-1.8.1.post1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.0 MB)
Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from pycortex==1.2.3) (4.2.1)
Requirement already satisfied: cached-property in ./.local/lib/python3.7/site-packages (from h5py->pycortex==1.2.3) (1.5.2)
Requirement already satisfied: fonttools>=4.22.0 in ./.local/lib/python3.7/site-packages (from matplotlib->pycortex==1.2.3) (4.31.1)
Requirement already satisfied: pyparsing>=2.2.1 in ./.local/lib/python3.7/site-packages (from matplotlib->pycortex==1.2.3) (2.4.5)
Requirement already satisfied: kiwisolver>=1.0.1 in ./.local/lib/python3.7/site-packages (from matplotlib->pycortex==1.2.3) (1.4.0)
Requirement already satisfied: python-dateutil>=2.7 in ./.local/lib/python3.7/site-packages (from matplotlib->pycortex==1.2.3) (2.8.2)
Requirement already satisfied: packaging>=20.0 in ./.local/lib/python3.7/site-packages (from matplotlib->pycortex==1.2.3) (21.3)
Requirement already satisfied: cycler>=0.10 in ./.local/lib/python3.7/site-packages (from matplotlib->pycortex==1.2.3) (0.11.0)
Requirement already satisfied: setuptools in ./.local/lib/python3.7/site-packages (from nibabel->pycortex==1.2.3) (61.3.0)
Requirement already satisfied: typing-extensions in ./.local/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib->pycortex==1.2.3) (4.0.1)
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
  ╰─> [240 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.7
      creating build/lib.linux-x86_64-3.7/cortex
      copying cortex/mni.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/appdirs.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/rois.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/options.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/formats_old.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/svgoverlay.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/align.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/mp.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/database.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/testing_utils.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/anat.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/xfm.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/version.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/volume.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/__init__.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/freesurfer.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/utils.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/brainctm.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/mayavi_aligner.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/segment.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/fmriprep.py -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/surfinfo.py -> build/lib.linux-x86_64-3.7/cortex
      creating build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/data.py -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/htmlembed.py -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/view.py -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/FallbackLoader.py -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/serve.py -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/__init__.py -> build/lib.linux-x86_64-3.7/cortex/webgl
      creating build/lib.linux-x86_64-3.7/cortex/mapper
      copying cortex/mapper/mapper.py -> build/lib.linux-x86_64-3.7/cortex/mapper
      copying cortex/mapper/samplers.py -> build/lib.linux-x86_64-3.7/cortex/mapper
      copying cortex/mapper/point.py -> build/lib.linux-x86_64-3.7/cortex/mapper
      copying cortex/mapper/volume.py -> build/lib.linux-x86_64-3.7/cortex/mapper
      copying cortex/mapper/__init__.py -> build/lib.linux-x86_64-3.7/cortex/mapper
      copying cortex/mapper/patch.py -> build/lib.linux-x86_64-3.7/cortex/mapper
      copying cortex/mapper/line.py -> build/lib.linux-x86_64-3.7/cortex/mapper
      creating build/lib.linux-x86_64-3.7/cortex/dataset
      copying cortex/dataset/dataset.py -> build/lib.linux-x86_64-3.7/cortex/dataset
      copying cortex/dataset/viewRGB.py -> build/lib.linux-x86_64-3.7/cortex/dataset
      copying cortex/dataset/view2D.py -> build/lib.linux-x86_64-3.7/cortex/dataset
      copying cortex/dataset/braindata.py -> build/lib.linux-x86_64-3.7/cortex/dataset
      copying cortex/dataset/__init__.py -> build/lib.linux-x86_64-3.7/cortex/dataset
      copying cortex/dataset/views.py -> build/lib.linux-x86_64-3.7/cortex/dataset
      creating build/lib.linux-x86_64-3.7/cortex/blender
      copying cortex/blender/__init__.py -> build/lib.linux-x86_64-3.7/cortex/blender
      copying cortex/blender/blendlib.py -> build/lib.linux-x86_64-3.7/cortex/blender
      package init file 'cortex/tests/__init__.py' not found (or not a regular file)
      creating build/lib.linux-x86_64-3.7/cortex/tests
      copying cortex/tests/test_freesurfer.py -> build/lib.linux-x86_64-3.7/cortex/tests
      copying cortex/tests/test_utils.py -> build/lib.linux-x86_64-3.7/cortex/tests
      copying cortex/tests/test_dataset.py -> build/lib.linux-x86_64-3.7/cortex/tests
      copying cortex/tests/test_quickflat.py -> build/lib.linux-x86_64-3.7/cortex/tests
      copying cortex/tests/test_polyutils.py -> build/lib.linux-x86_64-3.7/cortex/tests
      creating build/lib.linux-x86_64-3.7/cortex/quickflat
      copying cortex/quickflat/view.py -> build/lib.linux-x86_64-3.7/cortex/quickflat
      copying cortex/quickflat/__init__.py -> build/lib.linux-x86_64-3.7/cortex/quickflat
      copying cortex/quickflat/composite.py -> build/lib.linux-x86_64-3.7/cortex/quickflat
      copying cortex/quickflat/utils.py -> build/lib.linux-x86_64-3.7/cortex/quickflat
      creating build/lib.linux-x86_64-3.7/cortex/polyutils
      copying cortex/polyutils/misc.py -> build/lib.linux-x86_64-3.7/cortex/polyutils
      copying cortex/polyutils/__init__.py -> build/lib.linux-x86_64-3.7/cortex/polyutils
      copying cortex/polyutils/surface.py -> build/lib.linux-x86_64-3.7/cortex/polyutils
      copying cortex/polyutils/subsurface.py -> build/lib.linux-x86_64-3.7/cortex/polyutils
      copying cortex/polyutils/distortion.py -> build/lib.linux-x86_64-3.7/cortex/polyutils
      copying cortex/polyutils/exact_geodesic.py -> build/lib.linux-x86_64-3.7/cortex/polyutils
      creating build/lib.linux-x86_64-3.7/cortex/export
      copying cortex/export/save_views.py -> build/lib.linux-x86_64-3.7/cortex/export
      copying cortex/export/_default_params.py -> build/lib.linux-x86_64-3.7/cortex/export
      copying cortex/export/panels.py -> build/lib.linux-x86_64-3.7/cortex/export
      copying cortex/export/__init__.py -> build/lib.linux-x86_64-3.7/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'
      copying cortex/bbr.sch -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/defaults.cfg -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/formats.c -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/formats.pyx -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/openctm.c -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/openctm.pxd -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/openctm.pyx -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/svgbase.xml -> build/lib.linux-x86_64-3.7/cortex
      copying cortex/webgl/demo.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/explo_demo.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/favicon.ico -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/mixer.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/public.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/simple.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/static.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/template.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/wngraph-labeled.svg -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/wngraph-minimal.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/wngraph.html -> build/lib.linux-x86_64-3.7/cortex/webgl
      copying cortex/webgl/wngraph.svg -> build/lib.linux-x86_64-3.7/cortex/webgl
      creating build/lib.linux-x86_64-3.7/cortex/webgl/resources
      creating build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/demo.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/jquery-ui.min.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/jquery.miniColors.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/jsplot.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/mriview.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/select2-4.0.3.min.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/w2ui-1.2.min.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/w2ui-1.4.2.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      copying cortex/webgl/resources/css/w2ui-1.4.2.min.css -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css
      creating build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/colors.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/control-pause.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/control-play.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/loading.gif -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/magnifying_glass.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/trigger.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_diagonals-thick_20_666666_40x40.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_flat_10_000000_40x100.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_glass_100_f6f6f6_1x400.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_glass_100_fdf5ce_1x400.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_glass_65_ffffff_1x400.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-icons_222222_256x240.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-icons_228ef1_256x240.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-icons_ef8c08_256x240.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-icons_ffd27a_256x240.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      copying cortex/webgl/resources/css/images/ui-icons_ffffff_256x240.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/css/images
      creating build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/cursor.png -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/demo.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/flatten_1.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/flatten_2.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/intro.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/intro.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/rotate_1.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/rotate_2.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/swipe_left.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/swipe_right.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/zoom_1.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      copying cortex/webgl/resources/explo_demo/zoom_2.svg -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/explo_demo
      creating build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/LandscapeControls.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/OculusRiftEffect.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/axes3d.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/canvg.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/dat.gui.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/datamodel.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/dataset.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/facepick.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/facepick_worker.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/figure.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/graphview.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/hoverintent.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/jgestures.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/jquery-2.1.1.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/jquery-ui.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/jquery.ddslick.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/jquery.miniColors.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/jquery.svg.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/jquery.svganim.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/jquery.ui.touch-punch.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/kdTree-min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/leap-0.6.4.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/leap.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/menu.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/movement.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/mriview.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/mriview_surface.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/mriview_utils.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/python_interface.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/rgbcolor.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/select2-4.0.3.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/shaderlib.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/shadowtex.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/sliceplane.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/surfgeometry.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/surfload.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/svg_todataurl.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/svgoverlay.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/three.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/w2ui-1.2.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/w2ui-1.4.2.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      copying cortex/webgl/resources/js/w2ui-1.4.2.min.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js
      creating build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm
      copying cortex/webgl/resources/js/ctm/CTMLoader.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm
      copying cortex/webgl/resources/js/ctm/CTMWorker.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm
      copying cortex/webgl/resources/js/ctm/ctm.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm
      copying cortex/webgl/resources/js/ctm/lzma.js -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm
      creating build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm/license
      copying cortex/webgl/resources/js/ctm/license/OpenCTM.txt -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm/license
      copying cortex/webgl/resources/js/ctm/license/js-lzma.txt -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm/license
      copying cortex/webgl/resources/js/ctm/license/js-openctm.txt -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/js/ctm/license
      creating build/lib.linux-x86_64-3.7/cortex/webgl/resources/json
      copying cortex/webgl/resources/json/wngraph-definitions.json -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/json
      copying cortex/webgl/resources/json/wngraph-nodenames.json -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/json
      copying cortex/webgl/resources/json/wngraph-rgbcolors.json -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/json
      copying cortex/webgl/resources/json/wngraph-testvoxwts.json -> build/lib.linux-x86_64-3.7/cortex/webgl/resources/json
      running build_ext
      building 'cortex.openctm' extension
      Warning: Can't read registry to find the necessary compiler setting
      Make sure that Python modules winreg, win32api or win32con are installed.
      C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-dIfpci/python3.7-3.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC
      
      creating build/temp.linux-x86_64-3.7
      creating build/temp.linux-x86_64-3.7/OpenCTM-1.0.3
      creating build/temp.linux-x86_64-3.7/OpenCTM-1.0.3/lib
      creating build/temp.linux-x86_64-3.7/OpenCTM-1.0.3/lib/liblzma
      creating build/temp.linux-x86_64-3.7/cortex
      compile options: '-DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -I/tmp/pip-build-env-hcdgnqz2/overlay/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c'
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/compressMG1.c
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/compressMG2.c
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/compressRAW.c
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/liblzma/Alloc.c
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/liblzma/LzFind.c
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/liblzma/LzmaDec.c
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/liblzma/LzmaEnc.c
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/liblzma/LzmaLib.c
      OpenCTM-1.0.3/lib/liblzma/LzmaEnc.c: In function ‘LzmaEnc_Alloc’:
      OpenCTM-1.0.3/lib/liblzma/LzmaEnc.c:1922:8: warning: variable ‘btMode’ set but not used [-Wunused-but-set-variable]
         Bool btMode;
              ^~~~~~
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/openctm.c
      x86_64-linux-gnu-gcc: OpenCTM-1.0.3/lib/stream.c
      x86_64-linux-gnu-gcc: cortex/openctm.c
      cortex/openctm.c:54:10: fatal error: Python.h: File o directory non esistente
       #include "Python.h"
                ^~~~~~~~~~
      compilation terminated.
      error: Command "x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-dIfpci/python3.7-3.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -I/tmp/pip-build-env-hcdgnqz2/overlay/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c cortex/openctm.c -o build/temp.linux-x86_64-3.7/cortex/openctm.o" failed with exit status 1
      [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
Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the meaning of "Failed building wheel for X" in pip ...
If the package is not a wheel, pip tries to build a wheel for it (via setup.py bdist_wheel ). If that fails for...
Read more >
Failed building wheel for X when using pip install [Solved]
The error "Failed building wheel for X" occurs for multiple reasons: Not having the wheel package installed in the environment. Having installed packages...
Read more >
Installation — pycortex 1.2.4 documentation - GitHub Pages
To install the stable release version of pycortex, do the following: # First, install some required dependencies pip install -U setuptools wheel numpy ......
Read more >
ERROR: Could not build wheels for numpy, which is required ...
I use To Reproduce pip install tslearn Expected behavior A clear and ... ERROR: Failed building wheel for numpy Failed to build numpy...
Read more >
pycortex - PyPI
Pycortex is a software library that allows you to visualize fMRI or other volumetric neuroimaging data on cortical surfaces. Installation. To install the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found