vinitshahdeo/PortScanner

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

Ouverte

#150 ouverte le 13 mars 2021

 (10 commentaires) (0 réaction) (1 personne assignée)Python (122 forks)auto 404
Level1beginner friendlybugdiscussionseasygood first issuegssoc21

Métriques du dépôt

Stars
 (150 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur