Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to ingest default data bundle #2156

Closed
niklasamslgruber opened this issue Apr 27, 2018 · 6 comments
Closed

Unable to ingest default data bundle #2156

niklasamslgruber opened this issue Apr 27, 2018 · 6 comments

Comments

@niklasamslgruber
Copy link

niklasamslgruber commented Apr 27, 2018

Dear Zipline Maintainers,

Before I tell you about my issue, let me describe my environment:

Environment

  • Operating System: macOS 10.13.4
  • Python Version: 3.5
  • How did you install Zipline: Conda
  • Python packages:

Now that you know a little about me, let me tell you about the issue I am
having:

After installing zipline I tried to ingest the default data bundle by typing zipline ingest -b quandl (also tried it with my API key). However, I always get the following terminal output.

(py35) MBP-von-Niklas:~ niklasamslgruber$ zipline ingest -b quandl
Downloading WIKI metadata: [------------------------------------]
Traceback (most recent call last):
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/zipline/utils/cache.py", line 234, in getitem
with open(self._keypath(key), 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/niklasamslgruber/.zipline/data/quandl/.cache/metadata-page-1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 33, in _fetch_raw_metadata
raw = cache[key]
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/zipline/utils/cache.py", line 239, in getitem
raise KeyError(key)
KeyError: 'metadata-page-1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/niklasamslgruber/anaconda3/envs/py35/bin/zipline", line 11, in
load_entry_point('zipline==1.1.1', 'console_scripts', 'zipline')()
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/zipline/main.py", line 312, in ingest
show_progress,
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/zipline/data/bundles/core.py", line 451, in ingest
pth.data_path([name, timestr], environ=environ),
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 295, in quandl_bundle
show_progress=show_progress,
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 117, in fetch_symbol_metadata_frame
data = pd.concat(blocks, ignore_index=True).rename(columns={
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/pandas/tools/merge.py", line 845, in concat
copy=copy)
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/pandas/tools/merge.py", line 875, in init
objs = list(objs)
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/click/_termui_impl.py", line 259, in next
rv = next(self.iter)
File "/Users/niklasamslgruber/anaconda3/envs/py35/lib/python3.5/site-packages/zipline/data/bundles/quandl.py", line 61, in _fetch_raw_metadata
' attempts.' % (page_number, retries),
ValueError: Failed to download metadata page 1 after 5 attempts.

Sincerely,
Niklas

@freddiev4
Copy link
Contributor

freddiev4 commented Apr 27, 2018

Hi @niklay14 this because zipline ingest -b quandl only works with the latest version of Zipline.

I also saw your comment on the other issue and am looking into it.

I get this error message while installing zipline with pip: @freddiev4

Command "/Users/niklasamslgruber/anaconda3/envs/py35/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-req-build-qb36zhft/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-record-fcez5zho/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-req-build-qb36zhft/

@freddiev4
Copy link
Contributor

Hmm...

So just tried to install Zipline in a fresh Python 3.5 env (macOS) using pip.

I had to install Cython, numpy, and setuptools first...

pip install cython==0.25.2 numpy==1.11.1 setuptool-scm

@freddiev4
Copy link
Contributor

freddiev4 commented Apr 27, 2018

Was curious if we saw this issue before; just seeing it now:

#2016 (comment)

and a PR #2020

I've seen other people have success in installing Zipline 1.2.0 so I'm wondering if they just figured out to install the other libraries or there's some sort of non-determinism here...

@niklasamslgruber
Copy link
Author

I created a completely new environment but I still get this error. I post the whole error below (it's pretty long)

Failed building wheel for zipline
Running setup.py clean for zipline
Running setup.py bdist_wheel for cyordereddict ... error
Complete output from command /Users/niklasamslgruber/anaconda3/envs/py350/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-install-znpwysex/cyordereddict/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-wheel-m4eu0w5u --python-tag cp35:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-x86_64-3.5
creating build/lib.macosx-10.6-x86_64-3.5/cyordereddict
copying python3/cyordereddict/_version.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict
copying python3/cyordereddict/init.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict
creating build/lib.macosx-10.6-x86_64-3.5/cyordereddict/benchmark
copying python3/cyordereddict/benchmark/magic_timeit.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/benchmark
copying python3/cyordereddict/benchmark/benchmark.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/benchmark
copying python3/cyordereddict/benchmark/init.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/benchmark
creating build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
copying python3/cyordereddict/test/_mapping_tests.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
copying python3/cyordereddict/test/test_cyordereddict.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
copying python3/cyordereddict/test/init.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
copying python3/cyordereddict/test/test_ordereddict.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
running build_ext
building 'cyordereddict._cyordereddict' extension
creating build/temp.macosx-10.6-x86_64-3.5
creating build/temp.macosx-10.6-x86_64-3.5/python3
creating build/temp.macosx-10.6-x86_64-3.5/python3/cyordereddict
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/include/python3.5m -c python3/cyordereddict/_cyordereddict.c -o build/temp.macosx-10.6-x86_64-3.5/python3/cyordereddict/_cyordereddict.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit status 1


Failed building wheel for cyordereddict
Running setup.py clean for cyordereddict
Running setup.py bdist_wheel for bottleneck ... error
Complete output from command /Users/niklasamslgruber/anaconda3/envs/py350/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-install-znpwysex/bottleneck/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-wheel-3ptf2inx --python-tag cp35:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-x86_64-3.5
creating build/lib.macosx-10.6-x86_64-3.5/bottleneck
copying bottleneck/version.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck
copying bottleneck/init.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck
creating build/lib.macosx-10.6-x86_64-3.5/bottleneck/benchmark
copying bottleneck/benchmark/bench_detailed.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/benchmark
copying bottleneck/benchmark/autotimeit.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/benchmark
copying bottleneck/benchmark/init.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/benchmark
copying bottleneck/benchmark/bench.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/benchmark
creating build/lib.macosx-10.6-x86_64-3.5/bottleneck/slow
copying bottleneck/slow/reduce.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/slow
copying bottleneck/slow/init.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/slow
copying bottleneck/slow/nonreduce.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/slow
copying bottleneck/slow/move.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/slow
copying bottleneck/slow/nonreduce_axis.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/slow
creating build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/nonreduce_axis_test.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/scalar_input_test.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/reduce_test.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/util.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/move_test.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/init.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/input_modifcation_test.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/nonreduce_test.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
copying bottleneck/tests/list_input_test.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/tests
creating build/lib.macosx-10.6-x86_64-3.5/bottleneck/src
copying bottleneck/src/init.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/src
copying bottleneck/src/template.py -> build/lib.macosx-10.6-x86_64-3.5/bottleneck/src
copying bottleneck/LICENSE -> build/lib.macosx-10.6-x86_64-3.5/bottleneck
running build_ext
building 'bottleneck.reduce' extension
creating build/temp.macosx-10.6-x86_64-3.5
creating build/temp.macosx-10.6-x86_64-3.5/bottleneck
creating build/temp.macosx-10.6-x86_64-3.5/bottleneck/src
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/lib/python3.5/site-packages/numpy/core/include -I/Users/niklasamslgruber/anaconda3/envs/py350/include/python3.5m -c bottleneck/src/reduce.c -o build/temp.macosx-10.6-x86_64-3.5/bottleneck/src/reduce.o -O2
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit status 1


Failed building wheel for bottleneck
Running setup.py clean for bottleneck
Running setup.py bdist_wheel for bcolz ... error
Complete output from command /Users/niklasamslgruber/anaconda3/envs/py350/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-install-znpwysex/bcolz/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-wheel-rfpp8l7x --python-tag cp35:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-x86_64-3.5
creating build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/py2help_tests.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/version.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/toplevel.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/ctable.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/init.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/utils.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/chunked_eval.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/defaults.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/attrs.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/py2help.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
copying bcolz/arrayprint.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz
creating build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/test_ndcarray.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/test_carray_objects.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/test_attrs.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/init.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/all.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/common.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/test_queries.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/test_ctable.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/tests/test_carray.py -> build/lib.macosx-10.6-x86_64-3.5/bcolz/tests
copying bcolz/carray_ext.pxd -> build/lib.macosx-10.6-x86_64-3.5/bcolz
running build_ext
skipping 'bcolz/carray_ext.c' Cython extension (up-to-date)
building 'bcolz.carray_ext' extension
creating build/temp.macosx-10.6-x86_64-3.5
creating build/temp.macosx-10.6-x86_64-3.5/bcolz
creating build/temp.macosx-10.6-x86_64-3.5/c-blosc
creating build/temp.macosx-10.6-x86_64-3.5/c-blosc/blosc
creating build/temp.macosx-10.6-x86_64-3.5/c-blosc/internal-complibs
creating build/temp.macosx-10.6-x86_64-3.5/c-blosc/internal-complibs/lz4-r119
creating build/temp.macosx-10.6-x86_64-3.5/c-blosc/internal-complibs/snappy-1.1.1
creating build/temp.macosx-10.6-x86_64-3.5/c-blosc/internal-complibs/zlib-1.2.8
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -Ibcolz -Ic-blosc/blosc -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/lz4-r119 -Ic-blosc/internal-complibs/zlib-1.2.8 -I/Users/niklasamslgruber/anaconda3/envs/py350/lib/python3.5/site-packages/numpy/core/include -I/Users/niklasamslgruber/anaconda3/envs/py350/include/python3.5m -c bcolz/carray_ext.c -o build/temp.macosx-10.6-x86_64-3.5/bcolz/carray_ext.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit status 1


Failed building wheel for bcolz
Running setup.py clean for bcolz
Running setup.py bdist_wheel for toolz ... done
Stored in directory: /Users/niklasamslgruber/Library/Caches/pip/wheels/f4/0c/f6/ce6b2d1aa459ee97cc3c0f82236302bd62d89c86c700219463
Running setup.py bdist_wheel for MarkupSafe ... done
Stored in directory: /Users/niklasamslgruber/Library/Caches/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46
Running setup.py bdist_wheel for Mako ... done
Stored in directory: /Users/niklasamslgruber/Library/Caches/pip/wheels/15/35/25/dbcb848832ccb1a4b4ad23f529badfd3bce9bf88017f7ca510
Running setup.py bdist_wheel for sqlalchemy ... done
Stored in directory: /Users/niklasamslgruber/Library/Caches/pip/wheels/89/38/e1/e121d77c19eeeee42baabc2e623f08285267daedbf2fea9dd7
Running setup.py bdist_wheel for alembic ... done
Stored in directory: /Users/niklasamslgruber/Library/Caches/pip/wheels/a4/8c/02/3d1795469c7fa5754f12da16847f0dc8748139edba921d8d46
Running setup.py bdist_wheel for intervaltree ... done
Stored in directory: /Users/niklasamslgruber/Library/Caches/pip/wheels/6b/cf/b0/f7ef2d0f504d26f3e9e70c2369e5725591ccfaf67d528fcbc5
Running setup.py bdist_wheel for lru-dict ... error
Complete output from command /Users/niklasamslgruber/anaconda3/envs/py350/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-install-znpwysex/lru-dict/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-wheel-3c8jfrzj --python-tag cp35:
running bdist_wheel
running build
running build_ext
building 'lru' extension
creating build
creating build/temp.macosx-10.6-x86_64-3.5
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/include/python3.5m -c lru.c -o build/temp.macosx-10.6-x86_64-3.5/lru.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit status 1


Failed building wheel for lru-dict
Running setup.py clean for lru-dict
Running setup.py bdist_wheel for requests-ftp ... done
Stored in directory: /Users/niklasamslgruber/Library/Caches/pip/wheels/2a/98/32/37195e45a3392a73d9f65c488cbea30fe5bad76aaef4d6b020
Running setup.py bdist_wheel for python-editor ... done
Stored in directory: /Users/niklasamslgruber/Library/Caches/pip/wheels/36/e0/98/ba386b125a00ea9dd52e2c16aa2ec0adbbd639b84bfe2e001d
Successfully built toolz MarkupSafe Mako sqlalchemy alembic intervaltree requests-ftp python-editor
Failed to build zipline cyordereddict bottleneck bcolz lru-dict
Installing collected packages: Logbook, pytz, six, urllib3, chardet, idna, requests, requests-file, scipy, python-dateutil, pandas, requests-ftp, pandas-datareader, patsy, statsmodels, cyordereddict, bottleneck, contextlib2, decorator, networkx, numexpr, bcolz, click, toolz, multipledispatch, MarkupSafe, Mako, sqlalchemy, python-editor, alembic, sortedcontainers, intervaltree, lru-dict, empyrical, tables, zipline
Running setup.py install for cyordereddict ... error
Complete output from command /Users/niklasamslgruber/anaconda3/envs/py350/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-install-znpwysex/cyordereddict/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-record-iu0uvsch/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-x86_64-3.5
creating build/lib.macosx-10.6-x86_64-3.5/cyordereddict
copying python3/cyordereddict/_version.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict
copying python3/cyordereddict/init.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict
creating build/lib.macosx-10.6-x86_64-3.5/cyordereddict/benchmark
copying python3/cyordereddict/benchmark/magic_timeit.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/benchmark
copying python3/cyordereddict/benchmark/benchmark.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/benchmark
copying python3/cyordereddict/benchmark/init.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/benchmark
creating build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
copying python3/cyordereddict/test/_mapping_tests.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
copying python3/cyordereddict/test/test_cyordereddict.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
copying python3/cyordereddict/test/init.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
copying python3/cyordereddict/test/test_ordereddict.py -> build/lib.macosx-10.6-x86_64-3.5/cyordereddict/test
running build_ext
building 'cyordereddict._cyordereddict' extension
creating build/temp.macosx-10.6-x86_64-3.5
creating build/temp.macosx-10.6-x86_64-3.5/python3
creating build/temp.macosx-10.6-x86_64-3.5/python3/cyordereddict
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/include -arch x86_64 -I/Users/niklasamslgruber/anaconda3/envs/py350/include/python3.5m -c python3/cyordereddict/_cyordereddict.c -o build/temp.macosx-10.6-x86_64-3.5/python3/cyordereddict/_cyordereddict.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit status 1

----------------------------------------

Command "/Users/niklasamslgruber/anaconda3/envs/py350/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-install-znpwysex/cyordereddict/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-record-iu0uvsch/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/1n/525648kx213bn0q2bhn3tjrh0000gn/T/pip-install-znpwysex/cyordereddict/
(py350) MBP-von-Niklas:~ niklasamslgruber$

@freddiev4
Copy link
Contributor

freddiev4 commented May 1, 2018

Based off some of the errors there it looks like you might be missing xcode and can't actually compile any of the files.

@niklasamslgruber
Copy link
Author

That's it, thank you @freddiev4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants