Getting Error after migrating from python 3.4.1 to python 3.6.6 ( Failed to import the site module )

sandeep.bayi6 at gmail.com sandeep.bayi6 at gmail.com
Thu Dec 27 09:23:28 EST 2018


On Thursday, December 27, 2018 at 7:49:16 PM UTC+5:30, sandee... at gmail.com wrote:
> ```````````````````````````````````````````````````````````````````````````
> Error code:
> --------------------------------------------------------------------------
> 
> 
> Traceback (most recent call last):
>   File "C:\Users\sandeep\AppData\Local\Programs\Python\Python36-32\Lib\site.py", line 73, in <module
>     import os
>   File "C:\Users\sandeep\AppData\Local\Programs\Python\Python36-32\Lib\os.py", line 652, in <module>
>     from _collections_abc import MutableMapping
>   File "C:\Users\sandeep\AppData\Local\Programs\Python\Python36-32\Lib\_collections_abc.py", line 58
>     async def _coro(): pass
>             ^
> SyntaxError: invalid syntax
> Failed to import the site module
> 
> ````````````````````````````````````````````````````````````````````````````
> After migrating from python 3.4.1 to python 3.6.6
> while Executing my project, I'm facing this issue and not able to resolve it. Can i find any solution for this error?



More information about the Python-list mailing list