-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] .pyc files needs to be deleted before running this project. #150
Comments
@Kashish121 Currently on working on that too. |
@palrohitg assigning it to you. Submit the corresponding PR by tomorrow EOD. |
@Kashish121 I generated the PR #148 and their is no issue while running the flask server for branch features/python3.8 I am using the python3.8 to run the server. |
@Kashish121 I checkout in my local environment once you had python virutalenv activated then there is no issue. |
So, this happens for users who use python2.x and python3.x without a virtual environment setup. It would still be preferable to remove all the Avoiding any possible scope of bug would be a better decision for now. |
@palrohitg , checking for status of work here? |
@Kashish121 What I'm thinking for this issue is that instead of deleting those generated |
Please expand on this. |
We can set |
Sure! go ahead. 👍🏽 |
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.The text was updated successfully, but these errors were encountered: