Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test script does not run well #6

Open
AlexanderSGH opened this issue Dec 26, 2017 · 0 comments
Open

Test script does not run well #6

AlexanderSGH opened this issue Dec 26, 2017 · 0 comments

Comments

@AlexanderSGH
Copy link

AlexanderSGH commented Dec 26, 2017

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'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant