cihologramas / pyoptools

Python tools for optical design
GNU General Public License v3.0
137 stars 46 forks source link

Support on google Colab notebook? #80

Closed adambot806 closed 4 years ago

adambot806 commented 4 years ago

Hi, I try to install pyoptools in colab, but something wrong when I call "from pyoptools.all import * "

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-24-4c6c31ce4588> in <module>()
----> 1 from pyoptools.all import *

1 frames
/content/pyoptools/pyoptools/all.py in <module>()
     38 # Import all pyoptools packages
     39 
---> 40 from pyoptools.misc.cmisc import *
     41 from pyoptools.misc.definitions import *
     42 #from misc.frft import *

/content/pyoptools/pyoptools/misc/cmisc/__init__.py in <module>()
----> 1 from .cmisc import (dot_test,
      2                     test_1,
      3                     test_2,
      4                     unwrap)
      5 

ModuleNotFoundError: No module named 'pyoptools.misc.cmisc.cmisc'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Alex214234 commented 2 years ago

Have you already solved this problem? I have the same