SpockBotMC / RikerBot

C++20/Python based Minecraft bot
zlib License
46 stars 7 forks source link

ModuleNotFoundError: No module named 'rikerbot.proto.MinecraftProtocol' #4

Closed arthuro555 closed 4 years ago

arthuro555 commented 4 years ago

image

The installation was abnormally fast but seem to have worked without any error: image

Platform: Windows 10 Python version: 3.8

nickelpro commented 4 years ago

I really need to add something to the setup.py that you can't install it directly. You need to compile the project with cmake first. This is my fault for communicating that poorly and not having install instructions. I'll fix this and document the build system more clearly

arthuro555 commented 4 years ago

In general this project lacks a bit of documentation in general :/ Wouldn't it be possible to tell pip in setup.py to compile? I thought there were such options (used by numpy for example)

nickelpro commented 4 years ago

This project is less than a week old lol, only got through the login process two days ago, and that setup.py was written yesterday. Documentation is a huge priority I promise, making the dev experience work most-goodly does matter to me, even at this early stage.

The build issue is one that was already on my radar though, I know the current path is bad (https://github.com/SpockBotMC/RikerBot/issues/1), and for Windows what really needs to happen is we need Appveyor to be pushing binary builds to PyPI. Getting all the requirements together to build this on Windows is non-trivial for a lot of people. Unfortunately I have very little experience with CI systems so that's going to be a new learning experience for me.