I hit this a couple of weeks back, when homebrew automatically upgraded me to python 3.5. I have a separate python 3.2 installation, and added this line to ~/build.properties:
python32.exe=/path/to/python3.2 Alan Woodward www.flax.co.uk On 23 Sep 2015, at 18:06, Ahmet Arslan wrote: > Hi, > > In effort to run "ant precommit" I have installed Python 3.5.0. > However, it fails with the following : > > [exec] File > "/Volumes/data/workspace/solr-trunk/dev-tools/scripts/checkJavadocLinks.py", > line 20, in <module> > [exec] from html.parser import HTMLParser, HTMLParseError > [exec] ImportError: cannot import name 'HTMLParseError' > > > Python 3.5.0 (v3.5.0:374f501f4567, Sep 12 2015, 11:00:19) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > > I tried to solve this by myself, found something like : > "HTMLParserError have been removed from python3.5" > > Any suggestions given that i am python ignorant? > > Thanks, > Ahmet > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org >