Ask Your Question

How to import a modul from my local disk to a cloud worksheet?

asked 2015-04-09 08:32:31 +0200

anonymous user


updated 2015-05-22 20:49:47 +0200

FrédéricC gravatar image

I would like to use modules that are stored on my local hard drive in worksheets running in cloud.sagemath. I tried to type


from myModule import *

However, when executing I get the message

ImportError: No module named selfAffineTile

What would be the right way to do this?

Thanks for any help,


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-04-09 12:45:24 +0200

calc314 gravatar image

At this time, you cannot access resources outside SMC in general. (There were security issues and this had to be shut down.) You will need to upload your module to your SMC account and then can import the module as you suggest with a path like ~\myPath. To upload the file, open SMC and click on the "+NEW". You can then drag the module to the large import box or click on the import box to open a dialog box.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-04-09 08:32:31 +0200

Seen: 310 times

Last updated: Apr 09 '15