Closed zhongxianmen2020 closed 1 year ago
On my another laptop, I use Python3.7.4 and PyCaret needs to install Numpy==1.15.4. I can not install PyCaret too
What version of PyCaret are you using? Their main branch has
numpy>=1.21, <1.24 # Can't >=1.24 because of np.float deprecation
Looking at the output:
Moving to c:\users\zhong\appdata\roaming\python\python36\site-packages\numpy-1.16.6.dist-info\
from c:\users\zhong\appdata\roaming\python\python36\site-packages\~umpy-1.16.6.dist-info
You are using Python 3.6 not 3.9. Even then something else might be off, but unlikely to do with NumPy. Try installing the 1.19 explicitly (or --upgrade
).
Also that seems to be the version of NumPy you got it is unclear to me why its rolling things back.
!python --version Python 3.9.12
pip install pycaret --user
Collecting pycaret Using cached pycaret-2.3.10-py3-none-any.whl (320 kB) Requirement already satisfied: numba<0.55 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pycaret) (0.53.1) Requirement already satisfied: joblib in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pycaret) (1.1.0) Collecting umap-learn Using cached umap_learn-0.5.3-py3-none-any.whl Collecting gensim<4.0.0 Using cached gensim-3.8.3-cp36-cp36m-win_amd64.whl (24.2 MB) Requirement already satisfied: scipy<=1.5.4 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pycaret) (1.5.0) Requirement already satisfied: pandas in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pycaret) (1.1.0) Collecting cufflinks>=0.17.0 Using cached cufflinks-0.17.3-py3-none-any.whl Requirement already satisfied: matplotlib in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pycaret) (3.2.2) Collecting mlflow Using cached mlflow-1.23.1-py3-none-any.whl (15.6 MB) Requirement already satisfied: seaborn in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pycaret) (0.11.2) Requirement already satisfied: wordcloud in c:\programdata\anaconda3\lib\site-packages (from pycaret) (1.8.2.2) Collecting Boruta Using cached Boruta-0.3-py3-none-any.whl (56 kB) Collecting pyod Using cached pyod-1.0.9-py3-none-any.whl Requirement already satisfied: plotly>=4.4.1 in c:\programdata\anaconda3\lib\site-packages (from pycaret) (5.10.0) Collecting pandas-profiling>=2.8.0 Note: you may need to restart the kernel to use updated packages. Using cached pandas_profiling-3.2.0-py2.py3-none-any.whl (262 kB) Collecting spacy<2.4.0 Using cached spacy-2.3.9-cp36-cp36m-win_amd64.whl (9.7 MB) Requirement already satisfied: scikit-learn==0.23.2 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pycaret) (0.23.2) Collecting textblob ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'c:\users\zhong\appdata\roaming\python\python36\site-packages\~andas\_libs\algos.cp36-win_amd64.pyd' Check the permissions.
Using cached textblob-0.17.1-py2.py3-none-any.whl (636 kB) Collecting scikit-plot Using cached scikit_plot-0.3.7-py3-none-any.whl (33 kB) Requirement already satisfied: IPython in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pycaret) (7.15.0) Collecting lightgbm>=2.3.1 Using cached lightgbm-3.3.5-py3-none-win_amd64.whl (1.0 MB) Requirement already satisfied: pyyaml<6.0.0 in c:\programdata\anaconda3\lib\site-packages (from pycaret) (3.12) Collecting pyLDAvis Using cached pyLDAvis-3.3.1.tar.gz (1.7 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting mlxtend>=0.17.0 Using cached mlxtend-0.22.0-py2.py3-none-any.whl (1.4 MB) Requirement already satisfied: nltk in c:\programdata\anaconda3\lib\site-packages (from pycaret) (3.3) Collecting kmodes>=0.10.1 Using cached kmodes-0.12.2-py2.py3-none-any.whl (20 kB) Collecting imbalanced-learn==0.7.0 Using cached imbalanced_learn-0.7.0-py3-none-any.whl (167 kB) Collecting yellowbrick>=1.0.1 Using cached yellowbrick-1.5-py3-none-any.whl (282 kB) Requirement already satisfied: ipywidgets in c:\programdata\anaconda3\lib\site-packages (from pycaret) (7.2.1) Requirement already satisfied: numpy>=1.13.3 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from imbalanced-learn==0.7.0->pycaret) (1.19.5) Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from scikit-learn==0.23.2->pycaret) (3.1.0) Collecting colorlover>=0.2.1 Using cached colorlover-0.3.0-py3-none-any.whl (8.9 kB) Requirement already satisfied: six>=1.9.0 in c:\programdata\anaconda3\lib\site-packages (from cufflinks>=0.17.0->pycaret) (1.11.0) Requirement already satisfied: setuptools>=34.4.1 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from cufflinks>=0.17.0->pycaret) (59.6.0) Requirement already satisfied: smart-open>=1.8.1 in c:\programdata\anaconda3\lib\site-packages (from gensim<4.0.0->pycaret) (6.3.0) Collecting Cython==0.29.14 Using cached Cython-0.29.14-cp36-cp36m-win_amd64.whl (1.7 MB) Requirement already satisfied: pygments in c:\programdata\anaconda3\lib\site-packages (from IPython->pycaret) (2.2.0) Requirement already satisfied: backcall in c:\programdata\anaconda3\lib\site-packages (from IPython->pycaret) (0.1.0) Requirement already satisfied: pickleshare in c:\programdata\anaconda3\lib\site-packages (from IPython->pycaret) (0.7.4) Requirement already satisfied: decorator in c:\programdata\anaconda3\lib\site-packages (from IPython->pycaret) (4.3.0) Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from IPython->pycaret) (3.0.30) Requirement already satisfied: jedi>=0.10 in c:\programdata\anaconda3\lib\site-packages (from IPython->pycaret) (0.12.0) Requirement already satisfied: traitlets>=4.2 in c:\programdata\anaconda3\lib\site-packages (from IPython->pycaret) (4.3.2) Requirement already satisfied: colorama in c:\programdata\anaconda3\lib\site-packages (from IPython->pycaret) (0.3.9) Requirement already satisfied: ipykernel>=4.5.1 in c:\programdata\anaconda3\lib\site-packages (from ipywidgets->pycaret) (4.8.2) Requirement already satisfied: nbformat>=4.2.0 in c:\programdata\anaconda3\lib\site-packages (from ipywidgets->pycaret) (4.4.0) Requirement already satisfied: widgetsnbextension~=3.2.0 in c:\programdata\anaconda3\lib\site-packages (from ipywidgets->pycaret) (3.2.1) Requirement already satisfied: wheel in c:\users\zhong\appdata\roaming\python\python36\site-packages (from lightgbm>=2.3.1->pycaret) (0.37.1) Collecting mlxtend>=0.17.0 Using cached mlxtend-0.21.0-py2.py3-none-any.whl (1.3 MB) Using cached mlxtend-0.20.0-py2.py3-none-any.whl (1.3 MB) Using cached mlxtend-0.19.0-py2.py3-none-any.whl (1.3 MB) Requirement already satisfied: kiwisolver>=1.0.1 in c:\programdata\anaconda3\lib\site-packages (from matplotlib->pycaret) (1.0.1) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in c:\programdata\anaconda3\lib\site-packages (from matplotlib->pycaret) (2.2.0) Requirement already satisfied: cycler>=0.10 in c:\programdata\anaconda3\lib\site-packages (from matplotlib->pycaret) (0.10.0) Requirement already satisfied: python-dateutil>=2.1 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from matplotlib->pycaret) (2.8.2) Requirement already satisfied: llvmlite<0.37,>=0.36.0rc1 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from numba<0.55->pycaret) (0.36.0) Requirement already satisfied: pytz>=2017.2 in c:\programdata\anaconda3\lib\site-packages (from pandas->pycaret) (2018.4) Collecting multimethod>=1.4 Using cached multimethod-1.5-py3-none-any.whl (7.7 kB) Collecting pandas Using cached pandas-1.1.5-cp36-cp36m-win_amd64.whl (8.7 MB) Collecting htmlmin>=0.1.12 Using cached htmlmin-0.1.12-py3-none-any.whl Requirement already satisfied: pydantic>=1.8.1 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pandas-profiling>=2.8.0->pycaret) (1.9.1) Collecting pyyaml<6.0.0 Using cached PyYAML-5.4.1-cp36-cp36m-win_amd64.whl (209 kB) Collecting pandas-profiling>=2.8.0 Using cached pandas_profiling-3.1.0-py2.py3-none-any.whl (261 kB) Collecting joblib Using cached joblib-1.0.1-py3-none-any.whl (303 kB) Collecting phik>=0.11.1 Using cached phik-0.12.0-cp36-cp36m-win_amd64.whl (660 kB) Collecting tqdm>=4.48.2 Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB) Requirement already satisfied: requests>=2.24.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pandas-profiling>=2.8.0->pycaret) (2.27.1) Requirement already satisfied: markupsafe~=2.0.1 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pandas-profiling>=2.8.0->pycaret) (2.0.1) Collecting missingno>=0.4.2 Using cached missingno-0.5.2-py3-none-any.whl (8.7 kB) Requirement already satisfied: jinja2>=2.11.1 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pandas-profiling>=2.8.0->pycaret) (3.0.3) Collecting visions[type_image_path]==0.7.4 Using cached visions-0.7.4-py3-none-any.whl (102 kB) Requirement already satisfied: tangled-up-in-unicode==0.1.0 in c:\programdata\anaconda3\lib\site-packages (from pandas-profiling>=2.8.0->pycaret) (0.1.0) Collecting networkx>=2.4 Using cached networkx-2.5.1-py3-none-any.whl (1.6 MB) Collecting attrs>=19.3.0 Using cached attrs-22.2.0-py3-none-any.whl (60 kB) Requirement already satisfied: Pillow in c:\users\zhong\appdata\roaming\python\python36\site-packages (from visions[type_image_path]==0.7.4->pandas-profiling>=2.8.0->pycaret) (8.4.0) Collecting imagehash Using cached ImageHash-4.3.1-py2.py3-none-any.whl (296 kB) Requirement already satisfied: tenacity>=6.2.0 in c:\programdata\anaconda3\lib\site-packages (from plotly>=4.4.1->pycaret) (8.0.1) Collecting murmurhash<1.1.0,>=0.28.0 Using cached murmurhash-1.0.9-cp36-cp36m-win_amd64.whl (21 kB) Collecting blis<0.8.0,>=0.4.0 Using cached blis-0.7.9-cp36-cp36m-win_amd64.whl (7.0 MB) Collecting preshed<3.1.0,>=3.0.2 Using cached preshed-3.0.8-cp36-cp36m-win_amd64.whl (111 kB) Collecting thinc<7.5.0,>=7.4.1 Using cached thinc-7.4.6-cp36-cp36m-win_amd64.whl (910 kB) Collecting wasabi<1.1.0,>=0.4.0 Using cached wasabi-0.10.1-py3-none-any.whl (26 kB) Collecting catalogue<1.1.0,>=0.0.7 Using cached catalogue-1.0.2-py2.py3-none-any.whl (16 kB) Collecting srsly<1.1.0,>=1.0.2 Using cached srsly-1.0.6-cp36-cp36m-win_amd64.whl (207 kB) Collecting plac<1.2.0,>=0.9.6 Using cached plac-1.1.3-py2.py3-none-any.whl (20 kB) Collecting cymem<2.1.0,>=2.0.2 Using cached cymem-2.0.7-cp36-cp36m-win_amd64.whl (36 kB) Collecting yellowbrick>=1.0.1 Using cached yellowbrick-1.4-py3-none-any.whl (274 kB) Using cached yellowbrick-1.3.post1-py3-none-any.whl (271 kB) Collecting waitress Using cached waitress-2.0.0-py3-none-any.whl (56 kB) Requirement already satisfied: importlib-metadata!=4.7.0,>=3.7.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from mlflow->pycaret) (4.8.3) Collecting databricks-cli>=0.8.7 Using cached databricks_cli-0.17.6-py3-none-any.whl Collecting gitpython>=2.1.0 Using cached GitPython-3.1.18-py3-none-any.whl (170 kB) Collecting docker>=4.0.0 Using cached docker-5.0.3-py2.py3-none-any.whl (146 kB) Requirement already satisfied: protobuf>=3.7.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from mlflow->pycaret) (3.19.4) Collecting querystring-parser Using cached querystring_parser-1.2.4-py2.py3-none-any.whl (7.9 kB) Requirement already satisfied: sqlparse>=0.3.1 in c:\programdata\anaconda3\lib\site-packages (from mlflow->pycaret) (0.4.4) Requirement already satisfied: cloudpickle in c:\programdata\anaconda3\lib\site-packages (from mlflow->pycaret) (0.5.3) Requirement already satisfied: packaging in c:\programdata\anaconda3\lib\site-packages (from mlflow->pycaret) (17.1) Collecting prometheus-flask-exporter Using cached prometheus_flask_exporter-0.22.3-py3-none-any.whl (18 kB) Requirement already satisfied: Flask in c:\users\zhong\appdata\roaming\python\python36\site-packages (from mlflow->pycaret) (2.0.3) Requirement already satisfied: sqlalchemy in c:\programdata\anaconda3\lib\site-packages (from mlflow->pycaret) (1.2.7) Collecting alembic Using cached alembic-1.7.7-py3-none-any.whl (210 kB) Requirement already satisfied: entrypoints in c:\programdata\anaconda3\lib\site-packages (from mlflow->pycaret) (0.2.3) Requirement already satisfied: click>=7.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from mlflow->pycaret) (8.0.4) Collecting future Using cached future-0.18.3-py3-none-any.whl Requirement already satisfied: numexpr in c:\programdata\anaconda3\lib\site-packages (from pyLDAvis->pycaret) (2.6.5) Collecting funcy Using cached funcy-2.0-py2.py3-none-any.whl (30 kB) Collecting pyLDAvis Using cached pyLDAvis-3.3.0.tar.gz (1.7 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached pyLDAvis-3.2.2-py2.py3-none-any.whl Collecting scipy<=1.5.4 Using cached scipy-1.5.4-cp36-cp36m-win_amd64.whl (31.2 MB) Collecting pynndescent>=0.5 Using cached pynndescent-0.5.10-py3-none-any.whl Requirement already satisfied: zipp>=0.5 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from catalogue<1.1.0,>=0.0.7->spacy<2.4.0->pycaret) (3.6.0) Requirement already satisfied: typing-extensions>=3.6.4 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from catalogue<1.1.0,>=0.0.7->spacy<2.4.0->pycaret) (4.1.1) Collecting pyjwt>=1.7.0 Using cached PyJWT-2.4.0-py3-none-any.whl (18 kB) Collecting tabulate>=0.7.7 Using cached tabulate-0.8.10-py3-none-any.whl (29 kB) Requirement already satisfied: oauthlib>=3.1.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from databricks-cli>=0.8.7->mlflow->pycaret) (3.2.0) Collecting websocket-client>=0.32.0 Using cached websocket_client-1.3.1-py3-none-any.whl (54 kB) Collecting pywin32==227 Using cached pywin32-227-cp36-cp36m-win_amd64.whl (9.1 MB) Collecting gitdb<5,>=4.0.1 Using cached gitdb-4.0.9-py3-none-any.whl (63 kB) Requirement already satisfied: jupyter_client in c:\programdata\anaconda3\lib\site-packages (from ipykernel>=4.5.1->ipywidgets->pycaret) (5.2.3) Requirement already satisfied: tornado>=4.0 in c:\programdata\anaconda3\lib\site-packages (from ipykernel>=4.5.1->ipywidgets->pycaret) (5.0.2) Requirement already satisfied: parso>=0.2.0 in c:\programdata\anaconda3\lib\site-packages (from jedi>=0.10->IPython->pycaret) (0.2.0) Requirement already satisfied: ipython_genutils in c:\programdata\anaconda3\lib\site-packages (from nbformat>=4.2.0->ipywidgets->pycaret) (0.2.0) Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in c:\programdata\anaconda3\lib\site-packages (from nbformat>=4.2.0->ipywidgets->pycaret) (2.6.0) Requirement already satisfied: jupyter_core in c:\programdata\anaconda3\lib\site-packages (from nbformat>=4.2.0->ipywidgets->pycaret) (4.4.0) Requirement already satisfied: wcwidth in c:\programdata\anaconda3\lib\site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->IPython->pycaret) (0.1.7) Requirement already satisfied: dataclasses>=0.6 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from pydantic>=1.8.1->pandas-profiling>=2.8.0->pycaret) (0.8) Requirement already satisfied: certifi>=2017.4.17 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.24.0->pandas-profiling>=2.8.0->pycaret) (2018.4.16) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.24.0->pandas-profiling>=2.8.0->pycaret) (1.22) Requirement already satisfied: idna<4,>=2.5 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.24.0->pandas-profiling>=2.8.0->pycaret) (2.6) Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from requests>=2.24.0->pandas-profiling>=2.8.0->pycaret) (2.0.12) Requirement already satisfied: importlib-resources in c:\users\zhong\appdata\roaming\python\python36\site-packages (from tqdm>=4.48.2->pandas-profiling>=2.8.0->pycaret) (5.4.0) Requirement already satisfied: notebook>=4.4.1 in c:\programdata\anaconda3\lib\site-packages (from widgetsnbextension~=3.2.0->ipywidgets->pycaret) (5.5.0) Collecting Mako Using cached Mako-1.1.6-py2.py3-none-any.whl (75 kB) Collecting sqlalchemy Using cached SQLAlchemy-1.4.47-cp36-cp36m-win_amd64.whl (1.6 MB) Requirement already satisfied: greenlet!=0.4.17 in c:\programdata\anaconda3\lib\site-packages (from sqlalchemy->mlflow->pycaret) (0.4.13) Requirement already satisfied: Werkzeug>=2.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from Flask->mlflow->pycaret) (2.0.3) Requirement already satisfied: itsdangerous>=2.0 in c:\users\zhong\appdata\roaming\python\python36\site-packages (from Flask->mlflow->pycaret) (2.0.1) Collecting prometheus-client Using cached prometheus_client-0.16.0-py3-none-any.whl (122 kB) Requirement already satisfied: smmap<6,>=3.0.1 in c:\programdata\anaconda3\lib\site-packages (from gitdb<5,>=4.0.1->gitpython>=2.1.0->mlflow->pycaret) (5.0.0) Requirement already satisfied: Send2Trash in c:\programdata\anaconda3\lib\site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (1.5.0) Requirement already satisfied: pyzmq>=17 in c:\programdata\anaconda3\lib\site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (17.0.0) Requirement already satisfied: terminado>=0.8.1 in c:\programdata\anaconda3\lib\site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (0.8.1) Requirement already satisfied: nbconvert in c:\programdata\anaconda3\lib\site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (5.3.1) Requirement already satisfied: PyWavelets in c:\programdata\anaconda3\lib\site-packages (from imagehash->visions[type_image_path]==0.7.4->pandas-profiling>=2.8.0->pycaret) (0.5.2) Requirement already satisfied: mistune>=0.7.4 in c:\programdata\anaconda3\lib\site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (0.8.3) Requirement already satisfied: bleach in c:\programdata\anaconda3\lib\site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (2.1.3) Requirement already satisfied: pandocfilters>=1.4.1 in c:\programdata\anaconda3\lib\site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (1.4.2) Requirement already satisfied: testpath in c:\programdata\anaconda3\lib\site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (0.3.1) Requirement already satisfied: html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre in c:\programdata\anaconda3\lib\site-packages (from bleach->nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (1.0.1) Requirement already satisfied: webencodings in c:\programdata\anaconda3\lib\site-packages (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach->nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets->pycaret) (0.5.1) Installing collected packages: scipy, pandas, networkx, murmurhash, multimethod, joblib, cymem, attrs, websocket-client, wasabi, visions, tqdm, tabulate, srsly, sqlalchemy, pywin32, pyjwt, prometheus-client, preshed, plac, Mako, imagehash, gitdb, catalogue, blis, waitress, thinc, querystring-parser, pyyaml, pynndescent, prometheus-flask-exporter, phik, missingno, htmlmin, gitpython, future, funcy, docker, databricks-cli, Cython, colorlover, alembic, yellowbrick, umap-learn, textblob, spacy, scikit-plot, pyod, pyLDAvis, pandas-profiling, mlxtend, mlflow, lightgbm, kmodes, imbalanced-learn, gensim, cufflinks, Boruta, pycaret Attempting uninstall: scipy Found existing installation: scipy 1.5.0 Uninstalling scipy-1.5.0: Successfully uninstalled scipy-1.5.0 Attempting uninstall: pandas Found existing installation: pandas 1.1.0 Uninstalling pandas-1.1.0: Successfully uninstalled pandas-1.1.0
BUT
import time import numpy as np import pandas as pd
from pycaret.datasets import get_data from pycaret.time_series import TSForecastingExperiment
ModuleNotFoundError Traceback (most recent call last)
Still same answer: Your pip
seems running on 3.6, you have a second python install, use python -mpip
instead and/or figure out what is weird about the Python install.
pip install pycaret==3.0 --user
Note: you may need to restart the kernel to use updated packages. ERROR: Could not find a version that satisfies the requirement pycaret==3.0 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 0.0.23, 0.0.24, 0.0.25, 0.0.26, 0.0.27, 0.0.28, 0.0.29, 0.0.30, 0.0.31, 0.0.32, 0.0.33, 0.0.34, 0.0.35, 0.0.36, 0.0.37, 0.0.38, 0.0.39, 0.0.40, 0.0.41, 0.0.43, 0.0.44, 0.0.45, 0.0.46, 0.0.47, 0.0.48, 0.0.49, 0.0.50, 0.0.51, 0.0.52, 0.0.53, 0.0.54, 0.0.55, 0.0.56, 0.0.57, 0.0.58, 0.0.59, 0.0.60, 1.0.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.2, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10) ERROR: No matching distribution found for pycaret==3.0
Why this one will be closed?
Still same answer: Your
pip
seems running on 3.6, you have a second python install, usepython -mpip
instead and/or figure out what is weird about the Python install.
My Python is 3.9.12
But the pip
executable that you get when you run pip install pycaret==3.0 --user
is not using that Python 3.9.12. You seem to have several Python installations on your system. You will have to disentangle that yourself.
This issue is closed because there is nothing that the numpy team can change in numpy to help fix your problem.
I uninstalled anaconda and reinstalled it. Then PyCaret works. Thank you all for the kind help.
Describe the issue:
Tried to install Pycaret on Python 3.9.12 but it needs to install an older version of NymPy==1.16.6 and can not be installed successfully.
Reproduce the code example:
Error message:
Runtime information:
import time import numpy as np import pandas as pd
from pycaret.datasets import get_data from pycaret.time_series import TSForecastingExperiment
Context for the issue:
ModuleNotFoundError Traceback (most recent call last)