Python 相关

mac2025-08-02  4

jupyter notebook py2 py3

装xgboost https://blog.csdn.net/Joyeishappy/article/details/84881651anaconda 装python2 https://www.cnblogs.com/gaofighting/p/9927692.html装默认搜不到的包 https://blog.csdn.net/lvsehaiyang1993/article/details/8061949装多用户版本jupyterlab https://gist.github.com/tanbro/a94bfa4a552381f599e7e6b551ccadcf添加Kernel https://blog.csdn.net/minione_2016/article/details/80800406

nltk包

https://blog.csdn.net/Csharp289637169/article/details/54344260

conda使用

conda search nltkconda install --use-local (放在Anaconda3/pkgs下的tar.bz2)source activate namespacesource deactivateconda list #列出安装包conda install ipykernel; python -m ipykernel install --user --name pytorch --display-name "pytorch(py36)" #将环境导入jupyternotebookconda list env #列出环境conda create -n env_name python=2 list_of_packagesconda env remove -n env_name conda env export > environment.yaml ; conda env create -f environment.yaml #导出/使用环境配置anaconda 修改源 https://www.jianshu.com/p/21f35cb966fc

 

最新回复(0)