Code Monkey home page Code Monkey logo

trimmed_match's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trimmed_match's Issues

Error in installing the trimmed match package

I was following along the installation guide and then got an error when installing the extension using the supplied setup.py file and setuptools and pip by calling the command line "python3 -m pip install ./trimmed_match" in the terminal.

Please see below for the stacktrace of error:

(base) user:~ username$ python3 -m pip install ./trimmed_match

Processing ./trimmed_match

Requirement already satisfied: absl-py in ./opt/anaconda3/lib/python3.7/site-packages (from trimmed-match==1.0.0) (0.11.0)

Requirement already satisfied: numpy>=1.8.0rc1 in ./opt/anaconda3/lib/python3.7/site-packages (from trimmed-match==1.0.0) (1.17.2)

Requirement already satisfied: pandas in ./opt/anaconda3/lib/python3.7/site-packages (from trimmed-match==1.0.0) (0.25.1)

Requirement already satisfied: matplotlib in ./opt/anaconda3/lib/python3.7/site-packages (from trimmed-match==1.0.0) (3.3.0)

Requirement already satisfied: scipy in ./opt/anaconda3/lib/python3.7/site-packages (from trimmed-match==1.0.0) (1.3.1)

Requirement already satisfied: seaborn in ./opt/anaconda3/lib/python3.7/site-packages (from trimmed-match==1.0.0) (0.9.0)

Requirement already satisfied: six in ./opt/anaconda3/lib/python3.7/site-packages (from absl-py->trimmed-match==1.0.0) (1.15.0)

Requirement already satisfied: pillow>=6.2.0 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib->trimmed-match==1.0.0) (6.2.0)

Requirement already satisfied: cycler>=0.10 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib->trimmed-match==1.0.0) (0.10.0)

Requirement already satisfied: python-dateutil>=2.1 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib->trimmed-match==1.0.0) (2.8.0)

Requirement already satisfied: kiwisolver>=1.0.1 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib->trimmed-match==1.0.0) (1.1.0)

Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib->trimmed-match==1.0.0) (2.4.2)

Requirement already satisfied: setuptools in ./opt/anaconda3/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib->trimmed-match==1.0.0) (51.3.3)

Requirement already satisfied: pytz>=2017.2 in ./opt/anaconda3/lib/python3.7/site-packages (from pandas->trimmed-match==1.0.0) (2019.3)

Building wheels for collected packages: trimmed-match

Building wheel for trimmed-match (setup.py) ... error

ERROR: Command errored out with exit status 1:

command: /Users/username/opt/anaconda3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-req-build-y26s5sr9/setup.py'"'"'; file='"'"'/private/var/folders/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-req-build-y26s5sr9/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/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-wheel-ewzag689

   cwd: /private/var/folders/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-req-build-y26s5sr9/

Complete output (5 lines):

running bdist_wheel

running build

running build_py

creating build

error: could not create 'build': File exists


ERROR: Failed building wheel for trimmed-match

Running setup.py clean for trimmed-match

Failed to build trimmed-match

Installing collected packages: trimmed-match

Running setup.py install for trimmed-match ... error

ERROR: Command errored out with exit status 1:

 command: /Users/username/opt/anaconda3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-req-build-y26s5sr9/setup.py'"'"'; __file__='"'"'/private/var/folders/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-req-build-y26s5sr9/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/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-record-u_3c5b_3/install-record.txt --single-version-externally-managed --compile --install-headers /Users/username/opt/anaconda3/include/python3.7m/trimmed-match

     cwd: /private/var/folders/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-req-build-y26s5sr9/

Complete output (5 lines):

running install

running build

running build_py

creating build

error: could not create 'build': File exists

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

ERROR: Command errored out with exit status 1: /Users/username/opt/anaconda3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-req-build-y26s5sr9/setup.py'"'"'; file='"'"'/private/var/folders/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-req-build-y26s5sr9/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/4l/g4glrsp94337rjpdfdjhq9gw0000gn/T/pip-record-u_3c5b_3/install-record.txt --single-version-externally-managed --compile --install-headers /Users/username/opt/anaconda3/include/python3.7m/trimmed-match Check the logs for full command output.

Thank you.

KeyError when uploading Data for Design spreadsheet

Hello.

I was able to get the upload to work when I used the sample spreadsheet but when I use my own spreadsheet I get the following error. Do you know why I am getting it? Thanks.

KeyError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
2897 try:
-> 2898 return self._engine.get_loc(casted_key)
2899 except KeyError as err:

pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()

pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()

KeyError: 'response'

The above exception was the direct cause of the following exception:

KeyError Traceback (most recent call last)
2 frames
/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
2898 return self._engine.get_loc(casted_key)
2899 except KeyError as err:
-> 2900 raise KeyError(key) from err
2901
2902 if tolerance is not None:

KeyError: 'response'

Installation Problem - error: could not create 'build': File exists

Hello there.

I have made a python 3.7 environment, and then I have also installed Bazel as instructed via Homebrew.

I have then cloned the repository onto the machine - so far so good.

When I then try to install the package with this command:

python3 -m pip install ./trimmed_match

It begins installing dependencies (numpy etc.) just fine, and then when we get to this block, things go south:

Building wheels for collected packages: trimmed-match
  Building wheel for trimmed-match (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      error: could not create 'build': File exists
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for trimmed-match
  Running setup.py clean for trimmed-match
Failed to build trimmed-match
Installing collected packages: pytz, typing_extensions, six, pyparsing, pillow, packaging, numpy, MarkupSafe, fonttools, cycler, absl-py, scipy, python-dateutil, kiwisolver, jinja2, pandas, matplotlib, seaborn, trimmed-match
  Running setup.py install for trimmed-match ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for trimmed-match did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running install
      /Users/xx.xx/anaconda3/envs/xx/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        setuptools.SetuptoolsDeprecationWarning,
      running build
      running build_py
      creating build
      error: could not create 'build': File exists
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> trimmed-match

Please help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.