Comments (6)
- enabling the extension with --sys-prefix should require the same privileges as the pip install.
- indeed it should create a directory in sys.prefix
- if your sys-prefix is a subdirectory of home, these should not require sudo privileges
I don't know what is going on here. What is the os exactly?
from jupyter_core.
indeed it should create a directory in sys.prefix
Which it does correctly. However, it additionally does something in $HOME
.
if your sys-prefix is a subdirectory of home, these should not require sudo privileges
sys.prefix
is not inside $HOME
in this case. This issue is for the situation where I have access to sys.prefix
but not to $HOME
. You could correctly argue that this is an unusual situation. Still, when installing stuff as root
I don't want Jupyter to create /root/.jupyter
.
What is the os exactly?
Linux sage4 3.2.1-gentoo-r2 #15 SMP Tue May 15 10:40:50 CEST 2012 x86_64 Intel(R) Xeon(R) CPU X5660 @ 2.80GHz GenuineIntel GNU/Linux
from jupyter_core.
File "/home/worker/sage-patchbot/local/lib/python2.7/site-packages/jupyter_core/application.py", line 243, in initialize
self.migrate_config()
It's the base Jupyter application trying to migrate IPython config to Jupyter. It will skip this if either:
~/.jupyter/migrated
exists, or~/.ipython
does not exist
You could also set JUPYTER_CONFIG_DIR
to a writeable scratch directory to have it operate there instead.
from jupyter_core.
It will skip this if either:
~/.ipython does not exist
No, it does not. In my case, $HOME/.ipython
does not exist. In fact, $HOME
is almost empty (containing a hand-picked minimal set of things that I need).
from jupyter_core.
But since I am guessing you are talking about a sagemath install you may have ~/.sage/ipython
and the variable IPYTHONDIR
points there in your environment.
from jupyter_core.
closing this due to inactivity,
Happy hacking!
from jupyter_core.
Related Issues (20)
- Make JUPYTER_PREFER_ENV_PATH=1 default HOT 15
- Jupyter Core 5.0 Major Release HOT 9
- 5.0 changelog HOT 1
- ModuleNotFoundError: No module named 'jupyter_core' HOT 3
- Current working directory not anymore in config_dir HOT 1
- 6.0: Change Default for JUPYTER_PLATFORM_DIRS to "true" HOT 3
- Deprecation warning for platform dirs affecting downstream CI tests HOT 1
- Feature request: do not prefer env path if it is not writeable HOT 6
- uncaught error in directory ownership check HOT 2
- Jupyter in pyenv can't find subcommand when python is called directly HOT 3
- paths: option to exclude user directories HOT 1
- jupyter_core package requires invalid pywin32 version HOT 1
- There are conflicts between the modules of the dependencies.
- migrated marker may seem not to exist if os.stat not allowed
- FAILED tests/test_troubleshoot.py::test_troubleshoot HOT 1
- Draft7Validator(TyperError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry' HOT 23
- Regression: Error when config dir is readonly (Worked before) HOT 2
- 0.5.6 causes "This event loop is already running" Error HOT 2
- `__version__` attribute no longer available HOT 8
- win32api Paths.py
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 jupyter_core.