added a lot of new scripts

This commit is contained in:
Dobromir Popov
2023-10-18 19:31:00 +00:00
parent 47e8b0105c
commit f82836130a
9 changed files with 106 additions and 28 deletions

39
linux/python env conda.md Normal file
View File

@ -0,0 +1,39 @@
setup miniconda:
# create env
conda create --name petals #python=3.10
conda create --prefix D:\conda\envs\node
conda activte
conda install pip
pip install -r requirements.txt
#pip install petals
pip install aider-chat
export OPENAI_API_KEY=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
set OPENAI_API_KEY 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
# remove > Remove all packages in environment
conda deactivate
conda env remove --name petals
# Remove all packages from environment `myenv` and the environment itself::
conda remove -n myenv --all
# conda install node
conda install -c conda-forge nodejs
conda update -c conda-forge nodejs
conda install -c conda-forge nodejs=18
# uninstall
conda uninstall nodejs
# get package location
pip show {package[pip]}
# install next (node)
npm install next
#} install nextjs
npm install next@latest react@latest react-dom@latest