Hi Jeremy, Can you please answer a few questions so I can understand your issue better,
1. What is your Operating System? 2. Which version of Python are you using? 3. When you used conda to install Chrono, did you use * "conda install -c projectchrono pychrono" *command or did you specify a specific package with *conda install* *<pychrono_package>.tar.bz2*? 4. Go to the anaconda installation folder: In windows: "C:\Users\<username>\anaconda3\pkgs\", In linux: "~/anaconda3/pkgs" and see if you have a directory called: *pychrono-X.0.0-py3X_XXXX. *Is the *py3X *version consistent with your own python version? Ex: If you have python 3.10, you should have a directory called: pychrono-X.0.0-py310_XXXX. If there is a version mismatch for question 4, you need to install the correct chrono package corresponding to your python version. Go to: https://anaconda.org/projectchrono/pychrono/files to find the relevant package name and use *conda install* *<pychrono_package>.tar.bz2 *to install the package. Also, make sure you have all the requirements listed in https://api.projectchrono.org/pychrono_installation.html properly installed. Hope these steps fix your problem. Please let me know if this doesn't work, so we can further look into it. Best, Nevindu On Monday, February 13, 2023 at 3:46:38 PM UTC-6 Jeremy Kimball wrote: > Hello everyone, > > I am relatively new to python programming and am just getting started with > PyChrono for my masters thesis research, specifically I am interested in > the sensor module. > > I have installed pychrono according to the steps outlined at: > https://api.projectchrono.org/pychrono_installation.html. > > All of the demos other than the sensor ones run on my machine, however, > when I attempt to run any of the sensor demos I get an import > error: ImportError: cannot import name '_sensor' from 'pychrono'. > > I have Nvidia graphics driver version 528.02 and my machine has an Nvidia > GeForce MX250 GPU. All of the packages in my venv seem to align with the > required versions as per chrono documentation. > > I would also like to mention that I have only had success running the > other demos when either 1) in VSCode I paste all of the .dll chrono files > into the active folder or 2) when I run the demo scripts directly from the > anaconda prompt. > > I am hopeful that there is a simple fix here that I am overlooking or that > other users have encountered the same issue and found a solution. > > Any help would be greatly appreciated. > > Thanks, > > Jeremy > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/655778aa-6671-4e45-811a-f5ed22eee465n%40googlegroups.com.
