How can I install a conda environment when offline?
You could try cloning root which is the base env. conda create -n yourenvname –clone root
You could try cloning root which is the base env. conda create -n yourenvname –clone root
You can launch shell commands with the ! operator in ipython, but you can’t interact with them after the process has launched. Therefore, you could: execute your conda command outside of your ipython session (IOW, a normal shell); or pass the –yes flag. e.g.: !conda create -n graphlab-env python=2.7 anaconda -y
Run this on the terminal: $ conda config –set changeps1 False http://conda.pydata.org/docs/config.html#change-command-prompt-changeps1
In my case, using a pre-existing virtualenv did not work in the editor – all modules were marked as unresolved reference (running naturally works, as this is outside of the editor’s config, just running an external process (not so easy for debugging)). Turns out PyCharm did not add the site-packages directory… the fix is to … Read more
To run anaconda-navigator: $ source ~/anaconda3/bin/activate root $ anaconda-navigator
To install all of the packages that Continuum includes in its default Anaconda installer, the simplest command is this: conda create -n env_full anaconda This will install the latest version of the anaconda package set, as compiled for your default version of Python (the one you used to install Anaconda originally). If you’d like to … Read more
I will disagree with the accepted response and note that pip install [some-pypi-package] is often the best way to install PyPi packages in Conda environments. While the packages won’t be managed by the Conda package manager, they will still be managed by the Anaconda environment. It will download the correct version of the package for … Read more
jupyter notebook –ip=0.0.0.0 –port=80 or ipython notebook –ip=0.0.0.0 –port=80 is what i did to run ipython in my vagrant box. (Opened up the ports on the vagrant box to access it on my host mac) usage: ipython [-h] [–certfile NOTEBOOKAPP.CERTFILE] [–ip NOTEBOOKAPP.IP] [–pylab [NOTEBOOKAPP.PYLAB]] [–log-level NOTEBOOKAPP.LOG_LEVEL] [–port-retries NOTEBOOKAPP.PORT_RETRIES] [–notebook-dir NOTEBOOKAPP.NOTEBOOK_DIR] [–config NOTEBOOKAPP.CONFIG_FILE] [–keyfile NOTEBOOKAPP.KEYFILE] [–port … Read more
“Have you tried turning it off and on again?” (Roy of The IT crowd) This happened to me today, which is why I ended up to this page. Seeing that error was weird since, recently, I have not made any changes in my Python environment. Interestingly, I observed that if I open a new notebook … Read more
If you use conda, try with these two commands: conda install nomkl numpy scipy scikit-learn numexpr conda remove mkl mkl-service It should fix your problem.