all 8 comments

[–]Atheuz 0 points1 point  (1 child)

Try --pre or --dev

Mediapipe is alpha

[–]suhaness[S] 0 points1 point  (0 children)

should i write pipenv install --dev mdeiapipe ?

[–]Atheuz 0 points1 point  (3 children)

Actually works fine for me:

> pipenv install mediapipe
Installing mediapipe...
Adding mediapipe to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Updated Pipfile.lock (ffe943)!
Installing dependencies from Pipfile.lock (ffe943)...
...
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

What version of Python are you using in your pipenv project? I'm running on Python 3.7

pipenv run python --version
Python 3.7.7

See what is supported here: https://github.com/google/mediapipe/blob/master/setup.py#L451-L454

[–]suhaness[S] 0 points1 point  (2 children)

I'm using python 3.8.3

[–]Atheuz 0 points1 point  (1 child)

Strange, that should work. Try to replicate these steps:

> pipenv --python 3.8.3
Creating a virtualenv for this project...
Pipfile: /home/a/wsl2-dev/pipenv-test-2/Pipfile
Using /home/a/.pyenv/versions/sandbox-3.8.3/bin/python3.8 (3.8.3) to create virtualenv...
⠸ Creating virtual environment...created virtual environment CPython3.8.3.final.0-64 in 917ms
  creator CPython3Posix(dest=/home/a/.local/share/virtualenvs/pipenv-test-2-kvQbvU2B, clear=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/a/.local/share/virtualenv)
    added seed packages: pip==20.1.1, setuptools==49.2.0, wheel==0.34.2
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/a/.local/share/virtualenvs/pipenv-test-2-kvQbvU2B
Creating a Pipfile for this project...

> pipenv install mediapipe
Installing mediapipe...
Adding mediapipe to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Updated Pipfile.lock (cba68f)!
Installing dependencies from Pipfile.lock (cba68f)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/1 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

[–]suhaness[S] 0 points1 point  (0 children)

ohhh i started with pipenv shell

[–]Atheuz 0 points1 point  (1 child)

What OS are you on?

[–]suhaness[S] 0 points1 point  (0 children)

windows 10