[GUIDE] Python for the search engine if you have PyEnv-win #19046
bropines
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think some of the people use some of their python, which is in some folder somewhere on the PC, but Qbit does not see it, because it checks the default paths. It would be great to specify your path to the python file, but apparently everyone is too busy to make this function. This guide is for those who do not want to install the python offered by qbit and still want to use the search engine.
For PyEnv-win users. (for linux, roughly similar steps)
All according to the standard put the python we need (e.g. 3.10)
Check that Python is installed
Go to the folder with qbittorrent (usually C:\Program Files\qBittorrent) and open the console, where you write
After waiting a bit, we will have a virtual copy of python, especially for qbit.
Now you can create a bat file (in the folder with qbit) with the following content and make a shortcut to it somewhere on your computer
If you have your own python, somewhere in a folder and not installed in Path(you are weird) then just create a venv via
Yes, this is a crutch, a very strange crutch, but it works. If you need to make this crutch run every time you start the
.torrent
file, create a new batch file with the following contentAnd now, when you right-click on the
.torrent
file, select open with, and there already specify the path to your bat file (this bat file should be in the same place as venv, that is, in the folder with qbittorrent) and already click use always.I'm not a pro, and this can be greatly facilitated, but it works for me, and ok.
Beta Was this translation helpful? Give feedback.
All reactions