vinitshahdeo/PortScanner

[BUG] .pyc files needs to be deleted before running this project.

開放

#150 建立於 2021年3月13日

 (10 則留言) (0 個反應) (1 位負責人)Python (122 個分叉)auto 404
Level1beginner friendlybugdiscussionseasygood first issuegssoc21

倉庫指標

星標
 (150 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

An issue occurs when you first try to run the CLI through Python2. This results in creation of Python2 *.pyc files on the local machine. After this if the those files are not deleted and on running Flask UI through Python3 (which uses old Python2 *.pyc file), we get the above error.

*.pyc files interfere with normal working of the project.

This issue can be solved by deleting the *.pyc files from the repository folder from the local machine. Refer to this issue thread for details.

Expected behavior - Delete all the *.pyc files automatically before running the project.

貢獻者指南