Closed meerfrau closed 1 year ago
Have you tried installing the tool using a virtual environment?
python3 -m venv venv
source venv/bin/activate
pip install diffenator2
Try the above and see if it works for you. Also, what platform are you on?
I'm on ArchLinux and happy with just a single Python environment since 10 years. Pyproject.toml says ninja = "*"
May you please show me a dir tree of your ninja package?
tree venv/lib/python3.10/site-packages/ninja
venv/lib/python3.10/site-packages/ninja
├── __init__.py
├── __main__.py
├── __pycache__
│ ├── __init__.cpython-310.pyc
│ ├── __main__.cpython-310.pyc
│ ├── _version.cpython-310.pyc
│ └── ninja_syntax.cpython-310.pyc
├── _version.py
├── data
│ └── bin
│ └── ninja
├── ninja_syntax.py
└── py.typed
3 directories, 10 files
This isn't ninja, this is https://pypi.org/project/ninja_syntax/ !
That is not the correct pypi package. It's https://pypi.org/project/ninja/. Install that and you're good.
I can't start diffenator due to this error:
Ninja however works well: