qBittorrent
qBittorrent copied to clipboard
Add an option to select Python location [OS: Windows] [Search engine]
Suggestion
Hi, I'm using the PortableApps.com version of qBittorrent. Also, the search engine of qBittorrent needs Python.
I want to use the qBittorrent search feature but don't want to install Python on my computer. Please add an option to qBittorrent app to select the Python location. I need it. Thanks.
Use case
No response
Extra info/examples/attachments
No response
just put python3.exe in workdir or add the path to python3.exe in %path% if it doesn't work out, contact the maintainer on PortableApps
just put python3.exe in workdir or add the path to python3.exe in %path%
OK, thanks but an option to choose the Python path is more suitable for me.
Why not add Python to the app? In some apps, this has been done. For example, Kodi app is built with C++, but since its add-ons require Python, Python is also included in the Kodi app.
if it doesn't work out, contact the maintainer on PortableApps
PortableApps.com version of qBittorrent, does not make any changes on the apps, for example, it does not add or remove a file or recompile the apps. That's why they won't add Python to this version unless you do.
OK, thanks but an option to choose the Python path is more suitable for me.
you're right - an option would be nice
Why not add Python to the app?
it's overkill.
If you use builds from PortableApps, then why don't you ask PortableApps to do it?
PortableApps.com version of qBittorrent, does not make any changes on the apps
this is not entirely true.
you're right - an option would be nice
Good 👍
it's overkill.
What do you mean?
this is not entirely true.
PortableApps.com version of apps are built with minimal changes, and most apps don't really change. For example, electron apps are executed as follows:
LosslessCut.exe --user-data-dir="..\..\Data"
Gentlemen, for users of PyEnv, this is just a must-have feature, because qBit tightly ignores the fact that pyenv is installed
this feature (in options) is by now urgent... :-\
Any update on this? Adding to PATH doesn't seem to work.
Any update on this? Adding to PATH doesn't seem to work.
Try this v. 5.0.0 beta
@jamesdeluk
Looks to work, thanks!
@xmha97 I think we can close ISSUE since in fact the expected feature has been added.
hey guys, @xmha97 @jamesdeluk , for those who don't want to use the beta version, you can just do the following:
cd path/to/qbittorrent
python -m venv venv
mklink python3.exe venv\Scripts\python.exe
mklink pyvenv.cfg venv\pyvenv.cfg
my python executable points to python 3.9 but python3 pointed to python 3.11 (which does not work with qbt), so these commands created a new venv for python3.9 and then created links for the executable and config for the venv. thank you @b-user for pointing out the ability to drop the python3.exe to app dir.
also you need to do it via administrator cmd or just allow your user to write to qbt dir. the whole process takes around a minute :)
also Poershell for some reason can't find and execute mklink, so you have to use cmd.exe