Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Pharmpy installation and setup #185

Open
5 of 12 tasks
rikardn opened this issue Dec 3, 2024 · 1 comment
Open
5 of 12 tasks

Improve Pharmpy installation and setup #185

rikardn opened this issue Dec 3, 2024 · 1 comment

Comments

@rikardn
Copy link
Contributor

rikardn commented Dec 3, 2024

  • check-function (verbose=True)

  • Find Python. Use reticulate.

  • Check Python version >= 3.11 (built into pharmr) Print Python path

  • Check if Pharmpy is available (reticulate::py_module_available)

  • Check if Pharmpy version matches pharmr version

  • Check if running in venv or not

  • Block reticulate autoinstall

  • Improve install_pharmpy

  • Check Python version

  • Improve setup of venv (first time). More control over reticulate

  • Do not use conda?

  • Run check-function

Python/Pharmpy installation cases:

  1. To be installed in venv by install_pharmr
  2. Installed into venv by user
  3. System Python
@stellabelin
Copy link
Contributor

Function check_setup() was added in cadbfde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants