How do I properly setup pipenv in PyCharm? : <p>I need krakenex in a project, so I import it with</p>

<pre><code>import krakenex
</code></pre>

<p>I have one version of krakenex in </p>

<blockquote>
  <p>/Users/x/Library/Python/3.6/lib/python/site-packages</p>
</blockquote>

<p>. When I execute the script and</p>

<pre><code>print(krakenex)
</code></pre>

<p>it shows me the path mentioned above.</p>

<p>In the future, I want to use the modules from the packages I installed with e.g.</p>

<pre><code>pipenv install krakenex
</code></pre>

<p>with priority.</p>

<p>How do I manage to do that? Is it sufficient to add the path of the virtual environment to the sys path, or is there a more elegant way?</p>
