Hello, my name is Jan Jarfalk and I am an interaction designer and interface developer.

I’ve been working professionally with the web since 2002. Back then I had my own company and did everything myself. Now I am a bit more specific - I do usability, accessibility and a lot of client side coding. This, Unwrongest, is my personal lab. This is where I try, learn and evolve.

I am a Swedish citizen from Stockholm that currently lives and works in Sydney, Australia. From here I work for Getupdated's Stockholm based division 'Social Media', where we help our clients to create social networks.

I put function, before design. I love beautiful interfaces, but I like them simple and obvious. I like things that are fast and responsive. Take a look at my projects and I am certain you will notice and appreciate my slipstreamed approach.

The problem is your python path, or rather the lack of one. You need to set environment variable PYTHONPATH to the absolute path of the missing module. One way of doing it is to append the path with in python.

The problem is your python path, or rather the lack of one. You need to set environment variable PYTHONPATH to the absolute path of the missing module. One way of doing it is to append the path with in python.

import sys
sys.path.append('/path/to/module')

Here is example from the real world. When I tried to compress the Netflixprize dataset using the pythonscript pyflix it returned this error.

Traceback (most recent call last):
  File "pyflix/setup.py", line 13, in 
    from pyflix import timeCall
ImportError: No module named pyflix

My solution to the problem was to add two lines of code in the beginning of setup.py. Notice the import on line seven and the appending of a path on line eight.

#!/usr/bin/env python

'''Script for generating the indexed binary datasets.'''

#==== imports ==================================================================

import sys
sys.path.append('/users/janjarfalk/projects/netflixprize/pyflix-0.1')

import cPickle
from operator import itemgetter
from optparse import OptionParser, make_option

import numpy as N

from pyflix import timeCall

Comments

Make a comment