Skip to content
← Back to Community
Wrong Python Version and Package operation error when creating repl from github
Profile icon
h
has Hacker Plan
RHDevs

I am creating a repl from github repo. It is written in python 3 but the repl always defaults to python 2.7. How do I change languages of repl.

Running the repls causes this package error also

image

Answered by FishballNooodle [earned 5 cycles]
View Answer
Voters
Profile icon
bharal
Profile icon
RHDevs
Comments
hotnewtop
Profile icon
FishballNooodle

I don't think you can change languages but you can configure the run to another language.
Add a file with name .replit
and add this code

language = "python3" run = "python main.py"