This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install package | |
pip install keras | |
#Uninstall package | |
pip uninstall keras | |
#Install particular version of package | |
conda install python=3.5.3 | |
#Install particular version of package | |
conda install -c anaconda h5py=2.7.0 | |
conda install -c anaconda h5py=2.5.0 | |
conda install h5py | |
#Update package | |
conda update h5py | |
#Update Environment | |
conda update anaconda | |
#Update all packages | |
conda update --all | |
conda clean --all | |
conda update --all python=3.5.3 | |
#tensorflow installation commands | |
#To activate this environment, use: | |
activate tensorflow | |
#To deactivate this environment, use: | |
deactivate tensorflow | |
#deactivate tensorflow # start by deactivating the existing tensorflow env | |
# remove the env | |
conda env remove -n tensorflow | |
conda create -n tensorflow python=3.5.2 | |
activate tensorflow | |
(tensorflow) conda install spyder | |
pip install keras | |
conda install h5py | |
conda install tensorflow | |
conda install requests | |
conda install cython | |
pip install nltk | |
conda install scipy | |
conda install urllib3 | |
conda install numpy | |
conda install pandas | |
#Finally below command for spyder to work properly | |
conda update --all python=3.5.3 | |
pip install --upgrade --force setuptools | |
conda update qt pyqt | |
conda install spyder ipykernel=4.8.2 | |
pip install tensorflow==1.1 | |
pip install opencv-python | |
pip install opencv-contrib-python | |
conda install -c conda-forge tensorflow | |
#conda update spyder | |
#pip install -U spyder |
Happy Learning!!!
No comments:
Post a Comment