Open nzjrs opened 2 months ago
On one hand, this sounds plausible. On the other hand:
__init__.py
play no role since Python 3 anymore. Are you trying to install this on a Python 2 system?pip install .
pip install -e .
pip install matplotlib-venn
.I'm fine with adding an extra __init__.py
if it does help, but it would be nice to better understand the root problem here. Could you clarify how exactly you arrive at the error message?
On one hand, this sounds plausible. On the other hand:
- I believe
__init__.py
play no role since Python 3 anymore. Are you trying to install this on a Python 2 system?I can't reproduce the problem. Things I tried so far:
- (In an empty venv from within checked out repository)
pip install .
- (In an empty venv from within checked out repository)
pip install -e .
- (In an empty venv)
pip install matplotlib-venn
.I'm fine with adding an extra
__init__.py
if it does help, but it would be nice to better understand the root problem here. Could you clarify how exactly you arrive at the error message?
I installed the package from within jetbrains datalore https://datalore.jetbrains.com/notebooks (Python 3.8). I'd love to help you further debug this, but adding the __init__.py
is better best practice, and it fixed the problem here.
(could be setuptools version tbh, it didnt print the subpackge in find_packages()
unless I added the init.py)
layout subpackage is empty because https://github.com/konstantint/matplotlib-venn/blob/master/setup.py#L50 does not find an
__init__.py
here https://github.com/konstantint/matplotlib-venn/tree/master/matplotlib_venn/layout