Why am I getting this error message when I try to open Python? "Unexpected error ParseError:Invalid line at line "1"." [closed]

StackOverflow https://stackoverflow.com/questions/20199717

質問

How can I fix this. Python is currently unaccessible for me because of this error. Everytime that I click on my python icon to begin programming, the error message pops up, and it will not allow me to run the program.

役に立ちましたか?

解決 2

Known error, fixed in upcoming Canopy 1.2. Sorry!

Meantime, manual fix:

Delete preferences.ini file (which is corrupted). This file is located at:

Windows:

%APPDATA%\Enthought\Canopy

OSX or Linux:

~/.canopy

他のヒント

Here's a link to an Enthought Knowledge Base article re-iterating Jonathan March's solution:

https://support.enthought.com/entries/23097479-Restarting-Canopy-after-Unexpected-error-ParseError

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top