On 3 December 2013 10:19, Nick Coghlan <ncogh...@gmail.com> wrote:
>> Or
>> how about a scientist that wants wxPython (to use Chris' example)?
>> Apparently the conda repo doesn't include wxPython, so do they need to
>> learn how to install pip into a conda environment? (Note that there's
>> no wxPython wheel, so this isn't a good example yet, but I'd hope it
>> will be in due course...)
>
> No, it's the other way around - for cases where wheels aren't yet
> available, but conda provides it, then we should try to ensure that
> "pip install conda && conda init && conda install <package>" does the
> right thing (including conda upgrading previously pip installed
> packages when necessary, as well as bailing out gracefully when it
> needs to).

Perhaps it would help if there were wheels for conda and its
dependencies. "pycosat" (whatever that is) breaks when I pip install
conda:

$ pip install conda
Downloading/unpacking pycosat (from conda)
  Downloading pycosat-0.6.0.tar.gz (58kB): 58kB downloaded
  Running setup.py egg_info for package pycosat

Downloading/unpacking pyyaml (from conda)
  Downloading PyYAML-3.10.tar.gz (241kB): 241kB downloaded
  Running setup.py egg_info for package pyyaml

Installing collected packages: pycosat, pyyaml
  Running setup.py install for pycosat
    building 'pycosat' extension
    q:\tools\MinGW\bin\gcc.exe -mdll -O -Wall
-Iq:\tools\Python27\include -IQ:\venv\PC -c pycosat.c -o
build\temp.win32-2.7\Release\pycosat.o
    In file included from pycosat.c:18:0:
    picosat.c: In function 'picosat_stats':
    picosat.c:8179:4: warning: unknown conversion type character 'l'
in format [-Wformat]
    picosat.c:8179:4: warning: too many arguments for format
[-Wformat-extra-args]
    picosat.c:8180:4: warning: unknown conversion type character 'l'
in format [-Wformat]
    picosat.c:8180:4: warning: too many arguments for format
[-Wformat-extra-args]
    In file included from pycosat.c:18:0:
    picosat.c: At top level:
    picosat.c:8210:26: fatal error: sys/resource.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    Complete output from command Q:\venv\Scripts\python.exe -c "import
setuptools;__file__='Q:\\venv\\build\\pycosat\\setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record
c:\docume~1\enojb\locals~1\temp\pip-lobu76-record\install-record.txt
--single-version-externally-managed --install-headers
Q:\venv\include\site\python2.7:
    running install

running build

running build_py

creating build

creating build\lib.win32-2.7

copying test_pycosat.py -> build\lib.win32-2.7

running build_ext

building 'pycosat' extension

creating build\temp.win32-2.7

creating build\temp.win32-2.7\Release

q:\tools\MinGW\bin\gcc.exe -mdll -O -Wall -Iq:\tools\Python27\include
-IQ:\venv\PC -c pycosat.c -o build\temp.win32-2.7\Release\pycosat.o

In file included from pycosat.c:18:0:

picosat.c: In function 'picosat_stats':

picosat.c:8179:4: warning: unknown conversion type character 'l' in
format [-Wformat]

picosat.c:8179:4: warning: too many arguments for format [-Wformat-extra-args]

picosat.c:8180:4: warning: unknown conversion type character 'l' in
format [-Wformat]

picosat.c:8180:4: warning: too many arguments for format [-Wformat-extra-args]

In file included from pycosat.c:18:0:

picosat.c: At top level:

picosat.c:8210:26: fatal error: sys/resource.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command Q:\venv\Scripts\python.exe -c "import
setuptools;__file__='Q:\\venv\\build\\pycosat\\setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record
c:\docume~1\enojb\locals~1\temp\pip-lobu76-record\install-record.txt
--single-version-externally-managed --install-headers
Q:\venv\include\site\python2.7 failed with error code 1 in
Q:\venv\build\pycosat
Storing complete log in c:/Documents and Settings/enojb\pip\pip.log


Oscar
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to