jsonsocket
jsonsocket copied to clipboard
Test script does not run well
Tried to run example script on python 3.6 Win 10 x64 and met next error:
Traceback (most recent call last):
File "<ipython-input-2-4804133fcaae>", line 1, in <module>
runfile('C:/Users/user/Desktop/json_test.py', wdir='C:/Users/user/Desktop')
File "C:\anaconda\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile
execfile(filename, namespace)
File "C:\anaconda\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/user/Desktop/json_test.py", line 1, in <module>
from jsonsocket import Client, Server
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 946, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 881, in _find_spec
File "<frozen importlib._bootstrap>", line 855, in _find_spec_legacy
File "C:\anaconda\lib\site-packages\pyximport\pyximport.py", line 253, in find_module
fp, pathname, (ext,mode,ty) = imp.find_module(fullname,package_path)
File "C:\anaconda\lib\imp.py", line 270, in find_module
"not {}".format(type(path)))
RuntimeError: 'path' must be None or a list, not <class '_frozen_importlib_external._NamespacePath'>