Spyder can not import plyfile
<p>I have installed plyfile in the Scripts subdirectory of the Anaconda3 (I run Windows 10), using the pip3.  When I enter the command 
    import plyfile
in the Python 3.5 Shell, the command is executed without problems.<br>
But when I move to Spyder and I enter the same command in the console I receive an error message:</p>

<pre><code>   import plyfile
   Traceback (most recent call last):

   File "&lt;ipython-input-3-db7ef797d821&gt;", line 1, in &lt;module&gt;
   import plyfile

   ImportError: No module named 'plyfile'
</code></pre>

<p>I tried to add the path of the file to the environment using the Windows Commander and giving at the C:\ the command:</p>

<pre><code> sys.path.append(C:\Users\Alexandros_7\Downloads\plyfile-0.4)
</code></pre>

<p>but I received the error message:</p>

<pre><code> "sys.path.append" is not recognized as an internal or external command, operable program or batch file
</code></pre>

<p>I also tried the following commands from the console of Spyder: </p>

<pre><code>  import sys
  sys.path.append("C:\\Users\\Alexandros\\Downloads\\plyfile")
</code></pre>

<p>These commands were executed without a problem.  Then I entered, import plyfile and I received the same error message -- i.e. that "No module named "plyfile"".</p>

<p>Could you please help me?</p>

<p>try give Spyder the same environment paths like Anaconda, in your case the path to the installed plyfile eg.:</p>

<p>your_module is located in: "C:\Users\Alexandros\your_module.py"</p>

<p>in Spyder:
lets add the located path to the system environment</p>

<pre><code>import sys
sys.path.append("C:\Users\Alexandros\") #need string
</code></pre>

<p>lets import your module</p>

<pre><code>import your_module
reload(your_module)
</code></pre>

python