Skip to content
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

Import error #199

Open
LeoG2 opened this issue Nov 29, 2019 · 4 comments
Open

Import error #199

LeoG2 opened this issue Nov 29, 2019 · 4 comments

Comments

@LeoG2
Copy link

LeoG2 commented Nov 29, 2019

hi
I have been trying to install pychrono. but when I try to load it appears the following :

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Admin\Anaconda3\envs\shapeSim\lib\site-packages\pychrono_init_.py", line 7, in
from .core import *
File "C:\Users\Admin\Anaconda3\envs\shapeSim\lib\site-packages\pychrono\core.py", line 13, in
from . import _core
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

I set up a new environment , nenv, and used conda install -c projectchrono pychrono.
the system states as done. Using list I can see pychrono.

pychrono 4.0.0 py37_402 projectchrono

Does anyone could please help me to solve this issue? what is required to get pychrono running.

@Benatti1991
Copy link
Member

Hi Leo,
does your CPU support AVX2 instructions?

@LeoG2
Copy link
Author

LeoG2 commented Nov 30, 2019

Hi ,
yes it does, it is an intel core i5 8400T.

@LeoG2
Copy link
Author

LeoG2 commented Dec 2, 2019

Hi ,
yes it does, it is an intel core i5 8400T.

Hi Benatti,
Sorry, I have double checked, and the processor only supports AVX instructions. The issue started after updating the libraries. I installed using anaconda and I manage to run some codes importing some obj files. The test were random as sometimes the files could be uploaded and showed on the screen, but using different files with the same extension did not work. I also tried to load stl files, which worked fine the first time, but the following day stop working using the same file and any other file, not loading the file. Then I updated pychrono and anaconda to load them as STEP files with cascade, but the library was not installed. The issue started after the update.

Now when I tried to import pychrono I have the next message:

import pychrono
Traceback (most recent call last):

File "", line 1, in
import pychrono

File "C:\Users\Admin\Anaconda3\envs\shapeSim\lib\site-packages\pychrono_init_.py", line 7, in
from .core import *

File "C:\Users\Admin\Anaconda3\envs\shapeSim\lib\site-packages\pychrono\core.py", line 13, in
from . import _core

ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

What did I do wrong that is not running now?

@guosijia
Copy link

I have the same problem, is there any way to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants