-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to process due to 'invalid syntax' #11
Comments
Hello, Thanks for giving flap a try. From the top of my head, I don't have a clue about what may cause that. I will look at this week, and let you know as soon as I find a fix. |
I installed a fresh Debian 8.2 Jessie (Linux 3.16.0-4-amd64) on a virtualbox, but I was not able to reproduce your issue (I installed Python 3.4.2 using Apt). Could you tell what version of FLaP you tried to install and which version of python you are using? |
Franck Chauvel [email protected] writes:
Thanks Franck, my python version is 2.7.9-1 which is the only one --8<---------------cut here---------------start------------->8--- flap = --8<---------------cut here---------------start------------->8--- Does this help? Sharon.A taste of linux = http://www.sharons.org.uk |
I managed to reproduce the error you have, when I ran FLaP using Python 2.7.9. As FLaP was written for Python 3 in the first place, I suggest to upgrade as a quick fix. Unfortunately, I will not have time to port FLaP to Python 2 in the following months. By the way, I currently have both Python 2 and 3 on the same Debian Jessie (I used to switch using virtual environments). I installed Python 3 on Jessie from the official repositories (see https://packages.debian.org/jessie/python3-all). Just let me know if you still face the same issue using Python 3. |
Franck Chauvel [email protected] writes:
Thanks Franck. It turns out that I do have python3 already installed, Anyway I tried to use python3 with flap and it said that flap wasn't --8<---------------cut here---------------start------------->8--- I could maybe uninstall flap - --8<---------------cut here---------------start------------->8--- but then, how do I install it just for python3? If I manually remove it Any ideas please? Thanks Sharon.A taste of linux = http://www.sharons.org.uk |
I'm using virtualenv. It creates local installations of python, where one can install packages without installing them for all other projects or users. From memory, the sequence of commands to use is something like:
The third command creates the Hope this helps. |
When trying to run flap on a fully uptodate debian jessie, it consistently fails with this error report -
It makes no difference if I try with
python3
orsudo python3
orsudo python
it just fails with above error report.The text was updated successfully, but these errors were encountered: