Skip to content

pip install bitfield failes #3

@rocktavious

Description

@rocktavious

Hey,

I would like to try out the package/add it as a requirement to my own package but it appears to be failing with pip install

Here is the error i get:

cimpl\field.c(301) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

error: command '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe"' failed with exit status 2

Here is the full pip log

C:\Python27\Scripts\pip-script.py run on 07/16/13 14:26:04
Downloading/unpacking bitfield

Getting page https://pypi.python.org/simple/bitfield/
URLs to search for versions for bitfield:

running build

running build_ext

skipping 'cimpl\field.c' Cython extension (up-to-date)

building 'bitfield' extension

creating build

creating build\temp.win-amd64-2.7

creating build\temp.win-amd64-2.7\Release

creating build\temp.win-amd64-2.7\Release\cimpl

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tccimpl\field.c /Fobuild\temp.win-amd64-2.7\Release\cimpl\field.obj -g

cl : Command line warning D9002 : ignoring unknown option '-g'

field.c

cimpl\field.c(301) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

error: command '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe"' failed with exit status 2


Command C:\Python27\python.exe -c "import setuptools;file='c:\users\krockman\appdata\local\temp\pip-build-krockman\bitfield\setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record c:\users\krockman\appdata\local\temp\pip-0ahjlk-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\krockman\appdata\local\temp\pip-build-krockman\bitfield

Exception information:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 139, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip\commands\install.py", line 271, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "C:\Python27\lib\site-packages\pip\req.py", line 1185, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "C:\Python27\lib\site-packages\pip\req.py", line 592, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:\Python27\lib\site-packages\pip\util.py", line 662, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command C:\Python27\python.exe -c "import setuptools;file='c:\users\krockman\appdata\local\temp\pip-build-krockman\bitfield\setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record c:\users\krockman\appdata\local\temp\pip-0ahjlk-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\krockman\appdata\local\temp\pip-build-krockman\bitfield

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions