python


How to make Jupyter notebook use PYTHONPATH in system variables without hacking sys.path directly?


Same problem as in this question sys.path different in Jupyter and Python - how to import own modules in Jupyter?. In pure Python, it prepends my system environment variable PYTHONPATH to sys.path but Jupyter notebook doesn't, so I can't import my own module.
There are many similar questions asked on SO, and the solution is to directly manipulate sys.path in the script.
Is there a way to make Jupyter notebook use my system PYTHONPATH variable, as in pure python?

Related Links

Calculating the pixel size of a string with Python
Python nested lists and recursion problem
Problems PUTting binary data to Django
How to use long integers in Python to build a range?
Should I use Lex or a home-brewed solution to parse a formula?
Launching default application for given type of file, OS X
Python CGI script IOError Broken Pipe
Django, grouping query items
Regular expression works normally, but fails when placed in an XML schema
too many threads due to synch communication
How can I specify a relative path in a Python logging config file?
Python “draw() must be called with Label instance as first argument (got _WindowMetaclass instance instead)”
Writing to a file in Python inserts null bytes
Disable logging during manage.py test?
turbogears request/user object in templates and request context
Django date filter to output “am” or “A.M.”

Categories

HOME
google-apps-script
security
ibm-watson-cognitive
npm
visual-studio-2013
google-contacts
hana
yocto
tumblr
netflix-feign
uiactivityviewcontroller
flann
nuxt.js
cloudflare
riak-ts
cairo
google-people
attask
ios10.3
sql-update
sensu
epicor
samsung-mobile
rhmap
image-quality
dpi
autofill
invoke-command
cell-array
jboss5.x
gpib
encase
apache-cloudstack
rhino
passenger
jboss-esb
nodeclipse
android-download-manager
code-composer
stereo-3d
resuming-training
catia
z3py
onmouseover
aqgridview
azure-availability-set
nstouchbar
pinvoke
persistent
emoticons
addin-express
bettercms
gulp-typescript
sql-import-wizard
pdflib
icefaces
vst
ruby-2.0
multiple-file-upload
unsatisfiedlinkerror
supportmapfragment
matcaffe
pgm
adobe-indesign
google-hadoop
mdm-zinc
es2015
chaining
kendo-mvvm
mser
google-admin-audit-api
mov
humanizer
pic24
dbsetup
dvcs
late-static-binding
hamsterdb
cling
java.util.date
sslexception
multiple-login
nuspec
fileconveyor
appfog
trailing-slash
marmalade-edk
xgettext
datarepeater
supersized
ajax.beginform
nemerle
msbuildextensionpack
pivotal-crm
delegatecommand
lazy-c++
opcodes
project-lifecycle

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App