flupke / pypotrace

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

Installation and import issues on Ubuntu and MacOS #36

Open danousna opened 3 years ago

danousna commented 3 years ago

Hi there,

I am having trouble installing the library on both macos (big sur) and ubuntu (18.04).

On macos I am having a big fat error before the end of the pip install (seems to contain some things related to Keychain ...). I have all the requirements installed with brew.

On ubuntu, the installation succeeds, however when importing the package I have : ModuleNotFoundError: No module named 'potrace._potrace' which seems to be because the _potrace.pyx is not compiled ?

Are these problems related to the transition to poetry maybe ? Or I missed something during the installation process.

Thanks in advance.

danousna commented 3 years ago

Hum, so I just tested on ubuntu with Poetry, and it seems to install fine and the import works.

However it's the pip install that's not working.

SB2020-eye commented 3 years ago

Fwiw, I'm trying to install on Ubuntu 18.04. Fine until pip install . I get:

scott@Yogi:~/src/github/pypotrace$ pip install .
Directory '.' is not installable. File 'setup.py' not found.

Indeed, there is no setup.py file in the folder. So the instructions for installation don't work.

Anandh-iOS commented 3 years ago

Hi,

I am having difficulty installing the library on both ubuntu.

The installation succeeds, however when importing the package I have : ModuleNotFoundError: No module named 'potrace._potrace' which seems to be because the _potrace.pyx is not compiled ?