Search code examples
pythonanacondajupyter-notebookprettytable

Unable to install prettytable in anaconda


I want to install prettytable package in anaconda. To install this package with conda I have run:

conda install -c synthicity prettytable

and received the following error:

(base) C:\Users\hp>conda install -c synthicity prettytable
Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - anaconda==5.2.0=py36_3
  - prettytable
Use "conda info <package>" to see the dependencies for each package.

I've no idea what conflict is it. and couldn't find any solution to this problem. Can someone please help me?


Solution

  • Run Anaconda prompt as administrator and run this command

    pip install PrettyTable

    for window users only.