The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Install Python Modules From Emacs

TODO: Pull subtitle into page object code_start_default_section code_end_default_section
Results


Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Install Python Modules From Emacs

Testing: get the latest file path _with:

-- code/
-- python


import sys

python_path = sys.executable

print(python_path)

-- /code

-- results/

/opt/homebrew/opt/python@3.10/bin/python3.10

-- /results

-- p

Verify `pip3` is there then run this:

-- code/
-- shell

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

-- /code

-- p

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

-- p

#+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

-- p

Then you can use it with:

-- code/
-- python


from bs4 import BeautifulSoup

-- /code



-- results/

-- /results

-- categories
-- Python 

-- metadata
-- date: 2021-05-29 13:14:47
-- id: 01f6whxz
-- status: published 
-- type: post
-- SCRUBBED_NEO: false
-- site: aws