Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build wheel for fbprophet while trying to install Kats in Win 10 #71

Closed
kunalrayind opened this issue Jun 30, 2021 · 10 comments
Closed

Comments

@kunalrayind
Copy link

  1. My environment is Win 10, with conda 4.9.2 and Python 3.7.6
  2. While trying to install Kats (pip install kats), I am getting the error: Building wheel for fbprophet (setup.py) ... error
  3. More lines from the error message are in attached file
    Kats_error.txt
  4. I had an older working fbprophet, faced same errors in trying to upgrade (pip install --upgrade fbprophet).
  5. Anybody know how to fix this?
@sathish331977
Copy link

fails with ERROR: Failed building wheel for fbprophet on ubuntu (20.04)

@MoKazemi9
Copy link
Contributor

Hi @kunalrayind @sathish331977 , thank you for the issue, please see:
#49

@kunalrayind
Copy link
Author

Thanks MoKazemi9, but following the suggested steps did not solve my problem.
It seems the problem is not with pystan or gcc.
Please note that fbprophet installed successfully (version 0.7.1)
I am putting the error lines below:
File "D:\Anaconda3\lib\site-packages\setuptools\msvc.py", line 1623, in return_env
if self.vs_ver >= 14 and isfile(self.VCRuntimeRedist):
File "D:\Anaconda3\lib\genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
----------------------------------------
ERROR: Failed building wheel for fbprophet
Running setup.py clean for fbprophet
Failed to build fbprophet

@yqstar
Copy link

yqstar commented Jul 3, 2021

fails with ERROR: Failed building wheel for fbprophet on macos

1 similar comment
@sunmichace
Copy link

fails with ERROR: Failed building wheel for fbprophet on macos

@sunmichace
Copy link

same error
env:
macos m1
python3.8

@stonebb
Copy link

stonebb commented Aug 12, 2021

win10,python 3.8.10 . conda

pytho3.6 不OK,因为会有from future import annotations,,,
所以做了新镜像 conda create --name kats python=3.8
如果直接安装kats会有问题:
其中主要为ERROR: Failed building wheel for fbprophet

因此先进行fbprophet安装,其中需要首先按照pystan,采用conda 安装
python -m pip install -U pip
conda install -c conda-forge pystan
pip install fbprophet

安装完成done,但是依赖库中文件有缺失,然后将github上kats文件中源代码放入所在依赖库

@GXY2017
Copy link

GXY2017 commented Oct 8, 2021

Python 3.7.10 | packaged by conda-forge | (default, Oct 5 2021, 16:32:37) [MSC v.1916 64 bit (AMD64)] on win32

Update: As far as I know, it's not the Kats issue though I did not solve it yet on my pc.
It is problem when installing pystan and scipy.
I followed the steps inside the page to install pystan , I used conda install in all steps, including the 1st step to install "mingw-w64 compiler". But got error "WARNING:pystan:MSVC compiler is not supported".

@michaelbrundage
Copy link
Contributor

Kats is now on 0.2.0. Resolving old 0.1.0 installation issues.

@yqstar
Copy link

yqstar commented Apr 12, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants