Skip to content

Instantly share code, notes, and snippets.

View justineyster's full-sized avatar

Justin Eyster justineyster

View GitHub Profile
[pipenv.exceptions.InstallError]: ['Collecting confluent-kafka==1.2.0', ' Using cached https://files.pythonhosted.org/packages/87/49/413745588ac9f166b05886ae67769f41a6391f307145b23fa92459a4e602/confluent-kafka-1.2.0.tar.gz', 'Building wheels for collected packages: confluent-kafka', ' Building wheel for confluent-kafka (setup.py): started', " Building wheel for confluent-kafka (setup.py): finished with status 'error'", ' Running setup.py clean for confluent-kafka', 'Failed to build confluent-kafka', 'Installing collected packages: confluent-kafka', ' Running setup.py install for confluent-kafka: started', " Running setup.py install for confluent-kafka: finished with status 'error'"]
[pipenv.exceptions.InstallError]: ['ERROR: Command errored out with exit status 1:', ' command: /usr/local/bin/python -u -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'/tmp/pip-install-oo11pk7w/confluent-kafka/setup.py\'"\'"\'; __file__=\'"\'"\'/tmp/pip-install-oo11pk7w/confluent-kafka/setup.py\'"\'"\';f=
@justineyster
justineyster / test_gist.py
Created September 28, 2018 15:12
Test Gists
def test_the_gist():
""" Testing gist webhooks """
print("Did you get the gist?")
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Exception in thread "main" java.lang.IllegalArgumentException: Length is >= Integer.MAX_VALUE: lengthLong() must be called instead
at org.nd4j.linalg.api.ndarray.BaseNDArray.length(BaseNDArray.java:3933)
at org.nd4j.linalg.api.ndarray.BaseNDArray.init(BaseNDArray.java:1962)
at org.nd4j.linalg.api.ndarray.BaseNDArray.<init>(BaseNDArray.java:147)
at org.nd4j.linalg.cpu.nativecpu.NDArray.<init>(NDArray.java:65)
at org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory.create(CpuNDArrayFactory.java:251)
at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:3383)
at org.nd4j.linalg.api.ndarray.BaseNDArray.create(BaseNDArray.java:1716)
at org.nd4j.linalg.api.ndarray.BaseNDArray.permute(BaseNDArray.java:4174)
at org.deeplearning4j.nn.layers.convolution.ConvolutionLayer.preOutput(ConvolutionLayer.java:193)