Issues installing Dendropy I want to perform phylogenetic analysis using Dendropy. I have installed dendropy using command sudo pip install -U dendropy but when I import it in python3.5.1 it gives followinng error: 

 &gt; python3
   Python 3.5.1 |Anaconda 2.5.0 (64-bit)| (default, Dec  7 2015, 11:16:01) 
   [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
   Type "help", "copyright", "credits" or "license" for more information.
 &gt;&gt;&gt; import dendropy
 Traceback (most recent call last):
 File "&lt;stdin&gt;", line 1, in &lt;module&gt;
 ImportError: No module named 'dendropy'


I again installed dendropy using the above given command as follows:

sudo pip3 install -U dendropy
Requirement already up-to-date: dendropy in /usr/local/lib/python3.5/dist-packages (4.4.0)
Requirement not upgraded as not directly required: setuptools in /usr/local/lib/python3.5/dist-packages (from dendropy) (39.2.0)


After doing this again the error remains the same and I am still not able to import dendropy, any solution to this problem?
You should never install python packages as root or with sudo.

You're already using conda, so conda install -c bioconda -c conda-forge dendropy.