Installation on Ubuntu 23.04 #452
-
Hey! According to your instructions, it should be enough to install a pre-build distro package of So for Any ideas what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 5 replies
-
If it was taking a long time, it was likely building wxpython as they don't distribute wheels for Linux. You can manually download prebuilt wheels though for Ubuntu. You'll have to wait until I'm at my computer for more info. |
Beta Was this translation helpful? Give feedback.
-
Pre-built wheels are here: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/. I don't know if I'd have to spin up a virtual machine with Ubuntu 23.04 to see exactly what the requirements are. Linux is always a moving target, and wxPython doesn't distribute the wheels for the many Linux variations. |
Beta Was this translation helpful? Give feedback.
-
It seems that I can't use them with Isn't it so that packages installed from the distro's repository don't have to be built? According to here, installing So I assume that the endless installation process doesn't have to do with |
Beta Was this translation helpful? Give feedback.
-
Right now you've provided so few details that is difficult for me to guess what your issue is.
Without more details, all I can do is attempt to install it on a fresh Ubuntu virtual machine and see if there are any extra steps that are required due to missing dependencies. Even then, if there are things different in your environment, there could be gaps. I'm sorry that Linux installation is a pain, it has always been that way, unfortunately. The hardest part is always ensuring the basic dependencies are there. Once they are in place, wxpython being the biggest hurdle, things usually go smooth and quick. I can probably try installing this on an Ubuntu VM over the weekend and can note what I had to do to get it installed properly. |
Beta Was this translation helpful? Give feedback.
-
Hey!
|
Beta Was this translation helpful? Give feedback.
-
I think you would have to give it the full path to the wheel |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Moral of the story is that Ubuntu has made this even more unintuitive with their recent Python restrictions. Pipx is great at creating an "app", but each time it creates an "app", it does a completely clean environment and only installs what you ask it to, so it doesn't know wxpython was installed via Ubuntu's own curated packages. To get around that, you have to tell pipx that it needs to include such when creating your app. I will likely create a new section in the docs describing this. Sorry it took me a bit to answer this. I was pretty busy at work, then got pretty sick. |
Beta Was this translation helpful? Give feedback.
I've installed this on a fresh Ubuntu 23.04 in virtual box.
python3-wxgtk4.0
python3-wxgtk-webview4.0
pipx
creates by default:pipx install --system-site-packages rummage
Then I could access
rummage
: