dkogan/gnuplotlib

python34 and gnuplot5 error during import

autosquid opened this issue · 2 comments

Traceback (most recent call last):
File "", line 1, in
File "/Users/uuplusu/anaconda/envs/py34/lib/python3.4/site-packages/gnuplotlib.py", line 704, in
features = _getGnuplotFeatures()
File "/Users/uuplusu/anaconda/envs/py34/lib/python3.4/site-packages/gnuplotlib.py", line 688, in getGnuplotFeatures
features = set( re.findall(r'--([a-zA-Z0-9
]+)', helpstring) )
File "/Users/uuplusu/anaconda/envs/py34/lib/python3.4/re.py", line 210, in findall
return _compile(pattern, flags).findall(string)
TypeError: can't use a string pattern on a bytes-like object

Hi. Python3 is not supported. If you give me reasonable patches, I'll be happy to add that support.

yes, this this related with python3 string. the helpsstring of bytes class, but re. need string.