prophet icon indicating copy to clipboard operation
prophet copied to clipboard

prophet 1.0.1 install error

Open guang7400613 opened this issue 3 years ago • 3 comments

prophet 1.0.1 never install properly,The error is as follows

Building wheels for collected packages: prophet Building wheel for prophet (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'D:\SoftwareInstall\Anaconda3.8\envs\py38_darts_pytorch1.8\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dzg\AppData\Local\Temp\pip-install-jjcqtrtc\prophet_3c32c81d84de4be48e4a9462e31a4a73\setup.py'"'"'; file='"'"'C:\Users\dzg\AppData\Local\Temp\pip-install-jjcqtrtc\prophet_3c32c81d84de4be48e4a9462e31a4a73\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\dzg\AppData\Local\Temp\pip-wheel-mkife7kd' cwd: C:\Users\dzg\AppData\Local\Temp\pip-install-jjcqtrtc\prophet_3c32c81d84de4be48e4a9462e31a4a73
Complete output (11 lines): running bdist_wheel running build running build_py creating build creating build\lib creating build\lib\prophet creating build\lib\prophet\stan_model Importing plotly failed. Interactive plots will not work. INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_f5236004a3fd5b8429270d00efcc0cf9 NOW. WARNING:pystan:MSVC compiler is not supported error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Failed building wheel for prophet Running setup.py clean for prophet Failed to build prophet Installing collected packages: prophet Running setup.py install for prophet ... error

guang7400613 avatar Apr 06 '22 15:04 guang7400613

I've installed prophet 1.0.1 using below url https://test.pypi.org/project/prophet/#files

rahul4tripathi2 avatar Apr 22 '22 05:04 rahul4tripathi2

See https://github.com/facebook/prophet/issues/2107#issuecomment-1133927696

tcuongd avatar May 22 '22 17:05 tcuongd

This has been resolved in prophet 1.1. You can now pip install prophet directly from PyPI

akosfurton avatar Jun 27 '22 14:06 akosfurton