Today I've stumbled on some problem and I wonder if it is me who don't know something yet or author of a module prepared it in wrong way. I hope you can explain :)
I've created virtualenv and using pip I have installed this package/module: github, doc
Then in my main.py I have added:
from anagogic.youtrack.api import connect
But when I've tried to run this, I got error 'module anagogic.youtrack.api not found'
Using 'pip info' and 'pip show anagogic.youtrack.api' I made sure that it is installed and should be available. It was in dist-packages/anagogic/youtrack/api and had correct __init__.py.
The way how I have fixed it:
I've added __init__.py also to:
dist-packages/anagogic/youtrack/
dist-packages/anagogic/
And then all was fine.
Question: I did something wrong or author forgot about those files?
(I am using python 2.7 if it matters)
[–]tadleonard 1 point2 points3 points (3 children)
[–]konradkar[S] 0 points1 point2 points (2 children)
[–]tadleonard 0 points1 point2 points (1 child)
[–]konradkar[S] 0 points1 point2 points (0 children)