How to use ffmpeg on jupyter7/21/2023 ![]() ![]() Remove the () code from your notebooks and restart them and you should be good to go. So, click ‘Save’ farther down at the bottom of the Environment Variables box and you are done. Paths in environment variables such as PYTHONPATH need to be separated with a semicolon, “ ” … like this: ‘C:\users\name\code\my-library111′ ’C:\users\name\code\my-library222′ ’C:\users\name\code\my-librar圓33’ But I like to add PYTHONPATH to keep it logically separate from the generalized Windows system ‘path’ variable). If it’s not there, click “New” and add PYTHONPATH (if you have an existing ‘path’ variable, simply edit it. If yes, select it and click “Edit” and add additional paths as needed. Next, in the Environment Variables section (see image below), check if you already have PYTHONPATH. On your system (for Windows 10, enter the following in the “Type here to search” box, screen bottom left), search for “control panel” then in the upper right of the panel, search for “environment” and click on “Set your environment variables” ![]() Drove me nuts.Īdd your Python object path(s) to “PYTHONPATH” or an existing “path” entry in your system environment variables (via the Windows Control Panel). But when I started a new notebook, I always had to include () again at the top of each new notebook. ![]() (‘C:\users\name\code\my-Python-object-location’)ĭoing so made the path (temporarily) part of sys.path for as long as that session was active. In Jupyter, when I was a newbie, I often needed to reference some Python library code located in some weird place on my PC, so I did this at the top of each Jupyter notebook I created: ![]()
0 Comments
Leave a Reply. |