mcpyproject / McPy

A open source Minecraft server written 100% in Python
GNU Affero General Public License v3.0
82 stars 16 forks source link

Add a dependencies check #71

Open hydrostaticcog opened 3 years ago

hydrostaticcog commented 3 years ago

If you run main.py without dependencies installed, a bunch of import errors are raised, and this could be difficult for inexperienced end-users to understand with all of the paths.

Adding a check in main.py, or even classes/mcPy/McPy.py would assist the end user in understanding that they need to run dependencies.py.

Something similar to https://stackoverflow.com/questions/16294819/check-if-my-python-has-all-required-packages/45474387#45474387 could be useful