linux安装fbprophet出错 一直安装不上

问题遇到的现象和发生背景

本人用的腾讯云服务器 cenos7.9.4系统,安装python第三方库fbprophet的时候总是出错,安装不上。

问题相关代码,请勿粘贴截图

在成功安装好pystan等依赖包的前提下,用的pip安装的fbprophet
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple fbprophet

运行结果及报错内容
Building wheel for fbprophet (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [49 lines of output]
      /www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/dist.py:757: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please use the underscore name 'index_url' instead
        warnings.warn(
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib
      creating build/lib/fbprophet
      creating build/lib/fbprophet/stan_model
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-86s3wiwj/fbprophet_2b4dbbebc5e04f1da4a20eebe6b0de85/setup.py", line 122, in <module>
          setup(
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup
          return run_commands(dist)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
          dist.run_commands()
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
          self.run_command(cmd)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
          super().run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
          self.run_command('build')
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
          super().run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 136, in run
          self.run_command(cmd_name)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
          super().run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/tmp/pip-install-86s3wiwj/fbprophet_2b4dbbebc5e04f1da4a20eebe6b0de85/setup.py", line 48, in run
          build_models(target_dir)
        File "/tmp/pip-install-86s3wiwj/fbprophet_2b4dbbebc5e04f1da4a20eebe6b0de85/setup.py", line 38, in build_models
          StanBackendEnum.get_backend_class(backend).build_model(target_dir, MODEL_DIR)
        File "/tmp/pip-install-86s3wiwj/fbprophet_2b4dbbebc5e04f1da4a20eebe6b0de85/fbprophet/models.py", line 209, in build_model
          import pystan
      ModuleNotFoundError: No module named 'pystan'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fbprophet
  Running setup.py clean for fbprophet
Failed to build fbprophet
Installing collected packages: fbprophet
  Running setup.py install for fbprophet ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for fbprophet did not run successfully.
  │ exit code: 1
  ╰─> [53 lines of output]
      /www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/dist.py:757: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please use the underscore name 'index_url' instead
        warnings.warn(
      running install
      /www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib
      creating build/lib/fbprophet
      creating build/lib/fbprophet/stan_model
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-86s3wiwj/fbprophet_2b4dbbebc5e04f1da4a20eebe6b0de85/setup.py", line 122, in <module>
          setup(
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup
          return run_commands(dist)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
          dist.run_commands()
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
          self.run_command(cmd)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
          super().run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/command/install.py", line 68, in run
          return orig.install.run(self)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 670, in run
          self.run_command('build')
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
          super().run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 136, in run
          self.run_command(cmd_name)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
          super().run_command(command)
        File "/www/GYCT/prophet/Yuce_prophet_venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/tmp/pip-install-86s3wiwj/fbprophet_2b4dbbebc5e04f1da4a20eebe6b0de85/setup.py", line 48, in run
          build_models(target_dir)
        File "/tmp/pip-install-86s3wiwj/fbprophet_2b4dbbebc5e04f1da4a20eebe6b0de85/setup.py", line 38, in build_models
          StanBackendEnum.get_backend_class(backend).build_model(target_dir, MODEL_DIR)
        File "/tmp/pip-install-86s3wiwj/fbprophet_2b4dbbebc5e04f1da4a20eebe6b0de85/fbprophet/models.py", line 209, in build_model
          import pystan
      ModuleNotFoundError: No module named 'pystan'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> fbprophet

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
我的解答思路和尝试过的方法

解答思路:不知道是不是cenos系统的原因?
linux下安装fbprophet。

我想要达到的结果

能成功在linux下安装上fbprophet