title: Importing the Attention package in Keras gives ModuleNotFoundError: No module named 'attention'
body: <p>As part of my imports, I am importing the AttentionLayer package as follows:</p>
  
  <pre><code>from attention import AttentionLayer
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>ModuleNotFoundError: No module named 'attention'
  </code></pre>
  
  <p>I figured this might be because I need to pip install it so I tried based on other answers I found online a few pip installs I tried were:</p>
  
  <pre><code>pip install AttentionLayer
  pip install Attention 
  pip install keras-self-attention
  </code></pre>
  
  <p>All 3 of those give me:</p>
  
  <pre><code>Could not find a version that satisfies the requirement keras-self-attention (from versions: ) No Matching distribution found for....
  </code></pre>
  
  <p>Why am I not getting it to work and how can I fix it? </p>
  
  <p>I have a suspicion that it might be related to setting the pythonpath but I do not have admin rights to edit this at work.</p>
  
  <p>Thank you.</p>