Closed Mattia98 closed 4 years ago
Yeah, you're missing something ;-)
Reading between the lines of your report, it looks like you ran pip install
as yourself, then sudo nxBender
to run it, right?
The problem with that is, pip install
will have installed the dependencies to your ~
. So if you run nxBender
as yourself, Python will find the dependencies. But if you run as root, it won't look in your ~
, and so it won't find them.
The best way to install it is actually to use the setup.py
- I've updated the README to reflect this. You can do sudo pip3 install .
, and then you should get an nxBender
executable on your PATH
. This will also avoid any shebang issues.
The shebangs are correct for the modern distros I use, ie. where /usr/bin/python
has been either Python2 or Python3 according to the user's preference. That said, I don't intend to support Py2 anymore, so changing them to python3
would be eminently reasonable.
Yes, you where right. I deleted the installation and cloned it back down and ran the setup.py as root like you suggested. That works for me.
For me right now running python
does nothing. There is a package though that adds a symlink to python3.
$ python
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3
Anyway, thank you very much for this. The official client is just a PITA.
Thanks for the info! And I'm glad you find the tool useful :)
On 29 April 2020 2:01:18 am Mattia98 notifications@github.com wrote:
Yes, you where right. I deleted the installation and cloned it back down and ran the setup.py as root like you suggested. That works for me. For me right now running python does nothing. There is a package though that adds a symlink to python3. $ python Command 'python' not found, did you mean: command 'python3' from deb python3 command 'python' from deb python-is-python3 Anyway, thank you very much for this. The official client is just a PITA. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, I'm trying to get this running on aarch64 Ubuntu on a RPI4 (not sure if that's the cause) - I'm getting an exit code 1
INFO Logging in... INFO Starting session... INFO Dialing up tunnel... ERROR pppd exited with code 1 INFO Shutting down...
any help would be appreciated - works quite well on my laptop on x86_64 Thank You!
Since Ubuntu 20.04 deprecated python2 it is no longer shipped and the paths are different. pip is now pip3 and python is now python3. Also, after changing the shebang and launching the program I get:
ModuleNotFoundError: No module named 'configargparse'
Am I missing something or is this project just not python3 ready?
Here pip output for completeness