perspective: Perspective Python install failure - Windows

Bug Report

Steps to Reproduce:

  1. pip install numpy
  2. pip install pyarrow==0.15.1
  3. pip install perspective-python

Expected Result:

I would expect the install to flag any additional required dependencies [y/n] and complete successfully. Full output below, apologies it’s long.

Actual Result:

Collecting perspective-python
  Using cached perspective-python-0.4.2.post1.tar.gz (2.5 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting pandas>=0.22.0
  Using cached pandas-1.0.1-cp37-cp37m-win_amd64.whl (9.0 MB)
Requirement already satisfied: numpy>=1.13.1 in c:\users\twmeg\appdata\local\programs\python\python37\lib\site-packages (from perspective-python) (1.18.1)
Collecting python-dateutil>=2.8.0
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Requirement already satisfied: six>=1.11.0 in c:\users\twmeg\appdata\local\programs\python\python37\lib\site-packages (from perspective-python) (1.14.0)
Collecting ipywidgets>=7.5.1
  Using cached ipywidgets-7.5.1-py2.py3-none-any.whl (121 kB)
Collecting psutil>=5.4.8
  Using cached psutil-5.6.7-cp37-cp37m-win_amd64.whl (236 kB)
Collecting zerorpc>=0.6.1
  Using cached zerorpc-0.6.3-py3-none-any.whl (37 kB)
Collecting traitlets>=4.3.2
  Using cached traitlets-4.3.3-py2.py3-none-any.whl (75 kB)
Collecting pytz>=2017.2
  Using cached pytz-2019.3-py2.py3-none-any.whl (509 kB)
Collecting ipykernel>=4.5.1
  Using cached ipykernel-5.1.4-py3-none-any.whl (116 kB)
Collecting widgetsnbextension~=3.5.0
  Using cached widgetsnbextension-3.5.1-py2.py3-none-any.whl (2.2 MB)
Collecting ipython>=4.0.0; python_version >= "3.3"
  Using cached ipython-7.12.0-py3-none-any.whl (777 kB)
Collecting nbformat>=4.2.0
  Using cached nbformat-5.0.4-py3-none-any.whl (169 kB)
Collecting gevent>=1.1
  Using cached gevent-1.4.0-cp37-cp37m-win_amd64.whl (3.0 MB)
Collecting pyzmq>=13.1.0
  Using cached pyzmq-18.1.1-cp37-cp37m-win_amd64.whl (1.0 MB)
Collecting future
  Using cached future-0.18.2.tar.gz (829 kB)
Collecting msgpack>=0.5.2
  Using cached msgpack-0.6.2-cp37-cp37m-win_amd64.whl (68 kB)
Collecting ipython-genutils
  Using cached https://steeleye.jfrog.io/steeleye/api/pypi/pypi/packages/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting decorator
  Using cached decorator-4.4.1-py2.py3-none-any.whl (9.2 kB)
Collecting tornado>=4.2
  Using cached tornado-6.0.3-cp37-cp37m-win_amd64.whl (415 kB)
Collecting jupyter-client
  Using cached jupyter_client-5.3.4-py2.py3-none-any.whl (92 kB)
Collecting notebook>=4.4.1
  Using cached notebook-6.0.3-py3-none-any.whl (9.7 MB)
Collecting backcall
  Using cached backcall-0.1.0.tar.gz (9.7 kB)
Requirement already satisfied: setuptools>=18.5 in c:\users\twmeg\appdata\local\programs\python\python37\lib\site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets>=7.5.1->perspective-python) (41.2.0)
Collecting colorama; sys_platform == "win32"
  Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Using cached prompt_toolkit-3.0.3-py3-none-any.whl (348 kB)
Collecting pickleshare
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting jedi>=0.10
  Using cached jedi-0.16.0-py2.py3-none-any.whl (1.1 MB)
Collecting pygments
  Using cached Pygments-2.5.2-py2.py3-none-any.whl (896 kB)
Collecting jsonschema!=2.5.0,>=2.4
  Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting jupyter-core
  Using cached jupyter_core-4.6.2-py2.py3-none-any.whl (83 kB)
Collecting cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython"
  Using cached cffi-1.14.0-cp37-cp37m-win_amd64.whl (176 kB)
Collecting greenlet>=0.4.14; platform_python_implementation == "CPython"
  Using cached greenlet-0.4.15-cp37-cp37m-win_amd64.whl (16 kB)
Collecting pywin32>=1.0; sys_platform == "win32"
  Using cached pywin32-227-cp37-cp37m-win_amd64.whl (9.1 MB)
Collecting terminado>=0.8.1
  Using cached terminado-0.8.3-py2.py3-none-any.whl (33 kB)
Collecting jinja2
  Using cached Jinja2-2.11.1-py2.py3-none-any.whl (126 kB)
Collecting nbconvert
  Using cached nbconvert-5.6.1-py2.py3-none-any.whl (455 kB)
Collecting prometheus-client
  Using cached prometheus_client-0.7.1.tar.gz (38 kB)
Collecting Send2Trash
  Using cached https://steeleye.jfrog.io/steeleye/api/pypi/pypi/packages/packages/49/46/c3dc27481d1cc57b9385aff41c474ceb7714f7935b1247194adae45db714/Send2Trash-1.5.0-py3-none-any.whl (12 kB)
Collecting wcwidth
  Using cached wcwidth-0.1.8-py2.py3-none-any.whl (17 kB)
Collecting parso>=0.5.2
  Using cached parso-0.6.1-py2.py3-none-any.whl (97 kB)
Collecting attrs>=17.4.0
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting pyrsistent>=0.14.0
  Using cached pyrsistent-0.15.7.tar.gz (107 kB)
Collecting importlib-metadata; python_version < "3.8"
  Using cached importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting pycparser
  Using cached pycparser-2.19.tar.gz (158 kB)
Collecting pywinpty>=0.5; os_name == "nt"
  Using cached pywinpty-0.5.7-cp37-cp37m-win_amd64.whl (1.3 MB)
Collecting MarkupSafe>=0.23
  Using cached MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl (16 kB)
Collecting defusedxml
  Using cached defusedxml-0.6.0-py2.py3-none-any.whl (23 kB)
Collecting pandocfilters>=1.4.1
  Using cached https://steeleye.jfrog.io/steeleye/api/pypi/pypi/packages/packages/4c/ea/236e2584af67bb6df960832731a6e5325fd4441de001767da328c33368ce/pandocfilters-1.4.2.tar.gz (14 kB)
Collecting bleach
  Using cached bleach-3.1.0-py2.py3-none-any.whl (157 kB)
Collecting testpath
  Using cached testpath-0.4.4-py2.py3-none-any.whl (163 kB)
Collecting entrypoints>=0.2.2
  Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting mistune<2,>=0.8.1
  Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting zipp>=0.5
  Using cached zipp-2.2.0-py36-none-any.whl (4.6 kB)
Collecting webencodings
  Using cached https://steeleye.jfrog.io/steeleye/api/pypi/pypi/packages/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: perspective-python
  Building wheel for perspective-python (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\users\twmeg\appdata\local\programs\python\python37\python.exe' 'c:\users\twmeg\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\twmeg\AppData\Local\Temp\tmphaq84mzg'
       cwd: C:\Users\twmeg\AppData\Local\Temp\pip-install-9cnote_9\perspective-python
  Complete output (207 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  creating build\lib.win-amd64-3.7\bench
  copying bench\bench.py -> build\lib.win-amd64-3.7\bench
  copying bench\perspective_benchmark.py -> build\lib.win-amd64-3.7\bench
  copying bench\__init__.py -> build\lib.win-amd64-3.7\bench
  creating build\lib.win-amd64-3.7\perspective
  copying perspective\libpsp.py -> build\lib.win-amd64-3.7\perspective
  copying perspective\__init__.py -> build\lib.win-amd64-3.7\perspective
  creating build\lib.win-amd64-3.7\perspective\core
  copying perspective\core\aggregate.py -> build\lib.win-amd64-3.7\perspective\core
  copying perspective\core\exception.py -> build\lib.win-amd64-3.7\perspective\core
  copying perspective\core\filters.py -> build\lib.win-amd64-3.7\perspective\core
  copying perspective\core\plugin.py -> build\lib.win-amd64-3.7\perspective\core
  copying perspective\core\sort.py -> build\lib.win-amd64-3.7\perspective\core
  copying perspective\core\_version.py -> build\lib.win-amd64-3.7\perspective\core
  copying perspective\core\__init__.py -> build\lib.win-amd64-3.7\perspective\core
  creating build\lib.win-amd64-3.7\perspective\manager
  copying perspective\manager\manager.py -> build\lib.win-amd64-3.7\perspective\manager
  copying perspective\manager\session.py -> build\lib.win-amd64-3.7\perspective\manager
  copying perspective\manager\__init__.py -> build\lib.win-amd64-3.7\perspective\manager
  creating build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\table.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\view.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\view_config.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\_accessor.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\_callback_cache.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\_constants.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\_data_formatter.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\_date_validator.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\_state.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\_utils.py -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\__init__.py -> build\lib.win-amd64-3.7\perspective\table
  creating build\lib.win-amd64-3.7\perspective\tests
  copying perspective\tests\common.py -> build\lib.win-amd64-3.7\perspective\tests
  copying perspective\tests\conftest.py -> build\lib.win-amd64-3.7\perspective\tests
  copying perspective\tests\__init__.py -> build\lib.win-amd64-3.7\perspective\tests
  creating build\lib.win-amd64-3.7\perspective\tornado_handler
  copying perspective\tornado_handler\tornado_handler.py -> build\lib.win-amd64-3.7\perspective\tornado_handler
  copying perspective\tornado_handler\__init__.py -> build\lib.win-amd64-3.7\perspective\tornado_handler
  creating build\lib.win-amd64-3.7\perspective\viewer
  copying perspective\viewer\validate.py -> build\lib.win-amd64-3.7\perspective\viewer
  copying perspective\viewer\viewer.py -> build\lib.win-amd64-3.7\perspective\viewer
  copying perspective\viewer\viewer_traitlets.py -> build\lib.win-amd64-3.7\perspective\viewer
  copying perspective\viewer\__init__.py -> build\lib.win-amd64-3.7\perspective\viewer
  creating build\lib.win-amd64-3.7\perspective\widget
  copying perspective\widget\widget.py -> build\lib.win-amd64-3.7\perspective\widget
  copying perspective\widget\__init__.py -> build\lib.win-amd64-3.7\perspective\widget
  creating build\lib.win-amd64-3.7\perspective\core\data
  copying perspective\core\data\np.py -> build\lib.win-amd64-3.7\perspective\core\data
  copying perspective\core\data\pd.py -> build\lib.win-amd64-3.7\perspective\core\data
  copying perspective\core\data\__init__.py -> build\lib.win-amd64-3.7\perspective\core\data
  creating build\lib.win-amd64-3.7\perspective\tests\core
  copying perspective\tests\core\test_aggregates.py -> build\lib.win-amd64-3.7\perspective\tests\core
  copying perspective\tests\core\test_async.py -> build\lib.win-amd64-3.7\perspective\tests\core
  copying perspective\tests\core\test_layout.py -> build\lib.win-amd64-3.7\perspective\tests\core
  copying perspective\tests\core\test_plugin.py -> build\lib.win-amd64-3.7\perspective\tests\core
  copying perspective\tests\core\test_sort.py -> build\lib.win-amd64-3.7\perspective\tests\core
  copying perspective\tests\core\__init__.py -> build\lib.win-amd64-3.7\perspective\tests\core
  creating build\lib.win-amd64-3.7\perspective\tests\manager
  copying perspective\tests\manager\test_manager.py -> build\lib.win-amd64-3.7\perspective\tests\manager
  copying perspective\tests\manager\__init__.py -> build\lib.win-amd64-3.7\perspective\tests\manager
  creating build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_delete.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_exception.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_remove.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_table.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_table_arrow.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_table_datetime.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_table_infer.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_table_numpy.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_table_pandas.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_to_arrow.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_to_format.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_update.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_update_arrow.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_update_numpy.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_update_pandas.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\test_view.py -> build\lib.win-amd64-3.7\perspective\tests\table
  copying perspective\tests\table\__init__.py -> build\lib.win-amd64-3.7\perspective\tests\table
  creating build\lib.win-amd64-3.7\perspective\tests\viewer
  copying perspective\tests\viewer\test_validate.py -> build\lib.win-amd64-3.7\perspective\tests\viewer
  copying perspective\tests\viewer\test_viewer.py -> build\lib.win-amd64-3.7\perspective\tests\viewer
  copying perspective\tests\viewer\__init__.py -> build\lib.win-amd64-3.7\perspective\tests\viewer
  creating build\lib.win-amd64-3.7\perspective\tests\widget
  copying perspective\tests\widget\test_widget.py -> build\lib.win-amd64-3.7\perspective\tests\widget
  copying perspective\tests\widget\test_widget_pandas.py -> build\lib.win-amd64-3.7\perspective\tests\widget
  copying perspective\tests\widget\__init__.py -> build\lib.win-amd64-3.7\perspective\tests\widget
  running egg_info
  writing perspective_python.egg-info\PKG-INFO
  writing dependency_links to perspective_python.egg-info\dependency_links.txt
  writing requirements to perspective_python.egg-info\requires.txt
  writing top-level names to perspective_python.egg-info\top_level.txt
  reading manifest file 'perspective_python.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  C:\Users\twmeg\AppData\Local\Temp\pip-build-env-wjl4qaim\overlay\Lib\site-packages\setuptools\dist.py:476: UserWarning: Normalizing '0.4.2post.1' to '0.4.2.post1'
    normalized_version,
  warning: no files found matching 'LICENSE'
  warning: no files found matching 'perspective\table\*.dll'
  warning: no files found matching 'perspective\table\*.dylib'
  warning: no previously-included files found matching 'docs\#*'
  no previously-included directories found matching 'docs\build'
  no previously-included directories found matching 'docs\gh-pages'
  no previously-included directories found matching 'docs\dist'
  warning: no files found matching 'webpack.config.js'
  warning: no directories found matching 'style'
  warning: no directories found matching 'js'
  warning: no previously-included files matching '*~' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.pyo' found anywhere in distribution
  warning: no previously-included files matching '.git' found anywhere in distribution
  warning: no previously-included files matching '.ipynb_checkpoints' found anywhere in distribution
  warning: no previously-included files matching '.DS_Store' found anywhere in distribution
  writing manifest file 'perspective_python.egg-info\SOURCES.txt'
  creating build\lib.win-amd64-3.7\perspective\include
  creating build\lib.win-amd64-3.7\perspective\include\perspective
  copying perspective\include\perspective\python.h -> build\lib.win-amd64-3.7\perspective\include\perspective
  creating build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\accessor.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\base.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\context.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\fill.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\numpy.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\serialization.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\table.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\utils.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  copying perspective\include\perspective\python\view.h -> build\lib.win-amd64-3.7\perspective\include\perspective\python
  creating build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\accessor.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\context.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\fill.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\numpy.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\python.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\serialization.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\table.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\utils.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\src\view.cpp -> build\lib.win-amd64-3.7\perspective\src
  copying perspective\table\libbinding.so -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\libpsp.so -> build\lib.win-amd64-3.7\perspective\table
  copying perspective\table\libtbb.so -> build\lib.win-amd64-3.7\perspective\table
  creating build\lib.win-amd64-3.7\perspective\tests\client
  copying perspective\tests\client\test_client.py -> build\lib.win-amd64-3.7\perspective\tests\client
  copying perspective\tests\table\psp_test -> build\lib.win-amd64-3.7\perspective\tests\table
  creating build\lib.win-amd64-3.7\perspective\tests\table\arrow
  copying perspective\tests\table\arrow\date32.arrow -> build\lib.win-amd64-3.7\perspective\tests\table\arrow
  copying perspective\tests\table\arrow\date64.arrow -> build\lib.win-amd64-3.7\perspective\tests\table\arrow
  copying perspective\tests\table\arrow\dict.arrow -> build\lib.win-amd64-3.7\perspective\tests\table\arrow
  copying perspective\tests\table\arrow\dict_update.arrow -> build\lib.win-amd64-3.7\perspective\tests\table\arrow
  copying perspective\tests\table\arrow\int_float_str.arrow -> build\lib.win-amd64-3.7\perspective\tests\table\arrow
  copying perspective\tests\table\arrow\int_float_str_file.arrow -> build\lib.win-amd64-3.7\perspective\tests\table\arrow
  copying perspective\tests\table\arrow\int_float_str_update.arrow -> build\lib.win-amd64-3.7\perspective\tests\table\arrow
  running build_ext
  Traceback (most recent call last):
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 257, in <module>
      main()
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 240, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 182, in build_wheel
      metadata_directory)
    File "C:\Users\twmeg\AppData\Local\Temp\pip-build-env-wjl4qaim\overlay\Lib\site-packages\setuptools\build_meta.py", line 213, in build_wheel
      wheel_directory, config_settings)
    File "C:\Users\twmeg\AppData\Local\Temp\pip-build-env-wjl4qaim\overlay\Lib\site-packages\setuptools\build_meta.py", line 198, in _build_with_temp_dir
      self.run_setup()
    File "C:\Users\twmeg\AppData\Local\Temp\pip-build-env-wjl4qaim\overlay\Lib\site-packages\setuptools\build_meta.py", line 250, in run_setup
      self).run_setup(setup_script=setup_script)
    File "C:\Users\twmeg\AppData\Local\Temp\pip-build-env-wjl4qaim\overlay\Lib\site-packages\setuptools\build_meta.py", line 143, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 237, in <module>
      cmdclass=dict(build_ext=PSPBuild),
    File "C:\Users\twmeg\AppData\Local\Temp\pip-build-env-wjl4qaim\overlay\Lib\site-packages\setuptools\__init__.py", line 144, in setup
      return distutils.core.setup(**attrs)
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\distutils\dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\twmeg\AppData\Local\Temp\pip-build-env-wjl4qaim\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "setup.py", line 104, in run
      self.run_cmake()
    File "setup.py", line 128, in run_cmake
      out = subprocess.check_output([self.cmake_cmd, '--version'])
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\subprocess.py", line 411, in check_output
      **kwargs).stdout
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\subprocess.py", line 488, in run
      with Popen(*popenargs, **kwargs) as process:
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\subprocess.py", line 800, in __init__
      restore_signals, start_new_session)
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\subprocess.py", line 1148, in _execute_child
      args = list2cmdline(args)
    File "c:\users\twmeg\appdata\local\programs\python\python37\lib\subprocess.py", line 555, in list2cmdline
      needquote = (" " in arg) or ("\t" in arg) or not arg
  TypeError: argument of type 'NoneType' is not iterable
  ----------------------------------------
  ERROR: Failed building wheel for perspective-python
Failed to build perspective-python
ERROR: Could not build wheels for perspective-python which use PEP 517 and cannot be installed directly

Environment:

Has been tried on a Windows 10 machines, separately on a Windows Server also, in both a conda virtual env and directly into a default python environment (not virtual env). The same error is received in each case.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (13 by maintainers)

Most upvoted comments

If you read up above on this thread you can see more info about which VC are supported

@MarcSkovMadsen it looks like you pip installed cmake? can you install it directly from kitware https://cmake.org/download/ and remove the python script, no idea what that does or how it works but its clearly it does not work properly