text: user1194: 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: 
   > 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.
   >>> import dendropy
   Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   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?
  
  user77: 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.
  
original_text: 1194: <p>I want to perform phylogenetic analysis using <a href="https://www.dendropy.org/" rel="nofollow noreferrer">Dendropy</a>. I have installed dendropy using command <code>sudo pip install -U dendropy</code> but when I import it in python3.5.1 it gives followinng error: </p>
  
  <pre><code> &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'
  </code></pre>
  
  <p>I again installed dendropy using the above given command as follows:</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>After doing this again the error remains the same and I am still not able to import dendropy, any solution to this problem?</p>
   77: <p>You should <strong>never</strong> install python packages as root or with <code>sudo</code>.</p>
  
  <p>You're already using conda, so <code>conda install -c bioconda -c conda-forge dendropy</code>.</p>
  