Once the path has been added, open a new command window and try to install a pip package to see whether the problem was solved. Here’s how to manually add pip to the PATH environment using the Windows GUI and command prompt. Screenshot showing all modules working for lesson 1.Fix 2: Add Pip to the PATH Environment Variable Python -c "import cv2 print (cv2._file_, cv2._version_)" Python -c "import sklearn-pandas print (sklearn-pandas._file_)" Python -c "import graphviz print (graphviz._file_)" Python -c "import torchtext print (torchtext._file_)" Python -c "import torchvision print (torchvision._file_)" Python -c "import torch print (torch._file_, torch._version_)" Python -c "import tqdm print (tqdm._file_, tqdm._version_)" Python -c "import pandas_summary print (pandas_summary._file_)" Python -c "import isoweek print (isoweek._file_, isoweek._version_)" python -c "import bcolz print (bcolz._file_, bcolz._version_)" Not sure why.Īfter installing, verify that Part 1 v2 Lesson1 requisites actually exist. Python -c "import seaborn print (seaborn._file_, seaborn._version_)"Īdditional installation for Part 1 v2 Lesson1 Jupyter notebook: SET PYTHONPATH= # Windows onlyĬonda install -c peterjc123 pytorch # for both Windows and Linux?Ĭonda install -c anaconda opencv # Linux onlyĬonda install -c conda-forge opencv # Windows onlyĮxecstack -c ~/anaconda3/lib/* # Linux only: I needed this to fix an execute stack error. Python -c "import matplotlib print (matplotlib._file_, matplotlib._version_)" Python -c "import keras print (keras._file_, keras._version_)" Python -c "import tensorflow print (tensorflow._file_, tensorflow._version_)" Python -c "import torch print (torch._file_)" Python -c "import jupyter print (jupyter._file_)" Python -c "import sys print (sys.version)" Verify that packages are installed and display version numbers: python -c "import sys print (sys.executable)" We’ve upgraded the packages that conda knows about but some packages are only known to pip. Make sure packages are updated: conda upgrade condaĬonda upgrade jupyter tensorflow-gpu keras matplotlib seaborn conda install tensorflow joblib keras matplotlib seaborn)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |