title: Importing neo4j with py2neo
body: <p>I am unable to import 'neo4j' using py2neo. When I do the following;</p>
  
  <pre><code> from py2neo import neo4j
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>  cannot import name 'neo4j' 
  </code></pre>
  
  <p>My py2neo version is 3.1.2</p>
  
  <p>The output for the following is:</p>
  
  <pre><code>dir(py2neo)
  
  ['BoltDataSource', 'BoltNode', 'BoltPath', 'BoltRelationship', 'BoltTransaction', 'ClientError', 'Commander', 'ConstraintError', 'Cursor', 'CypherSyntaxError', 'CypherTypeError', 'CypherWriter', 'DBMS', 'DataSource', 'DatabaseError', 'Entity', 'Forbidden', 'Graph', 'GraphDatabase', 'GraphError', 'HTTPDataSource', 'HTTPResponse', 'HTTPTransaction', 'JAVA_INTEGER_MAX_VALUE', 'JAVA_INTEGER_MIN_VALUE', 'JSONResponse', 'Mapping', 'NOT_FOUND', 'Node', 'NodeSelection', 'NodeSelector', 'OrderedDict', 'PRODUCT', 'PULL_ALL', 'Path', 'PropertyDict', 'RUN', 'Record', 'Relatable', 'Relationship', 'RemoteEntity', 'ReprIO', 'Resource', 'ResourceTemplate', 'Response', 'Schema', 'ServerAddress', 'ServerAuth', 'ServerError', 'ServerPlugin', 'SetView', 'StringIO', 'Subgraph', 'ThreadLocalEntityCache', 'Transaction', 'TransactionFinished', 'TransientError', 'UNAUTHORIZED', 'URI', 'Unauthorized', 'UnmanagedExtension', 'Walkable', 'Watcher', '__author__', '__builtins__', '__cached__', '__copyright__', '__doc__', '__email__', '__file__', '__license__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'auth', 'authenticate', 'b64encode', 'basic_auth', 'bolt_hydrate', 'caching', 'cast', 'cast_node', 'cast_relationship', 'chain', 'client_errors', 'coerce_atomic_property', 'coerce_property', 'compat', 'cypher', 'cypher_escape', 'cypher_repr', 'cypher_request', 'database', 'deprecated', 'deque', 'ext', 'get_auth', 'get_http_headers', 'getenv', 'http', 'integer', 'is_collection', 'json_dumps', 'keyring', 'main', 'mktime_tz', 'normalise_request', 'order', 'packages', 'parsedate_tz', 'raise_from', 'register_server', 'relationship_case', 'remote', 'round_robin', 'selection', 'set_http_header', 'size', 'snake_case', 'status', 'stdout', 'string', 'types', 'unicode', 'update_stats_keys', 'user_agent', 'ustr', 'util', 'uuid4', 'version_tuple', 'walk', 'warn', 'watch', 'webbrowser', 'xstr']
  </code></pre>
  
  <p>How do I import neo4j from py2neo?</p>