Hi, I am pretty new to anvil, therefore I am not familiar with all the packages and what is required to import them. I am currently looking for a way to display LaTex on my app.
So I need to import mathJax. However “from anvil.js.window import MathJax” gives me “AttributeError: ‘Window’ object has no attribute ‘MathJax’”. Then I found an app I could clone which uses
from ._anvil_designer import Form1Template
from anvil import *
import plotly.graph_objects as go
import anvil.tables as tables
import anvil.tables.query as q
from anvil.tables import app_tables
from anvil.js.window import MathJax
at the beginning. This app works fine for me, but when I copy this code to my app and replace the “Form1Template” with the name of my Form. It doesnt work for me and I get “ModuleNotFoundError: No module named ‘anvil.tables’” from the following code at the top of my app:
from ._anvil_designer import RechungenTemplate
from anvil import *
import math
import re
from anvil.js.window import navigator
import plotly.graph_objects as go
import anvil.tables as tables
import anvil.tables.query as q
from anvil.tables import app_tables
from anvil.js.window import MathJax
Is it possible that this error occurs because I dont have the paid version? Or is there another explainantion I am overlooking?
Thanks in advance to anyone who can help me or provide me with some tips!