PIP install "error: package directory 'X' does not exist"
py_modules
takes a list of module names, not files. Your call looks for RTBatch/py.py
and RTBatch_cli/py.py
.
In my case, it was about that the folder which I use for installation was corrupted. It was not installed completely. I downloaded it on my laptop and then moved it to the server. But it was broken. so I download it again and everything goes well.