Issue with streamlit_ace

I have installed streamlit_ace using pip in pycharm. By default in pycharm venv will be created.
When I tried the following code streamlit_ace` the following error occured

    ModuleNotFoundError: No module named 'streamlit_ace'

    Traceback:

    ```
    File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/streamlit/script_runner.py", line 333, in _run_script
        exec(code, module.__dict__)

File "/Users/sowmya/Documents/HFT/main.py", line 2, in <module>
        from streamlit_ace import st_ace
    ```

I have python - 3.8 version and also tried installing β€œpip install networkx”. But nothing worked.
I have previously used styreamlit without these issues.But now I am facing this issue.
can someone provide me a solution to solve the above issue?