yhat / pandasql

sqldf for pandas
MIT License
1.33k stars 185 forks source link

pip install error #22

Closed psychemedia closed 10 years ago

psychemedia commented 10 years ago

Trying to install pandasql, I'm getting the following error:

Downloading/unpacking pandasql

  Running setup.py egg_info for package pandasql

    running egg_info
    writing requirements to pip-egg-info/pandasql.egg-info/requires.txt
    writing pip-egg-info/pandasql.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/pandasql.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/pandasql.egg-info/dependency_links.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/pandasql.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/pandasql.egg-info/SOURCES.txt'
Downloading/unpacking sqlparse==0.1.6 (from pandasql)

  Running setup.py egg_info for package sqlparse

    running egg_info
    writing pip-egg-info/sqlparse.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/sqlparse.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/sqlparse.egg-info/dependency_links.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/sqlparse.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/sqlparse.egg-info/SOURCES.txt'
  Source in ./venv/build/sqlparse has the version 0.1.11, which does not match the requirement sqlparse==0.1.6 (from pandasql)

Source in ./venv/build/sqlparse has version 0.1.11 that conflicts with sqlparse==0.1.6 (from pandasql)

Exception information:
Traceback (most recent call last):
  File "/home/mihi/tug/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
    status = self.run(options, args)
  File "/home/mihi/tug/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/mihi/tug/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1014, in prepare_files
    req_to_install.assert_source_matches_version()
  File "/home/mihi/tug/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 366, in assert_source_matches_version
    % (display_path(self.source_dir), version, self))
InstallationError: Source in ./venv/build/sqlparse has version 0.1.11 that conflicts with sqlparse==0.1.6 (from pandasql)
psychemedia commented 10 years ago

Moved to py 3.4 and a current Linux install - no issues with installation.