vinitshahdeo/PortScanner

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

Open

#150 opened on Mar 13, 2021

 (10 comments) (0 reactions) (1 assignee)Python (122 forks)auto 404
Level1beginner friendlybugdiscussionseasygood first issuegssoc21

Repository metrics

Stars
 (150 stars)
PR merge metrics
 (PR metrics pending)

Description

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