onyxfish/csvkit — Issue #127: csvsql not working
Author: jpvelez
Created: 2011-10-10 23:43:50+00:00
State: open

My laptop got swiped so I had to reinstall python/csvkit. Decided to go with the enthought distro.

Anyway, when I try to use csvsql, I get the following error:

ROZ:opp_gap jpv$ csvsql
Traceback (most recent call last):
File "/Library/Frameworks/EPD64.framework/Versions/Current/bin/csvsql", line 3, in
from csvkit.utilities.csvsql import CSVSQL
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/csvkit/utilities/csvsql.py", line 6, in
from csvkit import sql
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/csvkit/sql.py", line 6, in
from sqlalchemy import Column, MetaData, Table
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/sqlalchemy/__init__.py", line 13, in
from sqlalchemy.sql import (
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/sqlalchemy/sql/__init__.py", line 7, in
from sqlalchemy.sql.expression import (
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/sqlalchemy/sql/expression.py", line 53, in
PARSE_AUTOCOMMIT = util._symbol('PARSE_AUTOCOMMIT')
AttributeError: 'module' object has no attribute '_symbol'

csvlook, cut, grep all work.