Submit templates for repl.it/templates here.

← Back to all posts
pypy.repl (anything.repl)
superwhiskers (40)

pypy.repl (3.6)

a repl made for running your python programs using pypy

how to use

place your python code inside of src/, it must have a main.py file (or you can rename it in the makefile), place all pypi packages you need inside of requirements.txt and they will be installed. that's it. most code should work right out of the box

resetting the pypy + pip install

run make clean

additional notes

if you want a pypy2.7 one, just ask and i can hack it up quickly

Commentshotnewtop
Highwayman (1357)

There is err:

Makefile:44: *** missing separator. Stop.

Highwayman (1357)

@superwhiskers oh. Why do the commands start with an @ sign?

superwhiskers (40)

fixed the error, sorry about that @Highwayman

Highwayman (1357)

@superwhiskers that’s ok. It’s really cool!

Highwayman (1357)

@superwhiskers um. Another error.
basically *cant find .pypy/bin/pip* and

Makefile:52: recipe for target 'exec_pypy' failed
make *** failed Error 127

superwhiskers (40)

i suppose it needs to be a little more rigorous in its checks. that wasn't happening when i tested it

superwhiskers (40)

working perfectly fine on my end. that's odd

superwhiskers (40)

literally just pressed run

superwhiskers (40)

deleted the .pypy folder for everyone so it isn't saved in the repl. if you want to run it you should just fork the newly saved version and run it that way

superwhiskers (40)

it makes it so i cannot be held responsible for it

Highwayman (1357)

@superwhiskers lol. Well it works now so that fixed it.

superwhiskers (40)

because this way you need to download it on your own

Highwayman (1357)

EGADS

That’s a green turtle