PieMC-Dev / PieMC

🍰 PieMC is an exciting open-source project aimed at developing a powerful and customizable Minecraft Bedrock server software using Python 🐍
https://piemc-dev.github.io
GNU General Public License v3.0
90 stars 23 forks source link

ModuleNotFoundError: No module named 'pieraknet' #48

Closed thedrewen closed 3 months ago

thedrewen commented 3 months ago

Hello, I'm trying to start piemc on linux and here's my error: ModuleNotFoundError: No module named 'pieraknet'

andiricum2 commented 3 months ago

Hi @thedrewen First of all, explain to you that even if you can start PieMC you will not be able to connect with your client, this is because PieMC is still in development. On the other hand, if you want to run PieMC you can install the requirements with pip install -r requirements, even if you still get the error, use pip install piebedrock and pip install pieraknet

Have a nice day :)

SixpennyYard commented 3 months ago

Their is an issue with PieRakNet. Even if we run pip install PieRakNet or -r requirement.txt it do not work. In fact it don't istall the code... don't know why.. To solve this issue I downloaded it manualy and moved it in the right folder. Here is the link: https://github.com/PieMC-Dev/PieRakNet

andiricum2 commented 3 months ago

Ok, thanks for letting us know, we will try to solve it as soon as possible

andiricum2 commented 3 months ago

Hi @SixpennyYard, I can install Pieraknet properly, can you try again please. image

SixpennyYard commented 3 months ago

Sure. I uninstall it. Next I try to install it back and only the description file were installed oon my device: image image on the second screen you may notice that the pieraknet file that should contain the code is missing... There is only this file: image

andiricum2 commented 3 months ago

I install Pieknet correctly. Can you send me more information about your Python version please?

image image

SixpennyYard commented 3 months ago

Sure, here are the informations: image

andiricum2 commented 3 months ago

I dont know why is happening that, ill investigate

andiricum2 commented 3 months ago

We just released a new version of PieRakNet! (https://github.com/PieMC-Dev/PieRakNet/commit/4ebc9cbd5cdcb49318a0aca66ca3789657a9b661)

Try installing it with pip install pieraknet or with pip install git+https://github.com/PieMC-Dev/PieRakNet.git

Let me know if it works for you or not,

Thanks 😇

SixpennyYard commented 3 months ago

It works, well done ! Let's start working on it..

skyss0fly-pm-pl commented 3 months ago

Issue resolved? Closing issue?

SixpennyYard commented 3 months ago

Issue resolved? Closing issue?

Yes, thank you