-
Notifications
You must be signed in to change notification settings - Fork 470
mergevec.py for Python 3.x #22
Comments
I got the solution. Python 3,x treats unicode string and byte string differently. So you would need to edit the py script and change 'str' data types to 'bytes' |
Hi @rejaverion, I'm no Python expert: how exactly would one solve this issue then? I get the following error when trying to run the mergevec.py script with Python 3.6 (on Windows x64):
Are we having the same issue? It would be a great idea if this repository offered the mergevec.py both for Python 2.x and 3.x, that way nobody runs into this issue again. |
Hi, |
Hi @rrphotosoft, if I recall correctly I just installed Python 2.7 and ran it with that Python version. There are plenty of other libraries that don't support Python 3 yet anyway, so I'd say it really is a necessity to have both version on your development machine ;) |
Hi. When I try to execute mergevec.py the shell returns
TypeError: 'str' does not support the buffer interface"
for lines 170 and 120Turns out there is a distinct incompatibilty between Py 2.x and 3.x that causes this error. How do I modify the py script to make it compatible with my Python 3.4?
The text was updated successfully, but these errors were encountered: