Can’t install taipy : ERROR : Could not build wheels for taipy-templates, which is required to install pyproject.toml-based projects

I try to install taipy by creating new environment and using pip install on the step below in command prompt:

  1. conda create -n taipy_env python=3.11
  2. conda activate taipy_env
  3. pip install taipy

but I got error message following below:

Building wheels for collected packages: taipy-templates
  Building wheel for taipy-templates (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for taipy-templates (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [128 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib
      creating build\lib\taipy

copying build\lib\taipy\templates\scenario-management\{{cookiecutter.__root_folder_name}}\pages\scenario_page\data_node_management.py -> build\bdist.win-amd64\wheel\.\taipy\templates\scenario-management\{{cookiecutter.__root_folder_name}}\pages\scenario_page
      error: could not create 'build\bdist.win-amd64\wheel\.\taipy\templates\scenario-management\{{cookiecutter.__root_folder_name}}\pages\scenario_page\data_node_management.py': No such file or directory
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for taipy-templates
Failed to build taipy-templates
ERROR: Could not build wheels for taipy-templates, which is required to install pyproject.toml-based projects

I try to fix below:

  1. downgrading Python version
  2. upgrading pip version
  3. using lastest Pyarrow version, etc.

but I am still facing the same problem.

Leave a Comment