Code Monkey home page Code Monkey logo

Comments (4)

holger-motional avatar holger-motional commented on August 16, 2024

Hi and thanks for your interest in nuScenes. My guess is that you did not correctly setup Python 3.7 as described here. Hence the typing features are not supported. Please check the following:

  • Is your virtual environment enabled? You can do this with workon nuscenes. Your bash prompt should look like (nuscenes) user@machine:~/nuscenes-devkit$.

  • Do you have the correct Python version? Run python --version and see if it returns Python 3.7.0.

Please let me know if this works.

from nuscenes-devkit.

RogerAylagas avatar RogerAylagas commented on August 16, 2024

Yes you were right, python 3.7 was not installed. I still have problems though with the python script. It does not recognise the nuscenes_utils folder and while executing an error comes up:

Traceback (most recent call last):
File "examples/export_pointclouds_as_obj.py", line 11, in
from nuscenes_utils.data_classes import PointCloud
ImportError: No module named 'nuscenes_utils'

It must be a silly thing but I can't figure it out. Hope you can help me.

from nuscenes-devkit.

holger-motional avatar holger-motional commented on August 16, 2024

You need to add the folder to your $PYTHONPATH. You can either do that every time you open a terminal with:

export PYTHONPATH="${PYTHONPATH}:$HOME/nuscenes-devkit/python-sdk"

You can also add it once in your ~/.bashrc or if you have setup the virtual environment in ~/.virtualenvs/nuscenes/bin/postactivate. For more details see https://github.com/nutonomy/nuscenes-devkit#devkit-setup

from nuscenes-devkit.

RogerAylagas avatar RogerAylagas commented on August 16, 2024

Thanks a lot!

from nuscenes-devkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.