Thanks again for the suggestions.
1) I do have the _sensor.pyd file.
2) I do not have a PYTHON_PATH (or PYTHONPATH) environment variable.
3) I have attached the outputs of the commands you specified.
Let me know if that helps diagnose my issue.
Thanks,
Jeremy
On Monday, February 13, 2023 at 8:53:17 PM UTC-4 [email protected] wrote:
> 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/fb50cca2-8398-470c-a0b6-b53cc80564d6n%40googlegroups.com.
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_May__3_19:00:59_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.7, V11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0
Mon Feb 13 21:07:57 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 528.02 Driver Version: 528.02 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... WDDM | 00000000:01:00.0 Off | N/A |
| N/A 49C P0 N/A / N/A | 0MiB / 2048MiB | 2% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+