title: Import module using Manim
body: <p>I am trying to import a class from another file for a manim animation, however when executing the manim animation it is not possible to load my module. How to troubleshoot <strong>without</strong> a change in sys.path?</p>
  <pre><code># padroes.py
  from manimlib.imports import *
  
  class Explora():
      LOGO = &quot;\\vec{E}\\hspace{-1mm}\\times\\hspace{-1mm}\\vec{p}\\mathcal{L}0\\mathbb{R}a&quot;
      # Cores utilizadas
      APATITA = &quot;#43bfca&quot;
      PAPOULA = &quot;#dc6a40&quot;
      STARSHIP = &quot;#F2E33A&quot;
      # Tempos
      TEMPO_LONGO = 5
      TEMPO_MEDIO = 2
      TEMPO_CURTO = 1.5
  </code></pre>
  <pre><code># test.py
  from padroes import Explora
  
  class Teste(Scene):
      def construct(self):
          TexMobject('JUST A TEST')
  </code></pre>
  <p>Both files are in the <strong>same directory</strong>, from where I execute the command
  <code>manim test.py</code> resulting in</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/home/ariel/.local/bin/manim&quot;, line 11, in &lt;module&gt;
      sys.exit(main())
    File &quot;/home/ariel/.local/lib/python3.6/site-packages/manimlib/__init__.py&quot;, line 9, in main
      config = manimlib.config.get_configuration(args)
    File &quot;/home/ariel/.local/lib/python3.6/site-packages/manimlib/config.py&quot;, line 155, in get_configuration
      module = get_module(args.file)
    File &quot;/home/ariel/.local/lib/python3.6/site-packages/manimlib/config.py&quot;, line 150, in get_module
      spec.loader.exec_module(module)
    File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 678, in exec_module
    File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 219, in _call_with_frames_removed
    File &quot;teste.py&quot;, line 2, in &lt;module&gt;
      from padroes import Explora
  ModuleNotFoundError: No module named 'padroes'
  </code></pre>