I encourage the OP and readers to also try pipenv. From the author of Requests it is like a breath of fresh air and gets the combination of pip and virtual environments just right. https://docs.pipenv.org/
Using jupyter notebooks with a virtual environment
11–18 of 18 posts
Re: Using jupyter notebooks with a virtual environment
#12Also consider using Conda - to replace and simplify use of venv and pip. http://stuarteberg.github.io/conda-docs/_downloads/conda-pip...
If I had to vote on: "There should be one-- and preferably only one --obvious way to do it." for Python dev, I would choose Conda so hard.
Re: Using jupyter notebooks with a virtual environment
#13I encourage the OP and readers to also try pipenv. From the author of Requests it is like a breath of fresh air and gets the combination of pip and virtual environments just right. https://docs.pipenv.org/
Re: Using jupyter notebooks with a virtual environment
#14For myself, i just activate the venv and then open a notebook in that terminal and it seems to work? never had to install any other libraries to handle the VENV + notebook combo.
Re: Using jupyter notebooks with a virtual environment
#15Re: Using jupyter notebooks with a virtual environment
#16I encourage the OP and readers to also try pipenv. From the author of Requests it is like a breath of fresh air and gets the combination of pip and virtual environments just right. https://docs.pipenv.org/
Looks awesome, but requirements.txt still seems pretty sufficient for me. Simple is better than complex :)
Re: Using jupyter notebooks with a virtual environment
#17Also consider using Conda - to replace and simplify use of venv and pip. http://stuarteberg.github.io/conda-docs/_downloads/conda-pip...
I agree 1000%! I honestly could not imagine using Jupyter without a virtual env. I don't worry about anything related to Python / virtual envs since I started using the Anaconda distribution. Further, every sciency tool is at my fingertips with almost ZERO configuration on my part... If I had to vote on: "There should be one-- and preferably only one --obvious way to do it." for Python dev, I would choose Conda so ha…
Re: Using jupyter notebooks with a virtual environment
#18Earlier quoted context omitted.
I agree 1000%! I honestly could not imagine using Jupyter without a virtual env. I don't worry about anything related to Python / virtual envs since I started using the Anaconda distribution. Further, every sciency tool is at my fingertips with almost ZERO configuration on my part... If I had to vote on: "There should be one-- and preferably only one --obvious way to do it." for Python dev, I would choose Conda so ha…
How do you develop new packages? I think conda-build develop is not maintained
Instead, I recommend creating whatever environment you want, activating it, and then running python setup.py develop or pip install -e . so that your package is installed in develop mode in that environment.