Comments (7)
I had this in a previous version of the scripts, but took it out once deciding that these scripts should launch from the conda base environment. I don't have to do conda activate
before running the script, so I am somewhat skeptical of your assertion that that is necessary.
from ncar-python-tutorial.
This is tied to #92, right? If we don't want users to change (base)
then this functionality is needed.
@andersy005 I'm a little confused about how you worded the issue, though:
the ssh tunnel scripts in
scripts/jlab
require activating a conda environment withjupyter
installed in it prior launching./scripts/jlab/jlab-machine-name
script"
seems to imply you need to have access to jupyter
locally. That's not true, is it? You need to launch jupyter lab
on the remote machine in an environment with jupyter
(and, as @matt-long points out, currently the base
environment fits the bill but that might change in the future)
from ncar-python-tutorial.
Also, whether or not base
is activated depends on how the user has set up conda. For example, I have some old Python work that requires that I use the system-wide Python packages for the code to remain consistent. In order to prevent my conda install on Cheyenne from interfering with system packages, I have to disable autoactivation of the base
environment:
conda config --set auto_activate_base false
from ncar-python-tutorial.
...so, if it wasn't obvious from what I said, that means that I need to conda activate base
before doing anything.
from ncar-python-tutorial.
It seems to me that the best solution to accommodate everyone is to have the conda_env_name
default to base
.
from ncar-python-tutorial.
@mnlevy1981 You are correct that you need jupyter lab
in the remote machine's conda environment. But I actually think that was what @andersy005 meant. I think @andersy005 actually meant that you need to have jupyter
installed in the remote environment before you run the jlab-machine
script on your local machine.
from ncar-python-tutorial.
Closing this as it's being handled in https://github.com/NCAR/jupyter-forward
from ncar-python-tutorial.
Related Issues (20)
- Change to a Nikola site HOT 2
- Finish 0-30 Tutorial Content HOT 12
- Remove old Jekyll site
- Re-use "old-contents"? HOT 1
- Announcement Update for Spring 2020 Tutorial HOT 2
- Setup Instructions HOT 6
- Virtual Tutorial To-Do List - Part 1
- Grammar changes HOT 3
- Short Tutorial Seminar Series HOT 4
- Tutorial announcements HOT 1
- conda activate drops user in /
- bash kernel set x?
- Support self-guided as well as in-person tutorials HOT 2
- Edit tutorial notebooks to address common questions
- Remove need to change/update the user's base environment HOT 1
- Remove event-specific information from repo and make stand-alone (self-guided) HOT 1
- Update Pangeo kernel on JHub and use for tutorial HOT 3
- Pull SSH launch scripts into separate package HOT 5
- Curriculum for beginner, intermediate & advanced tracks? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ncar-python-tutorial.