Hello,

Thanks for the info, Can you try the following,

1. Go to `C:\Users\<user name>\anaconda3\envs\<environment 
name>\Lib\site-packages` and check if you have the *_sensor.pyd* file.
2. Can you share the contents of your PYTHON_PATH environment variable (if 
you have one)?
3. Check if you have the cuda toolkit properly installed? Can you please 
share the outputs of the following commands: 1)*nvidia-smi*, 2)*nvcc -V*.

Best,
Nevindu

On Monday, February 13, 2023 at 6:19:52 PM UTC-6 Jeremy Kimball wrote:

> Thanks for the response!
>
> 1) My operating system is Windows 10 Enterprise
> 2) I am using Python 3.9.15
> 3) I specified a specific package with *conda install* 
> *<pychrono_package>.tar.bz2. 
> *I used 'pychrono 8.0.0-py39_0.tar.bz2'.
> 4) Yes, I have a directory called pychrono-8.0.0-py39_0.
>
> As far as I can tell when I run "conda list" I have all of the correct 
> versions of the required packages. I have attached a .txt file of the 
> "conda list" output in the venv. Maybe there is something out of place 
> there that I am missing.
>
> Any ideas / other troubleshooting steps I could take?
>
> Thanks so much,
>
> Jeremy
>
> On Monday, February 13, 2023 at 7:52:04 PM UTC-4 [email protected] wrote:
> 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/a13883b2-56f7-4318-bc12-a31c03b85fc7n%40googlegroups.com.

Reply via email to