Closed gunnar12 closed 4 years ago
same easy-install-MESS.pth in WIndows (except I had 3-4 from diff Win installations, the way my search engine found them)
C:\Users\xxxxxxr\AppData\Roaming\Python\Python37\site-packages\easy-install.pth
WHO PUT THE 236 version at the top!! SUDDENLY!!
./yle_dl236-2.36-py3.7.egg yyy xxxx
xxx ./yle_dl_1025-20191022-py3.7.egg ./yle_dl-20190614-py3.7.egg ./yle_dl2331-2.3313-py3.7.egg ./yle_dl3015-2.305g1w-py3.7.egg ./yle_dl23015-2.305g1w-py3.7.egg
PS Seems to be only one easy..pth file in windos! (if only one python version installed)
Guess I have to list it on the screen
If you want to switch between several versions of yle-dl, I recommend using virtual environments. A virtual environment is a self-contained directory where you can install one version of yle-dl with its dependencies. You can control which version of yle-dl is being used by activating one of the virtual environments.
Any windows and Linux help, wrong code is run, usually some old version.
It seems Python every now and then messes up what "egg-code" it should run.
Instead of picking what I compiled 2 seconds ago it starts some old yle-dl compiled code.
At the moment my windows versions got stuck like this.
the actual code python starts is version 2.36 from somewhere..
ANy explanation on how Pyhthon does, handles, etc "these things" on some link somewhere. Both Linux and Windows.
Any systematic way to track down the problem when this happens?? yle-dl-script?? cfg?? all the shxt in that windows python dir-tree? (which saves evry compilation version I ever did??)
Same for Linux?? (additionally the normal user and root difference)
PS on linux theres this, actually tons of them, easy-install??path file? Usually needs clean up, many yle-dl entries, always pick first, but the new compilation goes last?
But there many of these file, hoe to track down which one is used, as root and as normal user?