-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
How to install python wrapper on Windows? #980
Comments
Hi @KeCh96 , |
Thank you very much!! @zivsha Unluckily, when I copied
As you mentioned in the guide, this error may caused by python versions mismatch. I use python 3, but the precompiled binaries shipped with the installer assume python2.7. Is there any solution for python3 wrapper? |
Unfortunately no, the only way at the moment is by building it from source. We are planing to provide a PyPI package that will allow you to simply |
Hy,
It's working for me. Unfortunatly running a basic script with a small definition is eating all my cpu. Seems to be a bug according to zivsha. I will be interested in your results ;) |
It looks complicated to build python3 wrapper on Windows... What about building python3 wrapper on Linux? Will it be easier? @zivsha @Taprik The tutorial says:
Does it mean that building python3 wrapper is also complicated on Linux? |
The steps for Linux/Windows are pretty much identical. |
My project can work on both Windows and Linux. According to my project, I only need a solution for any of the following 2 problems: I tried many methods, and my problems are as below:
I am almost crazy... I wonder the relationship between these tutorials. If I want to build python wrapper on Linux, which tutorial should I follow? Could you please help me? @zivsha |
Hi @KeCh96 ,
|
Thank you very much!! @zivsha I followed your guide, but faced some error when
Then I use 'make -j4 -i' to ignore the errors, and get the following result:
Then I found librealsense2.so in the build file, and its color is light blue in the ubuntu common line, which means a symbolic link file. Then I run Then I went to
I have written the path in |
You are getting this because you did not follow step 2 in Python wrapper guide:
The rest of the errors are because the build itself was not successful |
I solved the error If I want to capture images with python, what should I do next? In the Python wrapper guide, you can just |
You do not need |
Thank you very much!! @zivsha I get error when I |
Hooray ❗️ 😃 Hope this thread helps others, and that we finish work on python distribution soon. |
In case it helps future wanderers, I too ran into the
For each of the 4 lines, I changed After this, FWIW I believe this is because I have both python2.7 and python3.5 installed but can't be sure |
Hello all, I am a newbie in working in python. I have installed Python 3.8 on windows 7 (64 bit). But i guess the code that is provided to me works on Linux. I am using PyCharm as IDE. I would be grateful if someone can help me in simulating one Linux file on my windows 7. I am facing difficulty in understanding/running the following command. Compile C++/Python wrappers: python setup.py build_ext --inplace |
The tutorial says:
But I cannot understand what exactly I should do? Do I need to install cmake first? Then run the cmake-gui?
I am confused because I have never used cmake... Could you please tell me the concrete steps for installing python wrapper on Windows?
The text was updated successfully, but these errors were encountered: