3

I get SyntaxError: invalid syntax

while trying to install biopython using the following command.

conda install -c anaconda biopython

Could you please help me install biopython in anaconda (3) ?

Nic3500
  • 8,144
  • 10
  • 29
  • 40
Jaswant S
  • 31
  • 1
  • 1
  • 2

3 Answers3

3

Open the terminal and export your path to anaconda:

export PATH=~/anaconda3/bin:$PATH

Then type:

conda install -c anaconda biopython
Zoe
  • 27,060
  • 21
  • 118
  • 148
3

Package maintainers recommend using (in the terminal):

conda install -c conda-forge biopython

We deliberately recommend using Biopython from the conda-forge channel, as this is usually up to date and covers Windows, Mac OS X and Linux. The default Conda channel does have Biopython, but is often out of date. https://biopython.org/wiki/Packages

Dmitri
  • 757
  • 1
  • 7
  • 15
2

Install Anaconda Navigator, go to "Environments" and select the appropriate environment (base or your own) and click "not installed". Scroll down to biopython click the box and then install...

M__
  • 614
  • 2
  • 10
  • 25