Closed karipov closed 3 years ago
After reviewing this reply in #17 all tests succeeded. Still, seems like an issue to fix as it is causing a number of other problems.
Thanks!
Hi, looks like some incompatibility between pipenv
and cython-setuptools (a tool I wrote to descibe Cython modules in setup.cfg). I did a test project and reproduced your issue, though I don't really know where to start from there, as I'm not familiar with pipenv
at all.
It should work with pip
though, can you paste the output of pip install cython-setuptools -vvv --ignore-installed
in your venv please?
@flupke The installation is successful, the output is too long so here is the pastebin: https://pastebin.com/Lcmq7dHk
Also, I've mentioned that your reply in #17 solved my issue outside of the venv. However, later I've found that potrace could only be imported within the git cloned version of this repository. Importing potrace outside of that folder was met with the same ImportError
.
I'm currently on macOS Catalina 10.15 (19A583).
Installed pypotrace (0.2) with pipenv. Here is part of the Pipfile.lock:
When trying to import it get the following error:
Pipfile:
I've also installed the library with pip outside of the pipenv virtual environment. The same error persists.
Edit: After trying to install from source as shown in the README, I get the following error (full here):
Installation outside of the pipenv virtual environment 'worked', but when importing, still get a ModuleNotFoundError for 'potrace'.
I've ran all the tests with
nosetests -v
and get the following errors: