Comments (3)
This one is still happening. Windows setup to be precise. All users had it today (6).
Removing single quotes indeed solved the problem.
from data-setup.
from data-setup.
Spent a bit more time on this (many Windows laptops in my batch).
The problem only occurs when a BROWSER
env variable is added to .zshrc
.
In the setup, we
export BROWSER
only forgh
, not forjupyter
. Later, when students setup dotfiles, we don't have theexport BROWSER
anymore. On some laptops this works fine (mine doesn't needBROWSER
and opens my browser nicely when usinggh browse
andjupyter notebook
. But on some students' laptops this doesn't work, and they needBROWSER
to be set. If then the line is used as during the setup, it doesn't work because of the extra quotes.
Underlying problem is that gh
and jupyter notebook
expect the path in a different format:
gh
needsexport BROWSER="'/mnt/c/Program Files/Google/Chrome/Application/chrome.exe'"
(mind the extra quotes)jupyter notebook
needsexport BROWSER="/mnt/c/Program Files/Google/Chrome/Application/chrome.exe"
(no extra quotes)
Fortunately gh
now supports an env variable called GH_BROWSER
, which has higher prio than BROWSER
.
So, adding the following to .zshrc seems to always work:
# Browser
export BROWSER="/mnt/c/Program Files/Google/Chrome/Application/chrome.exe"
export GH_BROWSER="'/mnt/c/Program Files/Google/Chrome/Application/chrome.exe'"
Could be useful to add this to the end of the setup?
Or, in the first part of the setup, where BROWSER
is exported for use by gh
, maybe replace it with GH_BROWSER
to avoid confusion.
from data-setup.
Related Issues (20)
- Bump mlflow version to > 1.26 HOT 7
- python --version showing a different installation / not the pyenv version HOT 1
- myriad clone instructions : validate ssh-add
- Python packages step: error in "visions" requirement results in pip install failing HOT 1
- Apple Silicon - students need to manually install tensorflow-macos HOT 2
- Dependency conflict in python packages (nbclassic==0.4.6) HOT 1
- jupyter notebook extensions - no extensions tab HOT 1
- Ubuntu [No WSL] VSCode install HOT 5
- deal with automatic updates automatically
- Importing tensorflow breaks the python kernel HOT 1
- setup validation : assess TF + jupyter notebook
- evaluate changes on setup caused by wsl store availability
- generate en_US.UTF-8 locale HOT 3
- fix student and glovebox sqlite versions HOT 2
- Microsoft Store - Ubuntu
- fix scipy version to 1.10.0
- m1 student and brew HOT 4
- "Linking your default browser to Ubuntu" is outdated HOT 1
- apt-key is deprecated
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 data-setup.