When Installing Tabpy in Anaconda, The "Failed Building Wheel for Twisted" Error Occurs and Could Not Complete the Installation
Published: 27 Nov 2020 Last Modified Date: 30 Nov 2020
Issue
When installing TabPy in Anaconda environment, the following error occurs:
"Failed building wheel for twisted"
Environment
Tableau Desktop
TabPy
Resolution
1. Launch the Anaconda command prompt and check the version of Python. python --version
2. Download the "twisted" module from the following link and install it in Anaconda. 2.1 https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted Download the "twisted" module from the above link, which should be the same as the Python version ( For example Twisted-20.3.0-cp38-cp38-win_amd64.whl for Python 3.8) 2.2 Navigate to the download folder at the Anaconda command prompt and run the installation command. cd C:\Users\<Username>\Downloads (If the download folder is Downloads) pip install Twisted-20.3.0-cp38-cp38-win_amd64.whl
3. Once the "twisted" module is installed, install tabpy again at Anaconda's command prompt. pip install tabpy
Cause
It seems that Anaconda could not build the wheel for twisted while installing Tabpy.
Thank you for providing your feedback on the effectiveness of the article.