Closed mbob001 closed 2 years ago
The code is pure Python, so you don't need to build anything. Just clone the git repository and install the dependencies, and you are set.
Sorry,
I am newbie in python. How can I use it? In your documentation is command:
python pgMapMatch --help
But in GIT repository there is no pgpMapMatch file.
I tried
python3 tests.py
result:
Traceback (most recent call last): File "tests.py", line 19, in <module> import pgMapMatch as mm ModuleNotFoundError: No module named 'pgMapMatch'
Or Have I import mapmatcher.py to own source file?
I would appreciate a sample use from a source.
Thanks a lot.
pgMapMatch
should be the directory name. So calling python pgMapMatch --help
looks for the __main__.py
file inside pgMapMatch
. You need to be in the parent directory of the git repository to run this (i.e. one level up from the pgMapMatch directory).
Note that docopt
is a dependency. You can install it through pip3 install docopt
.
Thanks, now it works!
Hi, I tried to build project, but I got an error:
python3 -m build
Result:
ERROR Source /home/debian/mapmatching/pgMapMatch does not appear to be a Python project: no pyproject.toml or setup.py
How can I build project to get pgpMapMatch? Thanks.