You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know why it not run, when i remove the code, then it run ok, so it must be at english_ipa, but i dont know how to fix it, please help me!!!
error:
Running Python program synchronously...Traceback (most recent call last):
File "C:\Users\Nam\AppData\Roaming\com.example\demospeech\flet\assets\main.py", line 5, in
from pydantic import BaseModel, Field
File "C:\Users\Nam\AppData\Roaming\com.example\demospeech\flet\assets_pypackages_\pydantic_init_.py", line 411, in getattr
module = import_module(module_name, package=package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\python312-dist\Lib\importlib_init_.py", line 90, in import_module
File "C:\Users\Nam\AppData\Roaming\com.example\demospeech\flet\assets_pypackages_\pydantic\main.py", line 28, in
import pydantic_core
File "C:\Users\Nam\AppData\Roaming\com.example\demospeech\flet\assets_pypackages_\pydantic_core_init_.py", line 6, in
from ._pydantic_core import (
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'
python code:
from english_ipa.cambridge import CambridgeDictScraper
scraper = CambridgeDictScraper()
text = scraper.get_ipa_in_dict("demo")
print(text)
I don't know why it not run, when i remove the code, then it run ok, so it must be at english_ipa, but i dont know how to fix it, please help me!!!
error:
Running Python program synchronously...Traceback (most recent call last):
File "C:\Users\Nam\AppData\Roaming\com.example\demospeech\flet\assets\main.py", line 5, in
from pydantic import BaseModel, Field
File "C:\Users\Nam\AppData\Roaming\com.example\demospeech\flet\assets_pypackages_\pydantic_init_.py", line 411, in getattr
module = import_module(module_name, package=package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\python312-dist\Lib\importlib_init_.py", line 90, in import_module
File "C:\Users\Nam\AppData\Roaming\com.example\demospeech\flet\assets_pypackages_\pydantic\main.py", line 28, in
import pydantic_core
File "C:\Users\Nam\AppData\Roaming\com.example\demospeech\flet\assets_pypackages_\pydantic_core_init_.py", line 6, in
from ._pydantic_core import (
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'
python code:
from english_ipa.cambridge import CambridgeDictScraper
scraper = CambridgeDictScraper()
text = scraper.get_ipa_in_dict("demo")
print(text)
flutter code:
SeriousPython.run(
"assets/demofastapi.zip",
sync: true,
);
The text was updated successfully, but these errors were encountered: