Opened 2 years ago

Closed 8 months ago

#19146 closed defect (worksforme)

arm/nyx doesn't install on systems with python3.x by default

Reported by: vynX Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Nyx Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

./install fails with this super-cryptic output:

print "TorCtl successfully installed"


SyntaxError: invalid syntax

The hotfix was to edit the install script and
put "python2" instead of "python". Other distros
of course may need it differently and I was told
there is a way of supporting python versions
properly.

Also, it is a bit rough style to install into /usr
as if it was an apt-get. Manually installed stuff
usually goes to /usr/local to not confuse the package
management of whatever OS. In my case I would have
wanted to provide my own prefix.

Child Tickets

Change History (2)

comment:1 Changed 2 years ago by atagar

Hi vynX, the arm 1.4.5 release didn't support python 3.x. It was impossible at the time because TorCtl (its dependency) didn't either, but the upcoming nyx release later will. Stay tuned.

Manually installed stuff usually goes to /usr/local to not confuse the package management of whatever OS.

Interesting. Keeping this open to give this bit a little more thought when we get to overhauling the setup.py.

comment:2 Changed 8 months ago by atagar

Resolution: worksforme
Status: newclosed

Sorry about the long delay. Nyx's setup.py doesn't hardcode any paths. It defers to python's normal installation mechanism for its bin path. Feel free to reopen if you need anything else.

Note: See TracTickets for help on using tickets.