flupke / pypotrace

Python bindings for potrace library
Other
166 stars 43 forks source link

Error occured during import potrace with python3 #19

Closed meikuam closed 4 years ago

meikuam commented 5 years ago

Hi, I have a problem installing pypotrace. I tested it with python3.5 and python3.6. After install steps, when I import module I've got a error:

File "/home/user/.local/lib/python3.6/site-packages/potrace/__init__.py", line 1, in <module> from potrace._potrace import * ImportError: /user/meikuam/.local/lib/python3.6/site-packages/potrace/_potrace.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyString_FromString

As I can see from this, it's a common problem. While forced replacing "PyString_FromString" by "PyUnicode_FromString" has solved a problem, it's not normal.

flupke commented 5 years ago

Hi please have a look at #21

flupke commented 4 years ago

Closing for no activity.