0

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?

Zara Khan
  • 134
  • 2
  • 16
  • The error message seems pretty clear - there is a conflict between the anaconda package and the prettytable package. You need to create a new environment that does not include the anaconda package to be able to install the prettytable package. – darthbith Oct 08 '18 at 13:25

2 Answers2

4

Try one of the following

1) conda install -c conda-forge prettytable
2) conda install -c conda-forge/label/gcc7 prettytable

first one worked for me.

2

Run Anaconda prompt as administrator and run this command

pip install PrettyTable

for window users only.

Zara Khan
  • 134
  • 2
  • 16
  • I would suggest to install PTable, it's a fork copy of prettytable, but have more feature. – Niuya Dec 12 '18 at 09:42