I am getting this error even after replacing the file in assets. My OS is windows 10 and chrome is updated to latest version.
Traceback (most recent call last):
File "quickstart.py", line 1, in <module>
from instapy import InstaPy
File "C:\Users\rahul\Desktop\InstaPy\instapy\__init__.py", line 1, in <module>
from .instapy import InstaPy
File "C:\Users\rahul\Desktop\InstaPy\instapy\instapy.py", line 11, in <module>
from .clarifai_util import check_image
File "C:\Users\rahul\Desktop\InstaPy\instapy\clarifai_util.py", line 3, in <module>
from clarifai.client import ClarifaiApi
File "C:\Users\rahul\AppData\Local\Programs\Python\Python36-32\lib\site-packages\clarifai-2.0.20-py3.6.egg\clarifai\client\__init__.py", line 5, in <module>
File "C:\Users\rahul\AppData\Local\Programs\Python\Python36-32\lib\site-packages\clarifai-2.0.20-py3.6.egg\clarifai\client\client.py", line 4, in <module>
ModuleNotFoundError: No module named 'past'
I have the same problem. Do you have a solution?
@ujazzz It probably simply was installing it: https://pypi.python.org/pypi/past/0.11.1
pip install future
I pip install future'd it and still get:
PS C:\Users\cevad\Downloads\InstaPy-master\InstaPy-master> py quickstart.py
Traceback (most recent call last):
File "quickstart.py", line 1, in
from instapy import InstaPy
File "C:\Users\cevad\Downloads\InstaPy-master\InstaPy-master\instapy__init__.py", line 1, in
from .instapy import InstaPy
File "C:\Users\cevad\Downloads\InstaPy-master\InstaPy-master\instapy\instapy.py", line 14, in
from .clarifai_util import check_image
File "C:\Users\cevad\Downloads\InstaPy-master\InstaPy-master\instapy\clarifai_util.py", line 3, in
from clarifai.rest import ClarifaiApp, Image as ClImage
ModuleNotFoundError: No module named 'clarifai'
ModuleNotFoundError: No module named 'clarifai'
pip install clarifai
Yes thank you! I did some more digging and found this answer as well! I'd thought that since the instructions said to comment out the clarifai bit that it wouldn't be necessary to install clarifai.
Most helpful comment
ModuleNotFoundError: No module named 'clarifai'
pip install clarifai