Tell us what’s happening:
When I run my tests using Replit nothing happens. I’ve selected “use run command” and clicked Done, but when I paste my code into demographic_data_analyzer.py and hit the green run button, nothing comes up in the console (for other projects I’ve had messages that my code has failed or has passed etc.)
I can see that my CPU and RAM indicators in the Replit window are at full capacity - could this be the problem?
I haven’t posted my code as I don’t think the problem lies here. The only thing is that I read the CSV file off my computer (see below) - could this cause the issue?
You’ll have to post a link to your repl as it is impossible to debug from this information. It could be a dependency issue or something else. You should be reading the file (use a relative file name) from your repl when running on replit.
I’ve only had that error when I forgot to select “Use run command” and it tries to execute main.py - you’ll get nothing happening like you describe. But if you definitely did click “Use run command” then I have no idea. Did you already try starting importing the boilerplate to a new Repl?
Yeah I’ve created a couple of the different replit windows, none of them worked. I’m definitely sure I clicked on Use Run Command and Done before pasting my code in so I’m a bit stumped too.
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
at venv/lib/python3.10/site-packages/poetry/utils/env.py:1195 in _run
1191│ output = subprocess.check_output(
1192│ cmd, stderr=subprocess.STDOUT, **kwargs
1193│ )
1194│ except CalledProcessError as e:
→ 1195│ raise EnvCommandError(e, input=input_)
1196│
1197│ return decode(output)
1198│
1199│ def execute(self, bin, *args, **kwargs):
exit status 1
Replit: Package operation failed.
I deleted poetry.lock and pyproject.toml and then ran the project again. Now my unit tests are working. Still have to work on some of the code though! never thought I’d be so happy to see a bunch of fails lol