Skip to content

Prompt before installing python dependencies #157

Description

@JosiahParry

I wanted to give ragnar a shot. Below is my experience. I was first of all surprised to see that it installed python, downloaded ~100mb of dependencies, and didn't tell me where it did so.

As a request I would ask that ragnar:

  1. asks before installing python and dependencies,
  2. that it report where these are being installed,
  3. l'd ask that ragnar expose a function to identify the python environment location so that one can remove it if wanted
> pak::pak("ragnar")
                                      
→ Will install 1 package.
→ Will download 1 package with unknown size.
+ ragnar   0.2.1 🔧 ⬇
ℹ Getting 1 pkg with unknown size
✔ Got ragnar 0.2.1 (aarch64-apple-darwin20) (3.14 MB)
✔ Downloaded 1 package (3.14 MB) in 637ms
✔ Installed ragnar 0.2.1  (55ms)
✔ 1 pkg + 45 deps: kept 37, added 1, dld 1 (3.14 MB) [1.9s]
> ragnar::read_as_markdown(doc_urls[1])
Downloading cpython-3.12.12-macos-aarch64-none (download) (16.2MiB)
 Downloaded cpython-3.12.12-macos-aarch64-none (download)
Downloading jedi (1.5MiB)
Downloading numpy (4.9MiB)
Downloading sympy (6.0MiB)
Downloading cryptography (6.9MiB)
Downloading magika (12.7MiB)
Downloading pdfminer-six (5.4MiB)
Downloading pygments (1.2MiB)
Downloading youtube-transcript-api (2.1MiB)
Downloading pandas (10.2MiB)
Downloading debugpy (2.4MiB)
Downloading pillow (4.4MiB)
Downloading lxml (8.3MiB)
Downloading onnxruntime (16.4MiB)
Downloading pyzmq (1.2MiB)
Downloading speechrecognition (31.3MiB)
 Downloaded pyzmq
 Downloaded pygments
 Downloaded jedi
 Downloaded youtube-transcript-api
 Downloaded debugpy
 Downloaded pillow
 Downloaded numpy
 Downloaded pdfminer-six
 Downloaded sympy
 Downloaded cryptography
 Downloaded lxml
 Downloaded pandas
 Downloaded magika
 Downloaded onnxruntime
 Downloaded speechrecognition
Installed 79 packages in 348ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions