Notebooks accessed from Google Drive probably aren't in a real folder on your filesystem, so I guess the kernel is running somewhere else. To see where the kernel is running, do:
import os os.getcwd() On 9 August 2017 at 18:41, ion sola <[email protected]> wrote: > I am new in python, and I am trying to run a script in Jupyter notebook > that calls to some .py files but when I try to import them an error > appears: "No module named..." Everything worked fine in the beginning but I > added Jupyter Drive to export some images to Google Drive and it is not > working anymore: > > (I added this in the command prompt) > > pip install --upgrade > https://github.com/ipython-contrib/IPython-notebook-extensions/archive/master.zip > --user > > git clone git://github.com/jupyter/jupyter-drive.git > > pip install -e jupyter-drive > > python -m jupyterdrive > > ipython profile create nbserver > ipython notebook --profile=nbserver > > I have uploaded the main file in ipynb extension and all the py files in > the same folder but some problem appears again and again. Any idea? > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/a8e4e923-3c95-4c98-8f79-3aa6091cc575%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/a8e4e923-3c95-4c98-8f79-3aa6091cc575%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qjc43i6MNj67JR4hDOG0OrVL65oFstmO0mQu8_-ibwfvQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
