fresh install of manjaro pythin install fails (2)



  • Where is an edit button for posts?

    2 cd /tmp
    3 git clone "https://github.com/xflux-gui/fluxgui.git"
    4 cd fluxgui/
    5 python download-xflux.py
    6 sudo python setup.py install

    running install
    running build
    running build_py
    running build_scripts
    Traceback (most recent call last):
    File "/usr/lib/python3.6/tokenize.py", line 390, in find_cookie
    line_string = line.decode('utf-8')
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 24: invalid start byte

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "setup.py", line 55, in <module>
    the day""",
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
    File "/usr/lib/python3.6/distutils/command/install.py", line 545, in run
    self.run_command('build')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
    File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
    File "/usr/lib/python3.6/distutils/command/build_scripts.py", line 50, in run
    self.copy_scripts()
    File "/usr/lib/python3.6/distutils/command/build_scripts.py", line 82, in copy_scripts
    encoding, lines = tokenize.detect_encoding(f.readline)
    File "/usr/lib/python3.6/tokenize.py", line 431, in detect_encoding
    encoding = find_cookie(first)
    File "/usr/lib/python3.6/tokenize.py", line 395, in find_cookie
    raise SyntaxError(msg)
    SyntaxError: invalid or missing encoding declaration for 'xflux'


Log in to reply
 

Looks like your connection to f.lux forum was lost, please wait while we try to reconnect.