vinitshahdeo/PortScanner

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

Aperta

#150 aperta il 13 mar 2021

 (10 commenti) (0 reazioni) (1 assegnatario)Python (122 fork)auto 404
Level1beginner friendlybugdiscussionseasygood first issuegssoc21

Metriche repository

Star
 (150 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor