Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'pydantic_core._pydantic_core' #114

Open
Kaioken3000 opened this issue Oct 16, 2024 · 0 comments
Open

Comments

@Kaioken3000
Copy link

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,
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant