-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation problems on windows #117
Comments
And I meet the issue like |
the last environment I used is python 3.9 |
There were changes yesterday in the pypi package, thanks a lot for reporting. I am checking this right now. |
I read your information too quickly.
This seems to be the problem:
Can you try adding |
Also, make sure you have numpy installed before installing pyk4a. |
Okay, I uninstall the pyk4a and install numpy. And then I tried to run like this: The result is |
Are you sure the Paths that you provide with the command are right? If there is an error these, I would suggest retrying from the start, with the command in the README (with your custom paths) Also, do you see any other error logs that could help us find the problem? |
Yep, I'm sure the path is right..... |
worked for me with --no-use-pep517 :
Python 3.8.5 |
Oh...When I use the code in readme again. It works good.
But sorry to trouble again, when I run |
I have next code for windows in some module
You need to call @lpasselin , maybe it's time to add this trick to package or readme because all love funnyng windows? |
Check out the thread and this comment #68 (comment) |
@shagren I agree but I am unable to test any of this. I don't have a windows machine. We should at least add a I can't believe all python programs are forced to do this on windows! |
Sorry, I'm the beginner with too many problems
But it says the |
Which os do you use? Mac or Linux? |
Meantime, Do I need to define |
I have access to Mac and linux. With shagren's code, I think you are missing Other option:
shagren's approach is better because it works without having to supply the path of the directory containing k4a.dll |
Thank you! I make it when adding the code from @shagren Thank you for helping me with patience! I'm the beginner and try to use azure kinect. I guess I will trouble you again in the future about it! Thank you again! |
Hi, I used the pip install pyk4a --no-use-pep517 --global-option=build_ext --global-option="-IC:\Program Files\Azure Kinect SDK v1.4.1\sdk\include" --global-option="-LC:\Program Files\Azure Kinect SDK v1.4.1\sdk\windows-desktop\amd64\release\lib"
And get this error:
D:\download\avaconda\envs\py39\lib\site-packages\pip_internal\commands\install.py:230: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
cmdoptions.check_install_build_global(options)
Collecting pyk4a
Using cached pyk4a-1.2.3.tar.gz (20 kB)
Collecting numpy
Using cached numpy-1.20.2.zip (7.8 MB)
Requirement already satisfied: python_version>="3.4" in d:\download\avaconda\envs\py39\lib\site-packages (from pyk4a) (0.0.2)
Skipping wheel build for pyk4a, due to binaries being disabled for it.
Skipping wheel build for numpy, due to binaries being disabled for it.
Installing collected packages: numpy, pyk4a
Running setup.py install for numpy ... error
The text was updated successfully, but these errors were encountered: