python help / version (from command line)
> python -h # List the available parameters
> python -V # show version`
To get a list of locally installed Python modules
>>> help('modules')
or from command line (if you have pip installed):
> pip list
or
> python -c help('modules')
How to install a package?
conda example:
> conda install -c cogsci pygame
to install a conda or pip package if it is locally available:
> conda install <package-file-name>.tar.bz2
or
> pip install <package-file-name>.whl
to install a package if the package source code is at the local:
> python setup.py install
conda version:
> conda -V
update conda itself:
> conda update conda
整個更新Anaconda
> conda update anaconda
Written with StackEdit.
沒有留言:
張貼留言