vinitshahdeo/PortScanner

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

Offen

#150 geöffnet am 13.03.2021

 (10 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (122 Forks)auto 404
Level1beginner friendlybugdiscussionseasygood first issuegssoc21

Repository-Metriken

Stars
 (150 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide