Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #196932
| From | dieter.maurer@online.de |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Correct module for site customization of path |
| Date | 2024-11-01 17:32 +0100 |
| Message-ID | <mailman.66.1730479505.4695.python-list@python.org> (permalink) |
| References | <adfac553-cac7-4441-b70a-9197723279d8@gmail.com> <26405.644.968594.532579@ixdm.fritz.box> |
> ... >After the recent upgrades I had to install youtube_dl with pipx for the >new python version. >When I ran the script which imported youtube_dl, I got an import error >as it appears the path to the module >was not in sys.path.... I see at several options: * install `youtoube_dl` where Python looks for it (you can print `sys.path` to find out all the places normally checked for importable modules) * put a (symbolic) link to `youtoube_dl` at a place where Python looks for modules * use Pythons' `.pth' feature to tell Python additional places where to look for modules. You can place `.pth` files where Python looks for modules to be imported
Back to comp.lang.python | Previous | Next | Find similar
Re: Correct module for site customization of path dieter.maurer@online.de - 2024-11-01 17:32 +0100
csiph-web