Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/python_jsonrpc_server-0.3.4-py3.7.egg/pyls_jsonrpc/endpoint.py", line 113, in consume

self._handle_request(message['id'], message['method'], message.get('params'))


 "/usr/local/lib/python3.7/site-packages/python_jsonrpc_server-0.3.4-py3.7.egg/pyls_jsonrpc/endpoint.py", line 182, in _handle_request

handler_result = handler(params)


 "/usr/local/lib/python3.7/site-packages/python_jsonrpc_server-0.3.4-py3.7.egg/pyls_jsonrpc/dispatchers.py", line 23, in handler

return method(**(params or {}))


 "/Users/daniel-mbp/python-language-server/pyls/python_ls.py", line 345, in m_text_document__completion

return self.completions(textDocument['uri'], position)


 "/Users/daniel-mbp/python-language-server/pyls/python_ls.py", line 259, in completions

completions = self._hook('pyls_completions', doc_uri, position=position)


 "/Users/daniel-mbp/python-language-server/pyls/python_ls.py", line 175, in _hook

return hook_handlers(config=self.config, workspace=workspace, document=doc, **kwargs)


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/hooks.py", line 286, in __call__

return self._hookexec(self, self.get_hookimpls(), kwargs)


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/manager.py", line 92, in _hookexec

return self._inner_hookexec(hook, methods, kwargs)


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/manager.py", line 335, in traced_hookexec

return outcome.get_result()


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/callers.py", line 80, in get_result

raise ex[1].with_traceback(ex[2])


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/callers.py", line 52, in from_call

result = func()


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/manager.py", line 333, in <lambda>

outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/manager.py", line 86, in <lambda>

firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/callers.py", line 208, in _multicall

return outcome.get_result()


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/callers.py", line 80, in get_result

raise ex[1].with_traceback(ex[2])


 "/usr/local/lib/python3.7/site-packages/pluggy-0.13.0-py3.7.egg/pluggy/callers.py", line 187, in _multicall

res = hook_impl.function(*args)


 "/Users/daniel-mbp/python-language-server/pyls/plugins/jedi_completion.py", line 61, in pyls_completions

completions = document.jedi_script().complete(**code_position)


 "/usr/local/lib/python3.7/site-packages/jedi/api/helpers.py", line 487, in wrapper

return func(self, line, column, *args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/jedi/api/__init__.py", line 275, in complete

return self._complete(line, column, **kwargs)


 "/usr/local/lib/python3.7/site-packages/jedi/api/__init__.py", line 283, in _complete

return completion.complete()


 "/usr/local/lib/python3.7/site-packages/jedi/api/completion.py", line 172, in complete

cached_name, completion_names = self._complete_python(leaf)


 "/usr/local/lib/python3.7/site-packages/jedi/api/completion.py", line 283, in _complete_python

cached_name, n = self._complete_trailer(dot.get_previous_leaf())


 "/usr/local/lib/python3.7/site-packages/jedi/api/completion.py", line 393, in _complete_trailer

if len(v.string_names) == 1:
AttributeError: 'CompiledValue' object has no attribute 'string_names'

Traceback (most recent call last):


 "quickstart.py", line 68, in <module>

main()


 "quickstart.py", line 33, in main

environment = Environment.create(environment='gym', level='CartPole-v1')


 "/home/oandrieu/env/tensorforce/lib64/python3.7/site-packages/tensorforce/environments/environment.py", line 89, in create

environment = tensorforce.environments.environments[environment](**kwargs)


 "/home/oandrieu/env/tensorforce/lib64/python3.7/site-packages/tensorforce/environments/openai_gym.py", line 160, in __init__

reward_threshold=reward_threshold, tags=tags, **kwargs


 "/home/oandrieu/env/tensorforce/lib64/python3.7/site-packages/tensorforce/environments/openai_gym.py", line 106, in create_level

tags = dict(gym.envs.registry.env_specs[level].tags)
AttributeError: 'EnvSpec' object has no attribute 'tags'
