Python (3.5) is not finding a file that is in a directory and I am trying to figure out where to put it. Here is the error I get:
Traceback (most recent call last):
File "/home/rik/Pillow/faces.py", line 35, in <module>
from PIL import Image
File "/home/rik/Pillow/PIL/Image.py", line 67, in <module>
from PIL import _imaging as core
ImportError: cannot import name '_imaging'
But I have a file called '_imaging.c' in the folder /home/rik/Pillow/ and I tried putting it in /home/rik/Pillow/PIL/ with no luck.
I tried to track where it is getting file via strace but I got an error:
rik@rik-MS-7971:~$ chmod +x /home/rik/Documents/tensorflow/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py
rik@rik-MS-7971:~$ strace -f -e open /home/rik/Documents/tensorflow/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py
strace: exec: Exec format error