-
Notifications
You must be signed in to change notification settings - Fork 432
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
ImportError: cannot import name 'text' from 'magnum' #2049
Comments
I met the same problem with you. I also use python 3.8 instead. In addition, I cannot run with C++ either. Hope someone can help. |
Same issue, can't solve yet. Currently available C++ test I tried 0.2.2 and 0.2.3 but both encountered same issue. |
Hey folks, To run the viewer application, you'll need a matching and recent version of the conda packages and cloned local repo code. I tested today on a fresh conda env following build instructions:
Note that I installed the nightly build.
Both of these work for me. |
HI there! but using python example, I think a defined buffer size is different. Is there any solution to fix as setting configuration? Have a nice day :) |
I was able to reproduce locally. I issued a fix here: #2055 @jemo-mh Can you try out these changes? |
Sorry for the late reply! Thank you so much for your help!!! That worked for me! |
Hello there! |
Hi. I encountered the ImportError in tag v0.3.1. |
That version works for me. What's your environment? You might want to try re-creating your conda environment before debugging this further. |
I find that this error is related to the |
I see. In the case of Did you get this error by running something else? |
Thanks for your explanation. When I run |
Habitat-Sim version
vx.x.x
Habitat is under active development, and we advise users to restrict themselves to stable releases. Are you using the latest release version of Habitat-Sim? Your question may already be addressed in the latest version. We may also not be able to help with problems in earlier versions because they sometimes lack the more verbose logging needed for debugging.
Main branch contains 'bleeding edge' code and should be used at your own risk.
Docs and Tutorials
Did you read the docs? https://aihabitat.org/docs/habitat-sim/
Did you check out the tutorials? https://aihabitat.org/tutorial/2020/
Perhaps your question is answered there. If not, carry on!
❓ Questions and Help
I setup the conda environment by running
conda create -n habitat python=3.8
and install habitat-sim from night build by runningconda install habitat-sim=0.2.2 withbullet -c conda-forge -c aihabitat-nightly
. As I followed the solution from #1909 , I also pull the stable tag. But when I runpython examples/viewer.py --scene ./data/scene_datasets/habitat-test-scenes/skokloster-castle.glb
, I still met the error:habitat-sim version and current branch of the repo
If I run the viewer with habitat-sim in c++, it works fine.
I don't know what exactly goes wrong. Thank you so much in advance!
Another thing is that the installation section suggests using python3.9 or higher but after I created a conda environment with python 3.9 and run
conda install habitat-sim withbullet -c conda-forge -c aihabitat
. I met unstatisfaction error:If I understand correctly, the version of habitat-sim I am installing is incomptiable with python 3.9, so I use python 3.8 instead.
The text was updated successfully, but these errors were encountered: