Since YunoHost currently fails to run JupyterLab I need to install it manually.. I just posted this on Gab
I would like to install JupyterLab on a remote non-production Debian 10 VPS, staring it automatically, and running any instances or "virtual environments" as non-root. This is what I did so far:
# apt install python3 python3-venv
# apt install virtualenv python3-virtualenv
# apt install pipenv
# pipenv install jupyterlab
At this point I ran these commands I believe show what I wanted to see...
root@remotevps:~# pipenv --venv
/root/.local/share/virtualenvs/root-BuDEOXnJ
root@remotevps:~# pipenv --py
/root/.local/share/virtualenvs/root-BuDEOXnJ/bin/python
root@remotevps:~# pipenv --where
/root
I hope this left the root environment as it should be, nothing is installed or pointing to /root
Part II - Creating a non-priviledged user (but adding it to the sudoers)
adduser remote_user
usermod -aG sudo remote_user
usermod --shell /bin/sh remote_user
su -l remote_user
So my current status is:
$ pipenv --venv
No virtualenv has been created for this project yet!
$ pipenv --py
No project found!
$ pipenv --where
No Pipfile present at project home. Consider running `pipenv install` first to automatically generate a Pipfile for you.
I did not create any virtualenv as root, and nothing is created (yet) for this user. Anyone could explain what is happening so far, and what should I do next?
Thanks!