-
Notifications
You must be signed in to change notification settings - Fork 75
Syntax Error #1
Comments
I'm unable recreate this on any version of Python from 2.5.0 to the 2.7 alphas. Which version of Python and vcprompt are you running? |
Python 2.6.4 and I'm using this version of vcprompt (http://github.com/xvzf/vcprompt/raw/master/bin/vcprompt); just downloaded it today. |
A few things to try:
Failing those, how is your prompt configured? |
Here's my config file. I've commented out the prompt with vcprompt for the moment, but it's still there. As a heads up, I'm using zsh.
|
Well, I'm stumped :( I'm pretty sure it's not a problem with vcprompt. I've tested on OS X, Ubuntu and FreeBSD Python builds and it worked without issue. Does Python still choke if you run a really simple script? Something like this should be enough:
If that doesn't work, then it may be a problem with your Python build but I have no idea what would cause it. |
I'm getting a pretty strange error:
I'm going to try tinkering with my copy of Python. |
Weird. It looks like vcprompt is being run as a shell script instead of a Python script. If you run |
Yeah, it seems to. |
Crazy. It's definitely not a syntax error in vcprompt (if it was, I'd also be seeing the error) but I'll leave this open for now. The only thing I can think of now is that Try hard-coding the path to your Python binary as the shebang line:
|
When I added vcprompt to my prompt, I keep seeing this error
The text was updated successfully, but these errors were encountered: