Spyke

Replies

Comment on

Is desktop development still a thing?

Reply in thread

Oh I didn't consider these fields. When I see a company for hardware products I always think they're gonna make you program some microcontrollers or similar, with no OS involved. But it's true that many of them need to develop at least some software to interface with a OS. Thanks for sharing.

python

Comment on

ModuleNotFoundError when installing a package with entry points using pipx

Reply in thread

Yeah sorry I expressed myself wrongly, I mean that it looked like pipx didn't install the package in the dedicated venv, and that was actually the case because I didn't specify which packages to install in the pyproject.toml file apparently. I substituted these lines:

[tool.setuptools.packages.find]
where = ["energymonitor"]

[tool.setuptools.package-data]
data = ["data/*"]

with these lines:

[tool.setuptools]
packages = ["energymonitor"]
include-package-data = true

and it worked!

python

Comment on

ModuleNotFoundError when installing a package with entry points using pipx

Reply in thread

I tried to change both the project name, which was energy-monitor, and the package name (energymonitor) to be the same and I set both to energy_monitor, but nothing changes...but if I open the python shell in the same folder as the project I can import the energy_monitor package with no errors, as soon as I change folder it doesn't find the package anymore. It looks like it didn't install the package system wide, but I thought that pipx should handle these kind of things.

Comment on

Minecraft 1.20 new installation: worlds not present in "saves" folder

Reply in thread

I found out the issue was in the launcher I installed. I tried to look at the Game Directory but the launcher wouldn't open it. I then installed a launcher from another surce, which was the one recommended by the minecraft website (I know I should have used that from the beginning), and the game was correctly installed in the right directory. I was then able to see all my previous worlds correctly. For Arch linux users: the Flatpak version of the launcher didn't work correctly, at least for me, the AUR package is the correct one.

You reached the end