SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Fernando P. <fpe...@gm...> - 2011年11月17日 04:04:07
(master)longs[matplotlib]> python setup.py
 File "setup.py", line 281
 (float(i) / len(filtered) * 100.0), end='\r')
 ^
SyntaxError: invalid syntax
Sorry, can't debug it right now...
f
From: Jens N. <jen...@gm...> - 2011年11月17日 07:40:48
It works in python3
The python statement in python2.7 (and 2.6) does not support the end argument.
Adding a "from __future__ import print_function" to the beginning of
setup.py seems to fix it.
Greetings Jens
On Thu, Nov 17, 2011 at 5:03 AM, Fernando Perez <fpe...@gm...> wrote:
> (master)longs[matplotlib]> python setup.py
> File "setup.py", line 281
>  (float(i) / len(filtered) * 100.0), end='\r')
>                      ^
> SyntaxError: invalid syntax
>
>
> Sorry, can't debug it right now...
>
> f
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Michael D. <md...@st...> - 2011年11月17日 14:35:19
This should now be fixed.
Mike
On 11/17/2011 02:40 AM, Jens Nielsen wrote:
> It works in python3
>
> The python statement in python2.7 (and 2.6) does not support the end argument.
> Adding a "from __future__ import print_function" to the beginning of
> setup.py seems to fix it.
>
> Greetings Jens
>
> On Thu, Nov 17, 2011 at 5:03 AM, Fernando Perez<fpe...@gm...> wrote:
>> (master)longs[matplotlib]> python setup.py
>> File "setup.py", line 281
>> (float(i) / len(filtered) * 100.0), end='\r')
>> ^
>> SyntaxError: invalid syntax
>>
>>
>> Sorry, can't debug it right now...
>>
>> f
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /