Closed ertanhasani closed 1 year ago
I am concerned that pip install mediapipe
does not work for you.
What operating system are you using? are you using conda?
I am concerned that
pip install mediapipe
does not work for you.What operating system are you using? are you using conda?
- Are you on an apple device? if so, which? (m1/intel)
- Are you using docker by any chance?
I am using M1 Apple chip and i have installed anaconda. I have docker installed on my machine but Im not using it for this project.
Mediapipe and others don't have distributions for arm
chips. You have to install the amd64
versions of the packages, which is easier to do inside a docker machine
I am concerned that
pip install mediapipe
does not work for you. What operating system are you using? are you using conda?
- Are you on an apple device? if so, which? (m1/intel)
- Are you using docker by any chance?
I am using M1 Apple chip and i have installed anaconda. I have docker installed on my machine but Im not using it for this project.
@ertanhasani I am using the same chip and managed to install it, it seems to work. For your issue, try this:
install anaconda3 with the installer they are providing for M1. It will be better than using brew, for that matter.
use bash (by typing bash
in the terminal) and do these: ( bash is working on my machine, but zsh is not - for now)
2.a run conda init bash
/ conda init zsh
=> start new terminal session
2.b Paste the code below with your local conda3 path (which conda
command should return the path if not, try this path /Users/YOUR_USERNAME/anaconda3
) in the relevant places in these file/s: .bashrc
/ .zshrc
, and save cahnges.
For bash:
__conda_setup="$('/path/to/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/path/to/anaconda3/etc/profile.d/conda.sh" ]; then . "/path/to/anaconda3/etc/profile.d/conda.sh" else export PATH="/path/to/anaconda3/bin:$PATH" fi fi unset __conda_setup
for zsh:
__conda_setup="$('/path/to/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/path/to/anaconda3/etc/profile.d/conda.sh" ]; then . "/path/to/anaconda3/etc/profile.d/conda.sh" else export PATH="/path/to/anaconda3/bin:$PATH" fi fi unset __conda_setup
2.c you can use this source ~/.bashrc
/ source ~/.zshrc
to apply the changes to the current session or start a new session.
run this conda activate sign
=> see the (sign)
in the command line prefix.
run pip install ".[dev]"
for zsh (so that zsh doesn't try to interpret the square brackets) or pip install .[dev]
for bash within the main dir (the one that holds pyproject.toml file - verify with ls -a
).
run this export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
run the pip install mediapipe
run video_to_pose -i sign.mp4 --format mediapipe -o sign.pose
=> expect this:
for pympi install pympi-ling pip install pympi-ling
BTW,
Running this line by line: (from README)
pip install mediapipe
video_to_pose -i sign.mp4 --format mediapipe -o sign.pose
didn't work for me, but pasting it together and running it worked 🤷.
I hope this helps
Hi,
I am having problems running
pip install -e '.[dev]'
, i get the following error:I also tried to install it manually by running
pip install mediapipe
, but i get:I also have the same issue when trying to install
pip install diffusion
:I am following though all steps described in the readme, and i tried it with both python 3.10 and 3.9.
In the other side it seems like i cant find that
diffusion.one_shot
anywhere in the diffusion library as well as i am not able to run all commands, i can only do it forpose_to_video
and the others arecommand not found
.Do i need to install specific versions of the python or packages in order make it work? Or maybe there is some third party library that i am missing?
Thank you!
p.s. you've done some really good work! ⭐️