The distro at Pypi identifies itself as 6.4-devel. Better change that!
Still getting those error messages when opening LeoPyRef.leo:can not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/leo_to_html.xslcan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/run_travis_unit_tests.pyfile not found: C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/launchLeo.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/run_pytest_tests.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/setup.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/flake8-leo.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/pyflakes-leo.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/pylint-leo.py
python3 -m leo.core.runLeo # PYTHONPATH has not been set.
Still getting those error messages when opening LeoPyRef.leo:can not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/leo_to_html.xslcan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/run_travis_unit_tests.pyfile not found: C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/launchLeo.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/run_pytest_tests.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/setup.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/flake8-leo.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/pyflakes-leo.pycan not open C:/Users/tom/AppData/Roaming/Python/Python39/site-packages/pylint-leo.py
This is all related to the fact that anything in the root folder of the leo-editor code repository is not installed when using pip.
It has been reported by me a long time ago & analyzed by Matt Wilkie in detail. - See
Aha, I found the source of the discrepancy. I had installed Leo to the system site-packages directory and not the user one. The user location had a 6.4b3 installation. I though that the system location would take precedence, but apparently not. After I deleted the 6.4b3 directories, I getLeo 6.4Python 3.9.5, PyQt version 5.15.2Windows 10 AMD64 (build 10.0.19043)as expected.