Giter Club home page Giter Club logo

Comments (6)

hjonnala avatar hjonnala commented on July 17, 2024

please try the command below to install svgwrite.

mendel@deft-goose:~$ sudo pip3 install svgwrite
Collecting svgwrite
  Using cached https://files.pythonhosted.org/packages/84/15/640e399579024a6875918839454025bb1d5f850bb70d96a11eabb644d11c/svgwrite-1.4.3-py3-none-any.whl
Installing collected packages: svgwrite
Successfully installed svgwrite-1.4.3
mendel@deft-goose:~$ 
mendel@deft-goose:~$ python3 -m pip install svgwrite
Collecting svgwrite
  Downloading https://files.pythonhosted.org/packages/84/15/640e399579024a6875918839454025bb1d5f850bb70d96a11eabb644d11c/svgwrite-1.4.3-py3-none-any.whl (67kB)
    100% |████████████████████████████████| 71kB 1.6MB/s 
Installing collected packages: svgwrite
Successfully installed svgwrite-1.4.3

from example-object-tracker.

MxFxM avatar MxFxM commented on July 17, 2024

They both (sudo pip3 and python3 -m pip) give the same result as above.

from example-object-tracker.

MxFxM avatar MxFxM commented on July 17, 2024

Running sudo apt update && sudo apt upgrade shows I`m on the latest versions of all packages.

Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

from example-object-tracker.

MxFxM avatar MxFxM commented on July 17, 2024

Running
sudo apt install python3-svgwrite
I was able to install it.

However, there's the same / a very similar problem now with filterpy which is a requirement for the tracker:
From the requirements_for_sort_tracker.txt: filterpy==1.4.5
EDIT: The Error comes from filterpy.

Error:
Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main status = self.run(options, args) File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 338, in run resolver.resolve(requirement_set) File "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 102, in resolve self._resolve_one(requirement_set, req) File "/usr/lib/python3/dist-packages/pip/_internal/resolve.py", line 261, in _resolve_one check_dist_requires_python(dist) File "/usr/lib/python3/dist-packages/pip/_internal/utils/packaging.py", line 55, in check_dist_requires_python if not check_requires_python(requires_python): File "/usr/lib/python3/dist-packages/pip/_internal/utils/packaging.py", line 33, in check_requires_python return python_version in requires_python_specifier File "/usr/share/python-wheels/packaging-19.0-py2.py3-none-any.whl/packaging/specifiers.py", line 676, in __contains__ return self.contains(item) File "/usr/share/python-wheels/packaging-19.0-py2.py3-none-any.whl/packaging/specifiers.py", line 681, in contains item = parse(item) File "/usr/share/python-wheels/packaging-19.0-py2.py3-none-any.whl/packaging/version.py", line 28, in parse return Version(version) File "/usr/share/python-wheels/packaging-19.0-py2.py3-none-any.whl/packaging/version.py", line 219, in __init__ match = self._regex.search(version) TypeError: expected string or bytes-like object

from example-object-tracker.

MxFxM avatar MxFxM commented on July 17, 2024

I was able to install filterpy manually.

From the Github:
https://github.com/rlabbe/filterpy

In the README

cd <directory you want to install to>
git clone http://github.com/rlabbe/filterpy
python setup.py install

from example-object-tracker.

google-coral-bot avatar google-coral-bot commented on July 17, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from example-object-tracker.

Related Issues (20)

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.