Help (beginners stuff) - Replit - bash: [name of the variable]: comand not found

Dear all,
utter beginner here.

My code (ahum…) ran smoothly for two days.
In a way it stil does, but I can no longer use the CLI as I used to.
For instance: when I call the current value of a variable, I get the following error message:

“bash: [name of the variable]: comand not found”.

What’s going on here?
M0

Replit recently decided to remove prybar, which means you can no longer run python code in the console by default.
However, if I correctly understand how the feature works, you can type python -i main.py in the console or shell and this is about the same as the removed feature. For a blank python session, just enter python instead.

3 Likes

Hi NP,
that did the trick.
Thank you so much.
I don’t know (yet) what prybar is, but even without the insight I cannot possibly understand why replit would remove a default feature for executing commands in the console.
I’m following an online course and this course relies heavily on using the CLI (at least during the first couple of lessons).
Thanks again. Hope one day I will be able to return the favour (don’t count on it though ;-), at least not code wise)
Cheers,
M0

1 Like

Don’t worry! The prybar is back and you no longer need to do any workarounds.
https://replit.com/@replit/Python-with-Prybar?v=1

1 Like

OK. Thanks.
Found it via these 3 steps (cf. screenshot)

2 Likes

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