-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Could NOT find Python3 (missing: Development Development.Embed) (found version "3.10.15") #3401
Comments
I am facing a similar issue trying to build USD with python on windows 10 and it doesn't seem to be finding python. |
Filed as internal issue #USD-10403 |
@s-dakshin are you also using conda and getting the same error? If not, it would be helpful to file a separate issue. @meghbhalerao can you run the following in the same Python environment and give the output?
|
@sunyab I realized that https://github.com/PixarAnimationStudios/OpenUSD/blob/release/build_scripts/build_usd.py#L225 has an issue that it can fall through on the last item even if it doesn't exist. I'll submit a PR for that. I'm not sure that its the core issue here, but I think it is an issue in general as I was trying to figure out what's going on. |
Hi, I get the following output after running the above script -
|
Hmm okay, so I think conda is somehow lying about the LDLIBRARY it's using. I'm not sure how that's derived, but it's telling us to use the static library, but you only have the dynamic library. I put up a PR just now that will at least error earlier when it can't find it #3404 One short term workaround is that you can pass in the Python paths explicitly by using the I think it should be this for you but make sure the paths I put below actually exist
|
Hi, sorry for my late reply. After adding the flags that you mentioned my complete command line becomes the following -
It still gives me an error which is the following -
I see that one of the error line states that -
I investigated this a little further and found the following -
Hence, I have the following questions -
Thanks again for your help and would be great to know some suggestions on how to debug this issue! Megh |
Hello! I was facing the same issue and just found your workaround. A small note for everyone who tries: the order is So the command is rather: --build-python-info $CONDA_PREFIX/bin/python3.12 $CONDA_PREFIX/include/python3.12 $CONDA_PREFIX/lib/python3.12 3.12 |
Description of Issue
I am facing the following error -
The error log file is (which is almost same as the above error shown on the console, but just attaching that too here in case it is needed) -
I check this folder -
ls /home/mb230/anaconda3/envs/test/lib/
and. I get the following -Steps to Reproduce
System Information (OS, Hardware)
hostnamectl
-Package Versions
conda list
gives -Build Flags
Have mentioned this above.
could someone help me regarding this?
I see that I do not have the
libpython3.10.a
and that seems to be the issue that is mentioned. Am I missing something in my conda env or python installation?Any help would be greatly appreciated, thank you!
-- Megh
The text was updated successfully, but these errors were encountered: