SyntaxError on progress module

Mark Lawrence breamoreboy at yahoo.co.uk
Tue May 26 11:59:01 EDT 2015


On 26/05/2015 16:48, alb wrote:
> Hi everyone,
>
> I've installed the 'progress' module (ver 1.2) and I have the following
> error when used:
>
>    File "/home/debian/repos/2418_IASI-NG/Documents/Tools/tex_tool/venv/local/lib/python3.2/site-packages/progress/bar.py", line 48
>      empty_fill = u'∙'
>                        ^
> SyntaxError: invalid syntax
>
> I believe I have some problems with unicode handling but it's just a
> rough guess.
>
> I'm running in a virtual environment with python3.2 with the following
> configuration:
>
> (venv)debian at debian:tex_tool$ pip list
> pip (7.0.1)
> progress (1.2)
> pypandoc (0.9.7)
> setuptools (15.0)
>
> Any suggestions/comments/pointer is appreciated.
>
> Al
>

Python 3.0 removed the 'u' for unicode in front of strings but due to 
popular demand to ease porting it was reinstated in 3.3.  Strip it away 
and you should be fine to go.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list