Skip to content

Commit

Permalink
install ssl by default
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jan 28, 2025
1 parent f18652d commit f8c6c6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ async function getPyodideEnv(): Promise<PyodideEnv> {
message: `Python: ${pv.major}.${pv.minor}.${pv.micro} Pyodide: ${pyodide.version}`,
})
setupStreams(pyodide)
await pyodide.loadPackage(['micropip', 'pygments'])
// pygments seems to be required to get rich to work properly, ssl is required for FastAPI
await pyodide.loadPackage(['micropip', 'pygments', 'ssl'])

const dirPath = '/tmp/pydantic_run'
sys.path.append(dirPath)
Expand Down

0 comments on commit f8c6c6d

Please sign in to comment.