Scientific Computing with Python Projects - Arithmetic Formatter

Tell us what’s happening:
Replit starter code error-

I am starting the project Arithmetic Formatter. I have got the starter code on Replit but when I click run it gives me the following error:

python venv/lib/python3.8/site-packages/distlib/index.py
Traceback (most recent call last):
File “venv/lib/python3.8/site-packages/distlib/index.py”, line 18, in
from . import DistlibException
ImportError: attempted relative import with no known parent package
exit status 1

Any help would be greatly appreciated.

Your code so far

Starter Code

Your browser information:

User Agent is: Chrome

Challenge: Scientific Computing with Python Projects - Arithmetic Formatter

Link to the challenge:

Solved it. I did not configure the .replit correctly.

How did you configured the replit?

When the dialog box appears prompting you to configure .replit just enter “python main.py”

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.