Convolutional_neural_network icon indicating copy to clipboard operation
Convolutional_neural_network copied to clipboard

ImportError: bad magic number in 'config': b'\x03\xf3\r\n'

Open techluv13 opened this issue 7 years ago • 3 comments

I get the following issue while trying to run using python 3.
ImportError: bad magic number in 'config': b'\x03\xf3\r\n'

python_ocr

What could possibly be causing this issue? Is it because my python 3 version is 3.5.2 instead of 3.5.1 as specified in the runtime.txt file? My default python interpreter is set to python 2 which is the default on a Ubuntu system.

Thanks!

techluv13 avatar Jul 15 '17 03:07 techluv13

I added an empty file named config.py in the repository folder and stopped having this issue. I had this idea when I looked at the greydanus repository and saw this empty file named config.py

thiagodangelo avatar Jul 15 '17 20:07 thiagodangelo

@thiagodangelo worked for me too. @techluv13 if you don't want to do that you can always just clone the greydanus repo itself.

nshdesai avatar Jul 16 '17 03:07 nshdesai

closes #6

vishalseshagiri avatar Nov 03 '17 08:11 vishalseshagiri