Re:Using jupyter notebooks with a virtual environment
by gjlawran on Thursday November 02, 2017 @10:45AM
(#15610836)
Also consider using Conda - to replace and simplify use of venv and pip. http://stuarteberg.github.io/conda-docs/_downloads/conda-pip...
[ Parent
| on HN ]
Re:Using jupyter notebooks with a virtual environment
by monkmartinez on Thursday November 02, 2017 @11:40AM
(#15611375)
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 hard.
Re:Using jupyter notebooks with a virtual environment
by bocklund on Thursday November 02, 2017 @07:47PM
(#15615436)
How do you develop new packages? I think conda-build develop is not maintained
Re:Using jupyter notebooks with a virtual environment
by msarahan on Friday November 03, 2017 @09:44AM
(#15619132)
the develop command in conda-build is indeed not really kept up. From https://github.com/conda/conda-build/issues/1992#issuecommen... :
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.