Rookie python

When running in a virtualenv don’t forget to source bin/activate

Install packages using pip e.g. pip install beautifulsoup4

Create a REQUIREMENTS file using pip freeze and load using pip install -r REQUIREMENTS

Creating a module you need in the directory in order to import successfully otherwise you’ll get AttributeError: 'module' object has no attribute 'xxxx'

Leave a comment

Your email address will not be published. Required fields are marked *