![]() ![]() ![]() To run this command in a notebook cell, add an exclamation point ("!") at the beginning of the command. To install the Python packages in the correct Conda environment, first activate the environment before running pip install or conda install from the terminal.įor example: sh-4.2$ source activate python3 This is because you're not installing the Python packages in the correct Conda environment. If you use pip or Conda to install Python libraries on the terminal without specifying the correct Conda environment, you get a ModuleNotFoundError when importing that Python package to your running notebook. Resolution Install Python packages to a specific Conda environment ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |