Home/Support/Support Forum/'import site' failed; use -v for traceback
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

'import site' failed; use -v for traceback

0 votes
Hello everyone,
I am trying to develop application on WR31 and I got this issue when compiling this error.
ss507079>'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "Test.py", line 1, in <module>
import socket
ImportError: No module named socket

I do not know what I did wrong accidentally. Can someone help me out ?
Thank you
asked May 17, 2017 in 3rd Party Python and API development in other Languages by kiet New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes

this looks like you have tried to modify the python library path in correctly
answered May 24, 2017 by James.Wilson Veteran of the Digi Community (1,227 points)