Menu

#100 Python Version

v2
open
nobody
python (1)
1
2018-06-23
2018-06-17
No

Hi - trying to install FileLocker v2.6.1 and when running:

"python setup.py -h" I get

"File "setup.py", line 45
except Exception, e:
^
SyntaxError: invalid syntax
"

I have python 3.6 on ARM. Does FL need an older version of python (2.x) to run?

Related

Bugs: #100

Discussion

  • shane garnetti

    shane garnetti - 2018-06-22

    I have it runnining on Centos 7 with python 2.7.5 successfully. May I ask why you need the "-h" flag? The "-i" option will create your MySQL tables needed for install. Are you running this as root or with "sudo" preceding the "python setup.py" command? Also what version of cherrypy do you have?

     
  • Craig Harding

    Craig Harding - 2018-06-23

    Trying to see the options for the command. I have not idea what all the command line options are so I'm using that option which is pretty reconizable for seeing what the options are. Initially I'm just trying to make sure it works.
    I don't have cherrypy installed.
    The above error tells me it's a python syntax error upfront.

     
    • shane garnetti

      shane garnetti - 2018-06-23

      Maybe try using an older version of python like 2.7.5 on another test machine. Also, filelocker requires cherrypy to run as well so you will need to install that eventually. I have cherrypy 3.2.2 installed on my machine.

      Shane Garnetti
      Web Application Server Administrator

      Eastern Washington University

      email: sgarnetti76@ewu.edusgarnetti76@ewu.edu

      phone: 509-359-2019

      On Jun 23, 2018, at 04:28, Craig Harding charding@users.sourceforge.net<mailto:charding@users.sourceforge.net> wrote:

      Trying to see the options for the command. I have not idea what all the command line options are so I'm using that option which is pretty reconizable for seeing what the options are. Initially I'm just trying to make sure it works.
      I don't have cherrypy installed.
      The above error tells me it's a python syntax error upfront.


      [bugs:#100]https://sourceforge.net/p/filelocker2/bugs/100/ Python Version

      Status: open
      Group: v2
      Labels: python
      Created: Sun Jun 17, 2018 05:54 PM UTC by Craig Harding
      Last Updated: Fri Jun 22, 2018 03:42 PM UTC
      Owner: nobody

      Hi - trying to install FileLocker v2.6.1 and when running:

      "python setup.py -h" I get

      "File "setup.py", line 45
      except Exception, e:
      ^
      SyntaxError: invalid syntax
      "

      I have python 3.6 on ARM. Does FL need an older version of python (2.x) to run?


      Sent from sourceforge.nethttp://sourceforge.net because you indicated interest in https://sourceforge.net/p/filelocker2/bugs/100/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #100


Log in to post a comment.