I am quite a newbie when it comes to Python. I am trying to run someone else's code that contains references to pandas_ta. When I run the code I get the following errors: File "/data/stuart/Projects/Python/BackTesting/Test/Test1.py", line 6, in <module> import pandas_ta as ta File "/data/stuart/Projects/Python/Env/lib/python3.12/site-packages/pandas_ta/__init__.py", line 7, in <module> from pkg_resources import get_distribution, DistributionNotFound ModuleNotFoundError: No module named 'pkg_resources' I am running Python 3.10.12 on Ubuntu 22.04 using PyCharm IDE Community version. As I am a newbie I am somewhat reluctant to try many of the 'answers' I have found on this site until I have an idea as to the likely cause, and best solution. I don't want to make matters worse. What I have tried is the following: sudo apt-get install --reinstall python-pkg-resources Unfortunately the problem persists. Unfortunately, I want to use pandas_ta in some other projects as I was unable to get TA-Lib installed correctly. Any guidance or assistance would be much appreciated. Regards, StuartM Continue reading...