Skip to content
← Back to Community
Trying to run a new large script
Profile icon
SUPERMECHM500

I am trying to run a new operating system that will come in the future.
But a problem occurred. After including the ability to send emails, I am unable to load the display. Also I cannot import smtplib, but i heard ways to add modules to skulpt. "NotImplementedError: smtplib is not yet implemented in Skulpt on line 2*"

Link to repl: https://repl.it/@SUPERMECHM500/MechOSBeta-Visual-Version

Yes, it is called MechOS. It will be a revolutionary operating system for the future. There is a text version, which acts as an API for programs who can use MechOS' tools.

Answered by AllAwesome497 [earned 5 cycles]
View Answer
Voters
Profile icon
jeremiahmuoneke
Profile icon
AllAwesome497
Comments
hotnewtop
Profile icon
AllAwesome497

Ok I got this from someone else much better at this than I, he says since turtle which isnt actually python, it uses skulpt, which is an implementation of python using javascript, u can’t use packages skulpt doesn’t support :/ sorry

Profile icon
timmy_i_chen

This is because our Python Turtle repls use Skulpt, which is python implemented in JavaScript. What this means is that you can't have multiple files (as it is pure JS), and you can't import packages unless it is directly supported by skulpt, hence the error message.

Profile icon
AllAwesome497

Do u have a requirements.txt?

Profile icon
SUPERMECHM500

@AllAwesome497 no I do not, never thought I would need another text file...?

What would I need it for?

Profile icon
AllAwesome497

@SUPERMECHM500 requirement.txt tells repl what packages to install. Try making one and simpley put the word smtplib and see if that works

Profile icon
SUPERMECHM500

@AllAwesome497 Is this a file of the repl or a file in general?

Profile icon
AllAwesome497

@SUPERMECHM500 put it in the repl as a new file. It has to be named exactly that

Profile icon
SUPERMECHM500

@AllAwesome497 And whee do I go to make this new file?

Profile icon
AllAwesome497

@SUPERMECHM500 the plus symbol in the top section of the left side Edit: Also soon as u finish that should see a lot of things downloading in the console as if u did a pip install

Profile icon
SUPERMECHM500

@AllAwesome497 All I see is multiplayer and settings. Perhaps adding an image to your comment?

This file cannot be displayed: https://storage.googleapis.com/replit/images/1549547632321_86a9fd8afd525858f08f7eda7caea794.pn

Profile icon
AllAwesome497

@SUPERMECHM500 hmmm u don’t appear to have the files option. Lemme see if I can get someone who knows repl.it pretty well to help

Profile icon
SUPERMECHM500

Problem(s): Smtplib not implemented to Skulpt; Display not loading