Status: Valid
Owner: ----
Labels: Type-Defect Priority-High Milestone-Release0.7.2

New issue 3302 by asmeu...@gmail.com: pip install sympy doesn't work
http://code.google.com/p/sympy/issues/detail?id=3302

(Originally reported at https://github.com/sympy/sympy/issues/1372)

Apologies if this is a dup. I would've thought someone would've reported this already, but I couldn't find it.

It seems sympy is not pip-installable because pip thinks that sympy-0.7.1-docs-html.zip is the latest version of the sympy package and of course because that is just documentation it doesn't have a setup.py and it's not installable.

$ .tox/py26/bin/pip install -v sympy
Downloading/unpacking sympy
Using version 0.7.1-docs-html (newest of versions: 0.7.1-docs-html, 0.7.1, 0.7.1, 0.7.1, 0.7.0, 0.7.0, 0.6.6, 0.6.5, 0.6.4, 0.6.3, 0.6.2, 0.6.1, 0.6.0, 0.5.15, 0.5.14)
  Downloading sympy-0.7.1-docs-html.zip (3.4Mb): 3.4Mb downloaded
Storing download in cache at /Users/marca/.pip_download_cache/http%3A%2F%2Fsympy.googlecode.com%2Ffiles%2Fsympy-0.7.1-docs-html.zip
  Running setup.py egg_info for package sympy
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/Users/marca/dev/git-repos/nipy/.tox/py26/build/sympy/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: '/Users/marca/dev/git-repos/nipy/.tox/py26/build/sympy/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /Users/marca/dev/git-repos/nipy/.tox/py26/build/sympy
Exception information:
Traceback (most recent call last):
File "/Users/marca/dev/git-repos/nipy/.tox/py26/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/basecommand.py", line 104, in main
    status = self.run(options, args)
File "/Users/marca/dev/git-repos/nipy/.tox/py26/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/commands/install.py", line 245, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/Users/marca/dev/git-repos/nipy/.tox/py26/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/req.py", line 1009, in prepare_files
    req_to_install.run_egg_info()
File "/Users/marca/dev/git-repos/nipy/.tox/py26/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/req.py", line 225, in run_egg_info
    command_desc='python setup.py egg_info')
File "/Users/marca/dev/git-repos/nipy/.tox/py26/lib/python2.6/site-packages/pip-1.1-py2.6.egg/pip/__init__.py", line 256, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /Users/marca/dev/git-repos/nipy/.tox/py26/build/sympy

Storing complete log in /Users/marca/.pip/pip.log
I would guess that simply renaming sympy-0.7.1-docs-html.zip would do the trick. Perhaps make it sympy-docs-html-0.7.1.zip?

A workaround is to do pip install -v sympy==0.7.1 but that is not immediately obvious. It would be better if a simple pip install sympy worked.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to