Merhabalar,
fbprophet kütüphanesini kurarken hata veriyor. Bir yararı olur mu bilmem ama aldığım hata bu
Building wheel for fbprophet (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\yldz\appdata\local\programs\python\python37\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\yldz\\AppData\\Local\\Temp\\pip-install-3wn8vv_h\\fbprophet_7fada484fc894d34ade86ac87fd374d1\\setup.py'"'"'; __file__='"'"'C:\\Users\\yldz\\AppData\\Local\\Temp\\pip-install-3wn8vv_h\\fbprophet_7fada484fc894d34ade86ac87fd374d1\\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\yldz\AppData\Local\Temp\pip-wheel-qwps1s8o'
cwd: C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\
Complete output (44 lines):
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 1, in <module>
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\setup.py", line 149, in <module>
long_description_content_type='text/markdown',
File "c:\users\yldz\appdata\local\programs\python\python37\lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\yldz\appdata\local\programs\python\python37\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\setup.py", line 48, in run
build_models(target_dir)
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\setup.py", line 36, in build_models
from fbprophet.models import StanBackendEnum
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\fbprophet\__init__.py", line 8, in <module>
from fbprophet.forecaster import Prophet
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\fbprophet\forecaster.py", line 17, in <module>
from fbprophet.make_holidays import get_holiday_names, make_holidays_df
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\fbprophet\make_holidays.py", line 14, in <module>
import fbprophet.hdays as hdays_part2
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\fbprophet\hdays.py", line 13, in <module>
from convertdate.islamic import from_gregorian, to_gregorian
ModuleNotFoundError: No module named 'convertdate'
----------------------------------------
ERROR: Failed building wheel for fbprophet
Running setup.py clean for fbprophet
Building wheel for pymeeus (setup.py) ... done
Created wheel for pymeeus: filename=PyMeeus-0.5.11-py3-none-any.whl size=730973 sha256=ffe05cb370f80d63d590efd8c4846eb9f40bdf7103cdf19c3958a93de80227e9
Stored in directory: c:\users\yldz\appdata\local\pip\cache\wheels\33\6b\a6\1d9dae2323750f635654952afc74aa8f2d982cded163f43895
Successfully built pymeeus
Failed to build fbprophet
Installing collected packages: pymeeus, korean-lunar-calendar, hijri-converter, ephem, Cython, convertdate, setuptools-git, pystan, LunarCalendar, holidays, cmdstanpy, fbprophet
Running setup.py install for fbprophet ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\yldz\appdata\local\programs\python\python37\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\yldz\\AppData\\Local\\Temp\\pip-install-3wn8vv_h\\fbprophet_7fada484fc894d34ade86ac87fd374d1\\setup.py'"'"'; __file__='"'"'C:\\Users\\yldz\\AppData\\Local\\Temp\\pip-install-3wn8vv_h\\fbprophet_7fada484fc894d34ade86ac87fd374d1\\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'"'"'))'
install --record 'C:\Users\yldz\AppData\Local\Temp\pip-record-n5kpk_m2\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\yldz\appdata\local\programs\python\python37\Include\fbprophet'
cwd: C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\
Complete output (44 lines):
running install
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 1, in <module>
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\setup.py", line 149, in <module>
long_description_content_type='text/markdown',
File "c:\users\yldz\appdata\local\programs\python\python37\lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\yldz\appdata\local\programs\python\python37\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\yldz\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\setup.py", line 48, in run
build_models(target_dir)
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\setup.py", line 38, in build_models
StanBackendEnum.get_backend_class(backend).build_model(target_dir, MODEL_DIR)
File "C:\Users\yldz\AppData\Local\Temp\pip-install-3wn8vv_h\fbprophet_7fada484fc894d34ade86ac87fd374d1\fbprophet\models.py", line 209, in build_model
File "c:\users\yldz\appdata\local\programs\python\python37\lib\site-packages\pystan\__init__.py", line 9, in <module>
from pystan.api import stanc, stan
File "c:\users\yldz\appdata\local\programs\python\python37\lib\site-packages\pystan\api.py", line 13, in <module>
import pystan._api # stanc wrapper
ImportError: DLL load failed: Belirtilen modül bulunamadı.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\yldz\appdata\local\programs\python\python37\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\yldz\\AppData\\Local\\Temp\\pip-install-3wn8vv_h\\fbprophet_7fada484fc894d34ade86ac87fd374d1\\setup.py'"'"'; __file__='"'"'C:\\Users\\yldz\\AppData\\Local\\Temp\\pip-install-3wn8vv_h\\fbprophet_7fada484fc894d34ade86ac87fd374d1\\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'"'"'))' install --record 'C:\Users\yldz\AppData\Local\Temp\pip-record-n5kpk_m2\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\yldz\appdata\local\programs\python\python37\Include\fbprophet' Check the logs for full command output.
yardımcı olursanız çok sevinirim : )