title: CLIPSpy: Getting "No module name 'clips._clips'" upon importing clips
body: <p>I have installed CLIPSpy from the git repository, and followed the instructions for installing with the source files. Yet after installing and running the python shell I get this error:</p>
  
  <pre><code>   `import clips
         .../clipspy/clips/__init__.py", line 30, in &lt;module&gt;
      from clips.error import CLIPSError
         .../clipspy/clips/error.py", line 32, in &lt;module&gt;
      from clips.router import Router
         .../clipspy/clips/router.py", line 7, in &lt;module&gt;
      from clips._clips import lib, ffi
   ModuleNotFoundError: No module named 'clips._clips'`
  </code></pre>
  
  <p>Despite this error, if I run the same commands outside of my CLIPSpy directory, I can import clips but get a different error.</p>
  
  <pre><code>&gt;&gt;&gt; import clips
  &gt;&gt;&gt; env = clips.Environment()
  &gt;&gt;&gt; env.assert_string("(test 12)")
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'Environment' object has no attribute 'assert_string'
  </code></pre>
  
  <p>My assumption is that <strong>ModuleNotFoundError</strong> may be responsible for the <strong>AttributeError</strong>.</p>
  
  <p><strong>OS:</strong> Arch Linux</p>
  
  <p><strong>git-repo:</strong> <a href="https://github.com/noxdafox/clipspy" rel="nofollow noreferrer">https://github.com/noxdafox/clipspy</a></p>
  
  <p>I followed the advice of specifying the directory of clips, <a href="https://stackoverflow.com/questions/6081317/using-pyclips-and-import-clips-as-a-python-module">using pyclips and import clips as a python module</a>, to specify the location of clips but it still gives me the same error.</p>
  
  <p>Installing CLIPSpy via <em>pip</em> gave 'satisfactory' results: <a href="https://stackoverflow.com/questions/51786945/modulenotfounderror-no-module-named-pygame">ModuleNotFoundError: No module named &#39;pygame&#39;</a></p>
  
  <pre><code>Requirement already satisfied: clipspy in /usr/lib/python3.7/site-packages/clipspy-0.3.2_2_g7dd9ca2-py3.7-linux-x86_64.egg (0.3.2-2-g7dd9ca2)
  Requirement already satisfied: cffi&gt;=1.0.0 in /usr/lib/python3.7/site-packages (from clipspy) (1.12.2)
  Requirement already satisfied: pycparser in /usr/lib/python3.7/site-packages (from cffi&gt;=1.0.0-&gt;clipspy) (2.19)
  </code></pre>
  
  <p>I tried re-installing clipspy via github many times, but the same issue persists. The interesting part is that I used pyclips as alternative for a while and it gave me the same error. It might be something to do with the directory or the installation, but I am not sure what it could be. </p>
  
  <p>The installation process for CLIPSpy was as follows:</p>
  
  <p><strong>make:</strong></p>
  
  <pre><code>python setup.py build_ext --include-dirs clips_source           \
          --library-dirs clips_source
  /usr/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('0.3.2-2-g7dd9ca2') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
    "details." % self.metadata.version
  running build_ext
  generating cffi module 'build/temp.linux-x86_64-3.7/_clips.c'
  already up-to-date
  </code></pre>
  
  <p>I tried re-installing setuptools to see if I could get a valid dist.py version, but alas nothing has changed.</p>
  
  <p><strong>sudo make install:</strong></p>
  
  <pre><code>....
  Installed /usr/lib/python3.7/site-packages/clipspy-0.3.2_2_g7dd9ca2-py3.7-linux-x86_64.egg
  Processing dependencies for clipspy===0.3.2-2-g7dd9ca2
  Searching for cffi==1.12.2
  Best match: cffi 1.12.2
  Adding cffi 1.12.2 to easy-install.pth file
  
  Using /usr/lib/python3.7/site-packages
  Searching for pycparser==2.19
  Best match: pycparser 2.19
  Adding pycparser 2.19 to easy-install.pth file
  
  Using /usr/lib/python3.7/site-packages
  Finished processing dependencies for clipspy===0.3.2-2-g7dd9ca2
  </code></pre>
  
  <p>The solution could be something simple, but I can't seem to know what it is.</p>
  
  <p>Any help or advice on what to do or where I went wrong would be greatly appreciated.</p>
  
  <p><strong>EDIT 1:</strong>
     After removing files related to clips, and having a fresh install, I no longer receive the <strong>Atribute Error</strong>. Rather I get an <strong>ImportError</strong></p>
  
  <pre><code>File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/usr/lib/python3.7/site-packages/clipspy-0.3.1-py3.7-linux-x86_64.egg/clips/__init.py", line 30, in &lt;module&gt; from clips.error import CLIPSError
  File "/usr/lib/python3.7/site-packages/clipspy-0.3.1-py3.7-linux-x86_64.egg/clips/error.py", line 32, in &lt;module&gt; from clips.router import Router
  File "/usr/lib/python3.7/site-packages/clipspy-0.3.1-py3.7-linux-x86_64.egg/clips/router.py", line 7, in &lt;module&gt; from clips._clips import lib ffi
  
  Import Error: libclips.so: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>I've cloned the git repository that contains tag 3.2</p>
  
  <p><strong>EDIT 2:</strong>
     Managed to fix the error by renaming the <em>libclips.so.6</em> file located in the <strong>/usr/lib/</strong> folder to <em>libclips.so</em>
  Now it works.</p>