Skip to content

Add feature/instructions to install from source #132

@cleong110

Description

@cleong110

I was trying to access the new features from the latest PRs, and gave installing from source a try.

Attempting to install from the .git causes an error:

pip install "git+https://github.com/sign-language-processing/pose.git"
Collecting git+https://github.com/sign-language-processing/pose.git
  Cloning https://github.com/sign-language-processing/pose.git to /tmp/pip-req-build-9auytf2j
  Running command git clone --filter=blob:none --quiet https://github.com/sign-language-processing/pose.git /tmp/pip-req-build-9auytf2j
  Resolved https://github.com/sign-language-processing/pose.git to commit d384d887ff4abaecec7f70fce9ad11b6a05aab94
  Running command git submodule update --init --recursive -q
ERROR: git+https://github.com/sign-language-processing/pose.git does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

It is instead necessary to do something like:

conda create -n pose python=3.10 # otherwise you get latest python, which means no mediapipe!
pip install git+https://github.com/sign-language-processing/pose.git@master#subdirectory=src/python vidgear mediapipe psutil
# then you get the latest version of videos_to_poses

It seems like it would be nice to have this in the README, or a better method if there is one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions