SnapWrap icon indicating copy to clipboard operation
SnapWrap copied to clipboard

snapchat vs SnapWrap

Open NoahCristino opened this issue 5 years ago • 1 comments

I've tried to run the example code and I keep getting this error:

 from SnapWrap import Snapchat
 File "/home/noah/SnapWrap-master/SnapWrap/__init__.py", line 1, in <module>
   from snapchat import Snap
ImportError: cannot import name 'Snap' from 'snapchat' (/usr/lib/python3.8/site-packages/snapchat/__init__.py)

the readme code says import snapchat while the example.py file is import SnapWrap. The import SnapWrap works but fails due to the init.py trying to use a library called snapchat. I've tried to change it to SnapWrap which is recognized but that leads to a circular reference error. Any ideas how this could be fixed?

NoahCristino avatar Feb 16 '20 02:02 NoahCristino

try import SnapWrap as snapchat

nasserakhter avatar Jul 12 '20 05:07 nasserakhter