Traceback (most recent call last):


 "/snap/microk8s/1864/scripts/wrappers/enable.py", line 43, in <module>

enable(prog_name='microk8s enable')


 "/snap/microk8s/1864/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__

return self.main(*args, **kwargs)


 "/snap/microk8s/1864/usr/lib/python3/dist-packages/click/core.py", line 675, in main

_verify_python3_env()


 "/snap/microk8s/1864/usr/lib/python3/dist-packages/click/_unicodefun.py", line 119, in _verify_python3_env

'mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment.
Either run this under Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.

Traceback (most recent call last):


 "enjoy.py", line 80, in <module>

obs, recurrent_hidden_states, masks, deterministic=args.det)


 ".../pytorch-a2c-ppo-acktr-gail/a2c_ppo_acktr/model.py", line 55, in act

value, actor_features, rnn_hxs = self.base(inputs, rnn_hxs, masks)


 "/home/..../anaconda3/envs/pytorch-a2c/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "..../pytorch-a2c-ppo-acktr-gail/a2c_ppo_acktr/model.py", line 226, in forward

hidden_critic = self.critic(x)


 "..../anaconda3/envs/pytorch-a2c/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "..../anaconda3/envs/pytorch-a2c/lib/python3.7/site-packages/torch/nn/modules/container.py", line 117, in forward

input = module(input)


 "..../anaconda3/envs/pytorch-a2c/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "..../anaconda3/envs/pytorch-a2c/lib/python3.7/site-packages/torch/nn/modules/linear.py", line 93, in forward

return F.linear(input, self.weight, self.bias)


 "..../anaconda3/envs/pytorch-a2c/lib/python3.7/site-packages/torch/nn/functional.py", line 1690, in linear

ret = torch.addmm(bias, input, weight.t())
RuntimeError: Tensor for argument #2 'mat1' is on CPU, but expected it to be on GPU (while checking arguments for addmm)