[Solved]Setting path, Help please
-
This post is deleted!
-
@Rudy-Trujillo Where are you placing your python modules now?
The shell we are using is called busybox (https://busybox.net), which is a combination of stripped down versions of many UNIX tools.
OpenWRT is actually a full version of Linux. It simply doesn't have some of the tools that makes Debian or CentOS so easy to use installed. With
rootfs
set up you can install some of these tools to make it into a more "extended" version of Linux.The Omega also supports FreeBSD. You can take a look at their tutorial here: https://github.com/freebsd/freebsd-wifi-build/wiki/Onion-Omega.
-
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!