Forums

Not recognizing installed packages

I followed the tutorial verbatim.

  1. Uploaded my working app from bitbucket
  2. Created a virtual environment using virtualenvironmentwrapper and Python 3.6
  3. Started my virtual environment and did a pip list. I should see all the installed packages in my site_packages directory that I installed when I created the app but I only see a few generic packages.

When I start the app live. I get an import error because the first package it uses is not recognized.

How do I configure this so the packages in my site_packages directory are used? Some sort of path issue?

silly question first: did you actually pip install your requirements.txt into your virtualenv?

Ah. That fixed it.

:)