[Solved]Setting path, Help please
-
This post is deleted!
-
@Rudy-Trujillo from your syntax it seems that you are using python 3. Currently the python library is written in python 2, so you will need to use
2to3
tool to convert it into python, and move to the corresponding directory under/usr/lib
.Here's a link to automated python 2 to python 3 code conversion: https://docs.python.org/2/library/2to3.html.
-
This post is deleted!
-
@Rudy-Trujillo Try running it like this:
PYTHONHOME=/usr/lib/python2.7 python2 TestRelay.py
-
This post is deleted!
-
@Rudy-Trujillo Can you post the content of your python file? I am not quite sure what is the
site
module that it is referring to here.
-
This post is deleted!
-
This post is deleted!
-
@Rudy-Trujillo Yeah, really strange. It runs alright on mine. Let me know if it runs when you start from scratch.
-
This post is deleted!