Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Install Python Modules From Emacs

Testing : get the latest file path _ with :

python
import sys

python_path = sys.executable

print(python_path)
results start

Verify [TODO: Code shorthand span ] is there then run this :

/opt/homebrew/opt/python@3.10/bin/pip3 install beautifulsoup4

That'll give you something like this if the modules hasn't been installed yet :

#+begin _ example Collecting beautifulsoup4 Using cached beautifulsoup4 - 4.11.1 - py3 - none - any.whl (128 kB) Collecting soupsieve > 1.2 Using cached soupsieve - 2.3.2.post1 - py3 - none - any.whl (37 kB) Installing collected packages : soupsieve, beautifulsoup4 Successfully installed beautifulsoup4 - 4.11.1 soupsieve - 2.3.2.post1 #+end _ example

Then you can use it with :

python
from bs4 import BeautifulSoup
results start