bhattbhavesh91/cowin-vaccination-slot-availability

Error

Closed this issue · 2 comments

### Traceback (most recent call last):
File "c:\users\intel\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\intel\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\INTEL\AppData\Local\Programs\Python\Python39\Scripts\streamlit.exe_main
.py", line 4, in
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\streamlit_init
.py", line 46, in
from streamlit import logger as logger
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\streamlit\logger.py", line 21, in
from streamlit import config
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\streamlit\config.py", line 28, in
from streamlit import config_util
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\streamlit\config_util.py", line 4, in
import click
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\click_init
.py", line 7, in
PS C:\Users\INTEL\Desktop\Coding\cowin-vaccination-slot-availability-main> streamlit run app.py
Traceback (most recent call last):
File "c:\users\intel\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\intel\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\INTEL\AppData\Local\Programs\Python\Python39\Scripts\streamlit.exe_main
.py", line 4, in
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\streamlit_init
.py", line 46, in
from streamlit import logger as logger
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\streamlit\logger.py", line 21, in
from streamlit import config
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\streamlit\config.py", line 28, in
from streamlit import config_util
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\streamlit\config_util.py", line 4, in
import click
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\click_init
.py", line 7, in
from .core import Argument
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\click\core.py", line 9, in
from .compat import isidentifier
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\click_compat.py", line 685, in
import colorama
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\colorama_init
.py", line 2, in
from .initialise import init, deinit, reinit, colorama_text
ValueError: source code string cannot contain null bytes

it shows all this as errors

I just ran the code and it works fine!
This thread should help - jupyter/notebook#3166

Hey,I am pretty new to PYTHON and still can't understand the error,can you please explain it to me and help me solve it?It shows this now and I am unable to understand it from the link you had sent nor it is helping while I am running it in colab.

Traceback (most recent call last):
File "C:\Users\INTEL\AppData\Local\Programs\Python\Python39\Scripts\pip-script.py", line 33, in
sys.exit(load_entry_point('pip==21.1.1', 'console_scripts', 'pip')())
File "C:\Users\INTEL\AppData\Local\Programs\Python\Python39\Scripts\pip-script.py", line 25, in importlib_load_entry_point
return next(matches).load()
File "c:\users\intel\appdata\local\programs\python\python39\lib\importlib\metadata.py", line 77, in load
module = import_module(match.group('module'))
File "c:\users\intel\appdata\local\programs\python\python39\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 855, in exec_module
File "", line 228, in _call_with_frames_removed
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\main.py", line 9, in
from pip._internal.cli.autocompletion import autocomplete
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\main_parser.py", line 8, in
from pip._internal.cli import cmdoptions
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\cmdoptions.py", line 23, in
from pip._internal.cli.parser import ConfigOptionParser
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\parser.py", line 12, in
from pip._internal.configuration import Configuration, ConfigurationError
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_internal\configuration.py", line 27, in
from pip._internal.utils.misc import ensure_dir, enum
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_internal\utils\misc.py", line 38, in
from pip.vendor.tenacity import retry, stop_after_delay, wait_fixed
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\tenacity_init
.py", line 523, in
from pip.vendor.tenacity.tornadoweb import TornadoRetrying
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\tenacity\tornadoweb.py", line 23, in
from tornado import gen
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\tornado\gen.py", line 81, in
from tornado.concurrent import (
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\tornado\concurrent.py", line 34, in
from tornado.log import app_log
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\tornado\log.py", line 38, in
import colorama # type: ignore
File "c:\users\intel\appdata\local\programs\python\python39\lib\site-packages\colorama_init
.py", line 2, in
from .initialise import init,deinit,reinit,colorama_text
ValueError: source code string cannot contain null bytes