-
Notifications
You must be signed in to change notification settings - Fork 300
Description
I'm using Auto-PyTorch to do time series forecasting and employing in google colab and also in IDLE. In google colab, I encountered this error:
OSError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from autoPyTorch.api.time_series_forecasting import TimeSeriesForecastingTask
39 frames
/usr/lib/python3.10/ctypes/init.py in init(self, name, mode, handle, use_errno, use_last_error, winmode)
372
373 if handle is None:
--> 374 self._handle = _dlopen(self._name, mode)
375 else:
376 self._handle = handle
OSError: /usr/local/lib/python3.10/dist-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZNK3c107SymBool10guard_boolEPKcl
And also, using and eploying in IDLE, I encoutered this error:
Traceback (most recent call last):
File "C:\Users\rosta\OneDrive\Desktop\Auto-PyTorch.py", line 5, in
from autoPyTorch.api.time_series_forecasting import TimeSeriesForecastingTask
File "C:\Users\rosta\AppData\Roaming\Python\Python37\site-packages\autoPyTorch\api\time_series_forecasting.py", line 7, in
from autoPyTorch.api.base_task import BaseTask
File "C:\Users\rosta\AppData\Roaming\Python\Python37\site-packages\autoPyTorch\api\base_task.py", line 53, in
from autoPyTorch.ensemble.ensemble_builder import EnsembleBuilderManager
File "C:\Users\rosta\AppData\Roaming\Python\Python37\site-packages\autoPyTorch\ensemble\ensemble_builder.py", line 24, in
import pynisher
File "C:\Users\rosta\AppData\Roaming\Python\Python37\site-packages\pynisher_init_.py", line 1, in
from pynisher.limit_function_call import * # noqa
File "C:\Users\rosta\AppData\Roaming\Python\Python37\site-packages\pynisher\limit_function_call.py", line 2, in
import resource
ModuleNotFoundError: No module named 'resource'
Is there anyone to help me? I don't really know how to solve it?