prophet icon indicating copy to clipboard operation
prophet copied to clipboard

I am a beginner and I do not know How to solve this Error

Open SrijonCodeist opened this issue 1 year ago • 5 comments

Solving environment:
Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. Building graph of deps: 0%| | 0/5 [00:00<?, ?it/s]\Examining @/win-64::__cuda==12.3=0: 100%|████████████████████████████████████████████████| 5/5 [00:10<00:00, 2.24s/it]\failed

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Specifications:

  • fbprophet -> python[version='2.7.|3.5.|3.6.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']

Your python: python=3.9

If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.

SrijonCodeist avatar May 07 '24 21:05 SrijonCodeist

tried the """conda install -c conda-forge fbprophet""" and this is the result

SrijonCodeist avatar May 07 '24 21:05 SrijonCodeist

does your problem solved

hariraja2007 avatar May 17 '24 16:05 hariraja2007

Hi @SrijonCodeist,

It looks like fbprophet is incompatible with Python 3.9. You can resolve this by creating a new conda environment with Python 3.8. Here’s how:

Create a new environment with Python 3.8: conda create -n fbprophet_env python=3.8

Activate the environment: conda activate fbprophet_env

Install fbprophet: conda install -c conda-forge fbprophet

This should resolve the compatibility issue.

Aizawa-Shun avatar Jun 10 '24 10:06 Aizawa-Shun

Hi @SrijonCodeist , I had the same error as you. You just need to use python 3.8

You can do this by creating a new virtual environment

conda create -n new_env_name python=3.8

You can read more about conda here

kyrolloszakaria avatar Jun 11 '24 10:06 kyrolloszakaria

You should use the Prophet package instead of fbprophet, which has been deprecated for a while now. It's nearly a drop-in replacement for the "old" version.

Prophet is on PyPI, so you can use pip to install it.

From the README:

python -m pip install prophet
  • From v0.6 onwards, Python 2 is no longer supported.
  • As of v1.0, the package name on PyPI is "prophet"; prior to v1.0 it was "fbprophet".
  • As of v1.1, the minimum supported Python version is 3.7.

After installation, you can get started!

Anaconda

Prophet can also be installed through conda-forge.

conda install -c conda-forge prophet

imad24 avatar Jun 11 '24 11:06 imad24