Traceback (most recent call last):


 "/home/babis/Desktop/rais/web/rais/manage.py", line 21, in <module>

main()


 "/home/babis/Desktop/rais/web/rais/manage.py", line 17, in main

execute_from_command_line(sys.argv)


 "/home/babis/.virtualenvs/webEnv38/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line

utility.execute()


 "/home/babis/.virtualenvs/webEnv38/lib/python3.8/site-packages/django/core/management/__init__.py", line 377, in execute

django.setup()


 "/home/babis/.virtualenvs/webEnv38/lib/python3.8/site-packages/django/__init__.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)


 "/home/babis/.virtualenvs/webEnv38/lib/python3.8/site-packages/django/apps/registry.py", line 83, in populate

raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant

Traceback (most recent call last):


 "mwe_sgpr_fantasy.py", line 31, in <module>

model = model.get_fantasy_model(torch.randn((1,5)).to("cpu"), torch.randn((1)).to("cpu"))


 "/home/user/miniconda3/lib/python3.7/site-packages/gpytorch/models/exact_gp.py", line 173, in get_fantasy_model

new_model = deepcopy(self)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 180, in deepcopy

y = _reconstruct(x, memo, *rv)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 280, in _reconstruct

state = deepcopy(state, memo)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 150, in deepcopy

y = copier(x, memo)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 240, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 180, in deepcopy

y = _reconstruct(x, memo, *rv)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 306, in _reconstruct

value = deepcopy(value, memo)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 180, in deepcopy

y = _reconstruct(x, memo, *rv)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 280, in _reconstruct

state = deepcopy(state, memo)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 150, in deepcopy

y = copier(x, memo)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 240, in _deepcopy_dict

y[deepcopy(key, memo)] = deepcopy(value, memo)


 "/home/user/miniconda3/lib/python3.7/copy.py", line 161, in deepcopy

y = copier(memo)


 "/home/user/miniconda3/lib/python3.7/site-packages/torch/tensor.py", line 23, in __deepcopy__

raise RuntimeError("Only Tensors created explicitly by the user "
RuntimeError: Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment
