Pycaret working?

Hi,

I followed this guide

to get Pycaret to work within Knime but so far without success.

The problem seems that I cannot complete the Pycaret installation in the py3_knime environment (apologies for the long output):

(py3_knime) C:\Users\evert.homan>pip install pycaret
Collecting pycaret
Using cached pycaret-2.3.1-py3-none-any.whl (261 kB)
Collecting mlflow
Using cached mlflow-1.17.0-py3-none-any.whl (14.2 MB)
Collecting lightgbm>=2.3.1
Using cached lightgbm-3.2.1-py3-none-win_amd64.whl (1.0 MB)
Collecting spacy<2.4.0
Using cached spacy-2.3.7-cp36-cp36m-win_amd64.whl (9.6 MB)
Collecting joblib
Using cached joblib-1.0.1-py3-none-any.whl (303 kB)
Collecting plotly>=4.4.1
Using cached plotly-4.14.3-py2.py3-none-any.whl (13.2 MB)
Requirement already satisfied: scipy<=1.5.4 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pycaret) (1.1.0)
Collecting textblob
Using cached textblob-0.15.3-py2.py3-none-any.whl (636 kB)
Collecting seaborn
Using cached seaborn-0.11.1-py3-none-any.whl (285 kB)
Collecting imbalanced-learn==0.7.0
Using cached imbalanced_learn-0.7.0-py3-none-any.whl (167 kB)
Requirement already satisfied: matplotlib in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pycaret) (3.0.3)
Requirement already satisfied: IPython in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pycaret) (7.1.1)
Collecting scikit-learn==0.23.2
Using cached scikit_learn-0.23.2-cp36-cp36m-win_amd64.whl (6.8 MB)
Collecting nltk
Using cached nltk-3.6.2-py3-none-any.whl (1.5 MB)
Collecting pyLDAvis
Using cached pyLDAvis-3.3.1.tar.gz (1.7 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Installing backend dependencies … done
Preparing wheel metadata … done
Collecting umap-learn
Using cached umap_learn-0.5.1-py3-none-any.whl
Collecting kmodes>=0.10.1
Using cached kmodes-0.11.0-py2.py3-none-any.whl (18 kB)
Collecting wordcloud
Using cached wordcloud-1.8.1-cp36-cp36m-win_amd64.whl (154 kB)
Collecting yellowbrick>=1.0.1
Using cached yellowbrick-1.3.post1-py3-none-any.whl (271 kB)
Collecting pandas-profiling>=2.8.0
Using cached pandas_profiling-3.0.0-py2.py3-none-any.whl (248 kB)
Collecting ipywidgets
Using cached ipywidgets-7.6.3-py2.py3-none-any.whl (121 kB)
Collecting numpy==1.19.5
Using cached numpy-1.19.5-cp36-cp36m-win_amd64.whl (13.2 MB)
Collecting Boruta
Using cached Boruta-0.3-py3-none-any.whl (56 kB)
Requirement already satisfied: pandas in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pycaret) (0.23.4)
Collecting mlxtend>=0.17.0
Using cached mlxtend-0.18.0-py2.py3-none-any.whl (1.3 MB)
Collecting scikit-plot
Using cached scikit_plot-0.3.7-py3-none-any.whl (33 kB)
Collecting pyod
Using cached pyod-0.8.8-py3-none-any.whl
Collecting gensim<4.0.0
Using cached gensim-3.8.3-cp36-cp36m-win_amd64.whl (24.2 MB)
Collecting cufflinks>=0.17.0
Using cached cufflinks-0.17.3-py3-none-any.whl
Collecting threadpoolctl>=2.0.0
Using cached threadpoolctl-2.1.0-py3-none-any.whl (12 kB)
Requirement already satisfied: setuptools>=34.4.1 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from cufflinks>=0.17.0->pycaret) (52.0.0.post20210125)
Requirement already satisfied: six>=1.9.0 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from cufflinks>=0.17.0->pycaret) (1.15.0)
Collecting colorlover>=0.2.1
Using cached colorlover-0.3.0-py3-none-any.whl (8.9 kB)
Collecting Cython==0.29.14
Using cached Cython-0.29.14-cp36-cp36m-win_amd64.whl (1.7 MB)
Collecting smart-open>=1.8.1
Using cached smart_open-5.1.0-py3-none-any.whl (57 kB)
Requirement already satisfied: colorama in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from IPython->pycaret) (0.4.4)
Requirement already satisfied: pygments in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from IPython->pycaret) (2.9.0)
Requirement already satisfied: jedi>=0.10 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from IPython->pycaret) (0.13.3)
Requirement already satisfied: pickleshare in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from IPython->pycaret) (0.7.5)
Requirement already satisfied: backcall in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from IPython->pycaret) (0.2.0)
Requirement already satisfied: decorator in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from IPython->pycaret) (5.0.9)
Requirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from IPython->pycaret) (2.0.10)
Requirement already satisfied: traitlets>=4.2 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from IPython->pycaret) (4.3.3)
Requirement already satisfied: nbformat>=4.2.0 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from ipywidgets->pycaret) (4.4.0)
Collecting widgetsnbextension~=3.5.0
Using cached widgetsnbextension-3.5.1-py2.py3-none-any.whl (2.2 MB)
Collecting ipykernel>=4.5.1
Using cached ipykernel-5.5.5-py3-none-any.whl (120 kB)
Collecting jupyterlab-widgets>=1.0.0
Using cached jupyterlab_widgets-1.0.0-py3-none-any.whl (243 kB)
Collecting jupyter-client
Using cached jupyter_client-6.1.12-py3-none-any.whl (112 kB)
Requirement already satisfied: tornado>=4.2 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from ipykernel>=4.5.1->ipywidgets->pycaret) (6.1)
Requirement already satisfied: parso>=0.3.0 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from jedi>=0.10->IPython->pycaret) (0.8.2)
Requirement already satisfied: wheel in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from lightgbm>=2.3.1->pycaret) (0.36.2)
Collecting scipy<=1.5.4
Using cached scipy-1.5.4-cp36-cp36m-win_amd64.whl (31.2 MB)
Collecting pandas
Using cached pandas-1.1.5-cp36-cp36m-win_amd64.whl (8.7 MB)
Requirement already satisfied: cycler>=0.10 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from matplotlib->pycaret) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from matplotlib->pycaret) (1.3.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from matplotlib->pycaret) (2.4.7)
Requirement already satisfied: python-dateutil>=2.1 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from matplotlib->pycaret) (2.7.5)
Requirement already satisfied: jupyter-core in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from nbformat>=4.2.0->ipywidgets->pycaret) (4.7.1)
Requirement already satisfied: ipython-genutils in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from nbformat>=4.2.0->ipywidgets->pycaret) (0.2.0)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from nbformat>=4.2.0->ipywidgets->pycaret) (3.2.0)
Requirement already satisfied: pyrsistent>=0.14.0 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets->pycaret) (0.17.3)
Requirement already satisfied: importlib-metadata in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets->pycaret) (3.10.0)
Requirement already satisfied: attrs>=17.4.0 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets->pycaret) (21.2.0)
Requirement already satisfied: pytz>=2017.2 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pandas->pycaret) (2021.1)
Collecting tangled-up-in-unicode==0.1.0
Using cached tangled_up_in_unicode-0.1.0-py3-none-any.whl (3.1 MB)
Collecting phik>=0.11.1
Using cached phik-0.11.2-py3-none-any.whl
Collecting jinja2>=2.11.1
Using cached Jinja2-3.0.1-py3-none-any.whl (133 kB)
Requirement already satisfied: PyYAML>=5.0.0 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pandas-profiling>=2.8.0->pycaret) (5.3.1)
Collecting visions[type_image_path]==0.7.1
Using cached visions-0.7.1-py3-none-any.whl (102 kB)
Collecting htmlmin>=0.1.12
Using cached htmlmin-0.1.12-py3-none-any.whl
Collecting missingno>=0.4.2
Using cached missingno-0.4.2-py3-none-any.whl (9.7 kB)
Collecting tqdm>=4.48.2
Using cached tqdm-4.61.0-py2.py3-none-any.whl (75 kB)
Collecting requests>=2.24.0
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting pydantic>=1.8.1
Using cached pydantic-1.8.2-cp36-cp36m-win_amd64.whl (1.9 MB)
Collecting matplotlib
Using cached matplotlib-3.3.4-cp36-cp36m-win_amd64.whl (8.5 MB)
Collecting networkx>=2.4
Using cached networkx-2.5.1-py3-none-any.whl (1.6 MB)
Collecting multimethod==1.4
Using cached multimethod-1.4-py2.py3-none-any.whl (7.3 kB)
Collecting bottleneck
Using cached Bottleneck-1.3.2.tar.gz (88 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing wheel metadata … done
Requirement already satisfied: Pillow in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from visions[type_image_path]==0.7.1->pandas-profiling>=2.8.0->pycaret) (5.3.0)
Collecting imagehash
Using cached ImageHash-4.2.0-py2.py3-none-any.whl (295 kB)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.0.1-cp36-cp36m-win_amd64.whl (14 kB)
Collecting Pillow
Using cached Pillow-8.2.0-cp36-cp36m-win_amd64.whl (2.2 MB)
Collecting decorator
Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting retrying>=1.3.3
Using cached retrying-1.3.3-py3-none-any.whl
Requirement already satisfied: wcwidth in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from prompt-toolkit<2.1.0,>=2.0.0->IPython->pycaret) (0.2.5)
Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pydantic>=1.8.1->pandas-profiling>=2.8.0->pycaret) (3.7.4.3)
Collecting dataclasses>=0.6
Using cached dataclasses-0.8-py3-none-any.whl (19 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from requests>=2.24.0->pandas-profiling>=2.8.0->pycaret) (2021.5.30)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting catalogue<1.1.0,>=0.0.7
Using cached catalogue-1.0.0-py2.py3-none-any.whl (7.7 kB)
Collecting preshed<3.1.0,>=3.0.2
Using cached preshed-3.0.5-cp36-cp36m-win_amd64.whl (109 kB)
Collecting srsly<1.1.0,>=1.0.2
Using cached srsly-1.0.5-cp36-cp36m-win_amd64.whl (176 kB)
Collecting blis<0.8.0,>=0.4.0
Using cached blis-0.7.4-cp36-cp36m-win_amd64.whl (6.5 MB)
Collecting thinc<7.5.0,>=7.4.1
Using cached thinc-7.4.5-cp36-cp36m-win_amd64.whl (889 kB)
Collecting wasabi<1.1.0,>=0.4.0
Using cached wasabi-0.8.2-py3-none-any.whl (23 kB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.5-cp36-cp36m-win_amd64.whl (20 kB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.5-cp36-cp36m-win_amd64.whl (35 kB)
Collecting plac<1.2.0,>=0.9.6
Using cached plac-1.1.3-py2.py3-none-any.whl (20 kB)
Requirement already satisfied: zipp>=0.5 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from importlib-metadata->jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets->pycaret) (3.4.1)
Collecting notebook>=4.4.1
Using cached notebook-6.4.0-py3-none-any.whl (9.5 MB)
Collecting Send2Trash>=1.5.0
Using cached Send2Trash-1.5.0-py3-none-any.whl (12 kB)
Collecting nbconvert
Using cached nbconvert-6.0.7-py3-none-any.whl (552 kB)
Collecting prometheus-client
Using cached prometheus_client-0.11.0-py2.py3-none-any.whl (56 kB)
Collecting terminado>=0.8.3
Using cached terminado-0.10.0-py3-none-any.whl (14 kB)
Collecting argon2-cffi
Using cached argon2_cffi-20.1.0-cp36-cp36m-win_amd64.whl (42 kB)
Collecting pyzmq>=17
Using cached pyzmq-22.1.0-cp36-cp36m-win_amd64.whl (1.1 MB)
Requirement already satisfied: pywin32>=1.0 in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from jupyter-core->nbformat>=4.2.0->ipywidgets->pycaret) (227)
Collecting pywinpty>=1.1.0
Using cached pywinpty-1.1.1-cp36-none-win_amd64.whl (1.4 MB)
Collecting cffi>=1.0.0
Using cached cffi-1.14.5-cp36-cp36m-win_amd64.whl (178 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting PyWavelets
Using cached PyWavelets-1.1.1-cp36-cp36m-win_amd64.whl (4.2 MB)
Collecting click>=7.0
Using cached click-8.0.1-py3-none-any.whl (97 kB)
Collecting entrypoints
Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting Flask
Using cached Flask-2.0.1-py3-none-any.whl (94 kB)
Collecting alembic<=1.4.1
Using cached alembic-1.4.1-py2.py3-none-any.whl
Collecting waitress
Using cached waitress-2.0.0-py3-none-any.whl (56 kB)
Collecting databricks-cli>=0.8.7
Using cached databricks_cli-0.14.3-py3-none-any.whl
Collecting cloudpickle
Using cached cloudpickle-1.6.0-py3-none-any.whl (23 kB)
Collecting protobuf>=3.6.0
Using cached protobuf-3.17.3-cp36-cp36m-win_amd64.whl (910 kB)
Collecting querystring-parser
Using cached querystring_parser-1.2.4-py2.py3-none-any.whl (7.9 kB)
Collecting sqlparse>=0.3.1
Using cached sqlparse-0.4.1-py3-none-any.whl (42 kB)
Collecting sqlalchemy
Using cached SQLAlchemy-1.4.17-cp36-cp36m-win_amd64.whl (1.5 MB)
Collecting gitpython>=2.1.0
Using cached GitPython-3.1.17-py3-none-any.whl (166 kB)
Collecting docker>=4.0.0
Using cached docker-5.0.0-py2.py3-none-any.whl (146 kB)
Collecting prometheus-flask-exporter
Using cached prometheus_flask_exporter-0.18.2-py3-none-any.whl
Collecting Mako
Using cached Mako-1.1.4-py2.py3-none-any.whl (75 kB)
Collecting python-editor>=0.3
Using cached python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting tabulate>=0.7.7
Using cached tabulate-0.8.9-py3-none-any.whl (25 kB)
Collecting websocket-client>=0.32.0
Using cached websocket_client-1.0.1-py2.py3-none-any.whl (68 kB)
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.7-py3-none-any.whl (63 kB)
Collecting smmap<5,>=3.0.1
Using cached smmap-4.0.0-py2.py3-none-any.whl (24 kB)
Collecting greenlet!=0.4.17
Using cached greenlet-1.1.0-cp36-cp36m-win_amd64.whl (95 kB)
Collecting itsdangerous>=2.0
Using cached itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting Werkzeug>=2.0
Using cached Werkzeug-2.0.1-py3-none-any.whl (288 kB)
Collecting jupyterlab-pygments
Using cached jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
Collecting defusedxml
Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting pandocfilters>=1.4.1
Using cached pandocfilters-1.4.3-py3-none-any.whl
Collecting mistune<2,>=0.8.1
Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting testpath
Using cached testpath-0.5.0-py3-none-any.whl (84 kB)
Collecting bleach
Using cached bleach-3.3.0-py2.py3-none-any.whl (283 kB)
Collecting nbclient<0.6.0,>=0.5.0
Using cached nbclient-0.5.3-py3-none-any.whl (82 kB)
Collecting nest-asyncio
Using cached nest_asyncio-1.5.1-py3-none-any.whl (5.0 kB)
Collecting async-generator
Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Collecting nbformat>=4.2.0
Using cached nbformat-5.1.3-py3-none-any.whl (178 kB)
Collecting packaging
Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting webencodings
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting regex
Using cached regex-2021.4.4-cp36-cp36m-win_amd64.whl (269 kB)
Collecting pyLDAvis
Using cached pyLDAvis-3.3.0.tar.gz (1.7 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Installing backend dependencies … done
Preparing wheel metadata … done
Using cached pyLDAvis-3.2.2-py2.py3-none-any.whl
Requirement already satisfied: future in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pyLDAvis->pycaret) (0.18.2)
Collecting funcy
Using cached funcy-1.16-py2.py3-none-any.whl (32 kB)
Requirement already satisfied: numexpr in c:\users\evert.homan\miniconda3\envs\py3_knime\lib\site-packages (from pyLDAvis->pycaret) (2.7.1)
Collecting statsmodels
Using cached statsmodels-0.12.2-cp36-none-win_amd64.whl (9.3 MB)
Collecting numba>=0.35
Using cached numba-0.53.1-cp36-cp36m-win_amd64.whl (2.3 MB)
Collecting llvmlite<0.37,>=0.36.0rc1
Using cached llvmlite-0.36.0-cp36-cp36m-win_amd64.whl (16.0 MB)
Collecting patsy>=0.5
Using cached patsy-0.5.1-py2.py3-none-any.whl (231 kB)
Collecting pynndescent>=0.5
Using cached pynndescent-0.5.2-py3-none-any.whl
Building wheels for collected packages: bottleneck
Building wheel for bottleneck (PEP 517) … error
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\evert.homan\Miniconda3\envs\py3_knime\python.exe’ ‘C:\Users\evert.homan\Miniconda3\envs\py3_knime\lib\site-packages\pip_vendor\pep517\in_process_in_process.py’ build_wheel ‘C:\Users\evert.homan\AppData\Local\Temp\tmpwow7wu5p’
cwd: C:\Users\evert.homan\AppData\Local\Temp\pip-install-ar_8dq_2\bottleneck_e97491226498496a9ce20fa055ca576c
Complete output (51 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\bottleneck
copying bottleneck_pytesttester.py → build\lib.win-amd64-3.6\bottleneck
copying bottleneck_version.py → build\lib.win-amd64-3.6\bottleneck
copying bottleneck_init_.py → build\lib.win-amd64-3.6\bottleneck
creating build\lib.win-amd64-3.6\bottleneck\benchmark
copying bottleneck\benchmark\autotimeit.py → build\lib.win-amd64-3.6\bottleneck\benchmark
copying bottleneck\benchmark\bench.py → build\lib.win-amd64-3.6\bottleneck\benchmark
copying bottleneck\benchmark\bench_detailed.py → build\lib.win-amd64-3.6\bottleneck\benchmark
copying bottleneck\benchmark_init_.py → build\lib.win-amd64-3.6\bottleneck\benchmark
creating build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\move.py → build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\nonreduce.py → build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\nonreduce_axis.py → build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow\reduce.py → build\lib.win-amd64-3.6\bottleneck\slow
copying bottleneck\slow_init_.py → build\lib.win-amd64-3.6\bottleneck\slow
creating build\lib.win-amd64-3.6\bottleneck\src
copying bottleneck\src\bn_config.py → build\lib.win-amd64-3.6\bottleneck\src
copying bottleneck\src\bn_template.py → build\lib.win-amd64-3.6\bottleneck\src
copying bottleneck\src_init_.py → build\lib.win-amd64-3.6\bottleneck\src
creating build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\input_modification_test.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\list_input_test.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\memory_test.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\move_test.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\nonreduce_axis_test.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\nonreduce_test.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\reduce_test.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\scalar_input_test.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests\util.py → build\lib.win-amd64-3.6\bottleneck\tests
copying bottleneck\tests_init_.py → build\lib.win-amd64-3.6\bottleneck\tests
UPDATING build\lib.win-amd64-3.6\bottleneck/_version.py
set build\lib.win-amd64-3.6\bottleneck/_version.py to ‘1.3.2’
running build_ext
running config
compiling ‘_configtest.c’:

int attribute((optimize(“O3”))) have_attribute_optimize_opt_3(void*);

int main(void)
{
return 0;
}

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: Microsoft C++ Build Tools - Visual Studio

ERROR: Failed building wheel for bottleneck
Failed to build bottleneck
ERROR: Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly

Python version is 3.6.13 according to Knime. I did indeed install MS C++ Building Tools but that does not make a difference - feels also weird that this even would be necessary. Any pointers appreciated.

Thanks/Evert

Hi @evert.homan_scilifelab.se ,

I thought I’d give this a try on my installation. For reference, I am using Python 3.7.7, and my python environment is installed outside of Conda (i.e. I don’t use Conda). I am running on Windows 10.

Like you I tried:
pip install pycaret

The “good” news, is that mine failed too, with the same error that you got. I was hoping it would, as this was going to be difficult to help with if it had “just worked”… :wink:

The even better news is that mine now installs, so there is hope! :slight_smile:

I downloaded the vs_buildtools executable via the “Download Build Tools” link as you presumably did, at Microsoft C++ Build Tools - Visual Studio

The file downloaded as :
vs_buildtools__1161907900.1597150282.exe
According to my anti-virus that file only appeared two days ago, and has a signed date of “03/06/2021 00:11” . It’s worth checking if your exe has the same name as mine, although I suspect it will be the same one.

I ran that and chose only the “Desktop development with C++”
(If I run it again now it tells me that I have the following installed:

and I let it default its installation location.

It prompted me to restart my PC, which I did.

After that, I opened the command prompt, but instead of installing pycaret straight away, I thought I’d just install “bottleneck” which is the module that is actually causing the failure when it tries to build/compile. I wanted to know if building that now worked, before going any further.

So I typed:

pip install bottleneck

This as you can see now successfully installed. (Prior to installing vs_buildtools, attempting to install bottleneck separately like this had also resulted in the same error message we saw before)

After that, I attempted to install pycaret

pip install pycaret

This time it told me that it was successful.

I suggest you double-check the vs_buildtools that you have installed compared with my screenshot, and also try:

pip install bottleneck

and see if that works for you, and if it does, do the pycaret installation again.

I hope something in there gives you the help you need, but let me know if it still fails, and I’ll do my best to assist.

5 Likes

Hi, thanks a lot for this, it worked all the way through without any error messages, even from within Knime!

I also managed to get a clean install on Ubuntu 18.04 with Ananconda3.

Much appreciated/Evert

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.