flupke / pypotrace

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

"No module named 'potrace._potrace'" ,When I "import potrace",this issue will arise. #43

Open MtYCNN opened 2 years ago

MtYCNN commented 2 years ago

Traceback (most recent call last): File "", line 1, in File "/root/picasso/yc7/pypotrace/potrace/init.py", line 1, in from potrace._potrace import * # NOQA ModuleNotFoundError: No module named 'potrace._potrace'

Riqzz commented 1 year ago

Have you already installed it? If so, are you running import potrace in the pypotrace root directory?

MtYCNN commented 1 year ago

If not installed, the error should not be this, but: No module named 'potrace‘

Riqzz commented 1 year ago

Yes. So you might have imported packages in this directory? I just made that mistake.

MtYCNN commented 1 year ago

Yes. So you might have imported packages in this directory? I just made that mistake.

Yes, I really import this module in this directory