carlosedubarreto / b3d_mocap_import

addon for blender to import mocap data from tools like easymocap, frankmocap and Vibe
106 stars 14 forks source link

about getting joblib error when i try to import sk import frankmocap #17

Open tolgaoz132 opened 3 years ago

tolgaoz132 commented 3 years ago

Hi again, :)

I'm getting this error when i click on sk import frankmocap. I clicked on on the "install joblib" but still have the problem. Here is what i get;( I took 3 screenshot for showing entirely about what i've done)

0 1 2

carlosedubarreto commented 3 years ago

lots of people are having this problem. The way to be able to install it, is using the command line and your path to blender.

For example, this command: D:\Blender\blender-2.92.0-windows64\2.92\python\bin\python.exe D:\Blender\blender-2.92.0-windows64\2.92\python\lib\site-packages\pip install joblib

will work to the blender that is installed at: D:\Blender\blender-2.92.0-windows64\2.92

So if you replace this path with the one that blender is in your pc, it should work.

execute it at CMD

tolgaoz132 commented 3 years ago

hi carlos, i try this, i think my blender setup is at different way so i'm copying and pasting this path at cmd. But no luck. it says ''program is not recognized as an external or......''. I took screenshot about showing what i'm doing . Here are the screenshots. Besides, for the second screenshot i showed the pip folder about where it is at my computer. Maybe there is a wrong something with it either Screenshot_1 Screenshot_2

so i mean, i should write this and this path at cmd as far as i understand you, but it doesn't work

C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\pip

carlosedubarreto commented 3 years ago

You were almost there...

When you have spaceed characters, you must use quotes.

Then the command should be like this.

"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install joblib"

or "C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip" install joblib

To be honest I dont remember the correct configuration, but you have to use quotes.

tolgaoz132 commented 3 years ago

i got this result Screenshot_3

and tried to import sk import frankmocap again in blender. But nothing changed 😭😭😭 And even if i tried the other configuration it doesn't work. 😭

carlosedubarreto commented 3 years ago

The problem is that you are running one at a time.

You should run both in the same line.

Put the 2 commands in notepad and edit it in a way that you execute both commands at the same time

Copy the full text bellow, paste it and press enter one time. "C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install joblib"

Enviado do meu Samsung Mobile da Claro Obter o Outlook para Androidhttps://aka.ms/AAb9ysg


De: tolgaoz132 @.***> Enviado: domingo, 11 de julho de 2021 15:21 Para: carlosedubarreto/b3d_mocap_import Cc: Carlos Barreto; Comment Assunto: Re: [carlosedubarreto/b3d_mocap_import] about getting joblib error when i try to import sk import frankmocap (#17)

i got this result [Screenshot_3]https://user-images.githubusercontent.com/85809360/125205958-4f156380-e28d-11eb-83df-9da9f2d807c9.png

and tried to import sk import frankmocap again in blender. But nothing changed 😭😭😭 And even if i tried the other configuration it doesn't work. 😭

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/carlosedubarreto/b3d_mocap_import/issues/17#issuecomment-877841907, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA67PSR5T4NG25DFSNXBRZLTXHOKXANCNFSM47AH53WA.

tolgaoz132 commented 3 years ago

okay i did it. And this is what i got.

Microsoft Windows [Version 10.0.19042.1083] (c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Users\Tolga>"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\pip"

Usage: pip [options]

Commands: install Install packages. download Download packages. uninstall Uninstall packages. freeze Output installed packages in requirements format. list List installed packages. show Show information about installed packages. check Verify installed packages have compatible dependencies. config Manage local and global configuration. search Search PyPI for packages. wheel Build wheels from your requirements. hash Compute hashes of package archives. completion A helper command used for command completion. debug Show information useful for debugging. help Show help for commands.

General Options: -h, --help Show help. --isolated Run pip in an isolated mode, ignoring environment variables and user configuration. -v, --verbose Give more output. Option is additive, and can be used up to 3 times. -V, --version Show version and exit. -q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels). --log Path to a verbose appending log. --proxy Specify a proxy in the form [user:passwd@]proxy.server:port. --retries Maximum number of retries each connection should attempt (default 5 times). --timeout Set the socket timeout (default 15 seconds). --exists-action Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort. --trusted-host Mark this host as trusted, even though it does not have valid or any HTTPS. --cert Path to alternate CA bundle. --client-cert Path to SSL client certificate, a single file containing the private key and the certificate in PEM format. --cache-dir

Store the cache data in . --no-cache-dir Disable the cache. --disable-pip-version-check Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index. --no-color Suppress colored output

C:\Users\Tolga>Microsoft Windows [Version 10.0.19042.1083] 'Microsoft' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga>(c) Microsoft Corporation. Tüm hakları saklıdır. Microsoft was unexpected at this time.

C:\Users\Tolga> C:\Users\Tolga>C:\Users\Tolga>"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\pip" Erişim engellendi.

C:\Users\Tolga> C:\Users\Tolga>Usage: 'Usage:' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> pip [options] Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> C:\Users\Tolga>Commands: 'Commands:' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> install Install packages. 'install' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> download Download packages. 'download' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> uninstall Uninstall packages. 'uninstall' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> freeze Output installed packages in requirements format. 'freeze' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> list List installed packages. 'list' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> show Show information about installed packages. 'show' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> check Verify installed packages have compatible dependencies. 'check' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> config Manage local and global configuration. 'config' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> search Search PyPI for packages. 'search' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> wheel Build wheels from your requirements. 'wheel' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> hash Compute hashes of package archives. 'hash' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> completion A helper command used for command completion. 'completion' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> debug Show information useful for debugging. 'debug' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> help Show help for commands. Provides help information for Windows commands.

HELP [command]

command - displays help information on that command.

C:\Users\Tolga> C:\Users\Tolga>General Options: 'General' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> -h, --help Show help. '-h' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> --isolated Run pip in an isolated mode, ignoring environment variables and user configuration. '--isolated' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> -v, --verbose Give more output. Option is additive, and can be used up to 3 times. '-v' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> -V, --version Show version and exit. '-V' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> -q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to '-q' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> WARNING, ERROR, and CRITICAL logging levels). 'WARNING' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> --log Path to a verbose appending log. Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> --proxy Specify a proxy in the form [user:passwd@]proxy.server:port. Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> --retries Maximum number of retries each connection should attempt (default 5 times). Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> --timeout Set the socket timeout (default 15 seconds). Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> --exists-action Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> (a)bort. bort. was unexpected at this time.

C:\Users\Tolga> --trusted-host Mark this host as trusted, even though it does not have valid or any HTTPS. Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> --cert Path to alternate CA bundle. Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> --client-cert Path to SSL client certificate, a single file containing the private key and the Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> certificate in PEM format. 'certificate' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> --cache-dir

Store the cache data in . Sistem belirtilen dosyayı bulamıyor.

C:\Users\Tolga> --no-cache-dir Disable the cache. '--no-cache-dir' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> --disable-pip-version-check '--disable-pip-version-check' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> Don't periodically check PyPI to determine whether a new version of pip is available for 'Don't' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> download. Implied with --no-index. 'download.' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> --no-color Suppress colored output '--no-color' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Tolga> C:\Users\Tolga>C:\Users\Tolga>

it seems worked i guess but when i try to import sk import frank mocap in blender. I take still same joblib error unfortunately :(

carlosedubarreto commented 3 years ago

Oh my. That's more complicated than i thought.

Can you contact me on twitter? I would like to try something else.

My twitter is https://twitter.com/carlosedubarret

tolgaoz132 commented 3 years ago

okay thanks though. i don't have twitter account but i'll try to get one asap.

carlosedubarreto commented 3 years ago

From what I saw of your log error, looks like you executed this

"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\lib\site-packages\pip"

can you try these variatios?

"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install joblib"

"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install" joblib

"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install joblib"

them post what is the result.

tolgaoz132 commented 3 years ago

I closed and reopened cmd per try. so these are the results

Microsoft Windows [Version 10.0.19042.1083] (c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Users\Tolga>"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install joblib" C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe: can't open file 'C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install joblib': [Errno 2] No such file or directory

C:\Users\Tolga>

Microsoft Windows [Version 10.0.19042.1083] (c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Users\Tolga>"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe" "C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install" joblib C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe: can't open file 'C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install': [Errno 2] No such file or directory

C:\Users\Tolga>

Microsoft Windows [Version 10.0.19042.1083] (c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Users\Tolga>"C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip install joblib" Dosya adı, dizin adı veya birim etiketi sözdizimi hatalı.

C:\Users\Tolga>

for the third one, it says ''The filename, directory name, or volume label syntax is incorrect''.

carlosedubarreto commented 3 years ago

Thats hard man.........

Please try this one.

"C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\bin\python.exe "C:\Program Files\Blender Foundation\Blender 2.92"\python\lib\site-packages\pip install joblib

tolgaoz132 commented 3 years ago

no, still no luck:( But i think what. If i uninstall everythiing and restart installing from scratch. Would it work? Or maybe if i try my chance on easy mocap. Wouldn't it be better? what do you say? maybe easy mocap is better choice.. Whatever, here is what i got on your last instruction

Microsoft Windows [Version 10.0.19042.1083] (c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Users\Tolga>"C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\bin\python.exe "C:\Program Files\Blender Foundation\Blender 2.92"\python\lib\site-packages\pip install joblib C:\Program Files\Blender Foundation\Blender 2.92\2.92\python\bin\python.exe: can't open file 'C:\Program Files\Blender Foundation\Blender 2.92\python\lib\site-packages\pip': [Errno 2] No such file or directory

C:\Users\Tolga>

carlosedubarreto commented 3 years ago

Oh my... i didnt noticed one thing....

The address is really wrong... instead of "C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\bin\python.exe "C:\Program Files\Blender Foundation\Blender 2.92"\python\lib\site-packages\pip install joblib

try

"C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\bin\python.exe "C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\lib\site-packages\pip install joblib

But anyway, easymocap gives a better result in my opinion, but it is much more difficult to be configured (to get new data, because of the calibration part) but if you can record simultaneously with at least two cameras and wants a better result, easymocap, at the moment, can be the better option.

But please, please try this last command I sent "C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\bin\python.exe "C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\lib\site-packages\pip install joblib

tolgaoz132 commented 3 years ago

okay, i did it. It seems worked. I took this result.

Microsoft Windows [Version 10.0.19042.1083] (c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Users\Tolga>"C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\bin\python.exe "C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\lib\site-packages\pip install joblib Requirement already satisfied: joblib in c:\users\tolga\appdata\roaming\python\python37\site-packages (1.0.1) WARNING: You are using pip version 19.2.3, however version 21.1.3 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\Tolga>

but i still get same error in blender when i click SK Import FrankMocap. should we upgrade pip version maybe as written above? perhabs it's the reason

carlosedubarreto commented 3 years ago

That´s another odd thing. I didnt have this kind of problem.

But you could try to upgrade pip and run the install command again for joblib.

to upgrade pip, probably you should run this

"C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\bin\python.exe -m "C:\Program Files\Blender Foundation\Blender 2.92"\2.92\python\lib\site-packages\pip install --upgrade pip

tolgaoz132 commented 3 years ago

oh, i get another error for upgrading pip for this time. These errors seem never be ending:)) Maybe we just need to accept failure.. I am so unlucky nowadays anyway. So it's not suprise, if it isn't working for me.:)

I would like to try frankmocap so much. But it doesn't want to work.. perhabs it's better, if i uninstall and i'll reinstall it in the future. Because i don't want to keep you busy any longer. I feel myself guilty. Thank you so much for your effort though any way. And I'm glad to know you either. thanks Carlos

carlosedubarreto commented 3 years ago

Don't worry, i just answer when I can.

But I'd like to propose another thing. That you do like I do, to use a blender from a zip file.

You download the blender in a zip file. Unzip it in c:\blender

And then try the code again g (using nthe new path from that zip file)

I think it will work much better, and i won't mess with the installed blender version

carlosedubarreto commented 3 years ago

And I'm testing another way to import moção from video, that is much easier (but you will have to be able to install Mediapipe in your blender.

So if you can install joblib, you will be able to install Mediapipe and use the now version I'm working on (when I finally release it)

tolgaoz132 commented 3 years ago

oh, okay. I 'll try your new propose too. Actually, this idea had come to my mind too. But i hadn't given importance to it. And by the way, i saved my suspended twitter account finally. Why they suspended my unused twitter account, i don't have any idea:) But i'll be following you on the twitter too. So i'll be know when you release it..thank you so much friend

carlosedubarreto commented 3 years ago

The preview code released. https://www.patreon.com/posts/dev-preview-and-53711794

there has the explanations on how to install mediapipe, but it will be similar to what you already done.