installation help, programs not running

107 views
Skip to first unread message

Alberto G

unread,
Feb 21, 2021, 3:39:08 PM2/21/21
to DEVSIM TCAD
Hello, I'm trying to install devsim for a college project but there seems to be an error.
I installed the program from GitHub for windows 10 (v. 1.5.0). I already have python and had to download anaconda. In Anaconda I downloaded all the packages and did the set PYTHONPATH=/path/to/devsim/lib instruction with the folders directory from my computer but this is what I get when I run an example.

I know that most likely I'm doing something wrong, any suggestion?


devsim.png

Juan Sanchez

unread,
Feb 21, 2021, 3:51:30 PM2/21/21
to Alberto G, DEVSIM TCAD
Hi,

Windows presents these types of messages when some dll's are missing.

Please see the windows.txt file and let me know if installing these packages fixes the problem.

It is necessary to install these packages into your conda environment:

conda install mkl numpy


Microsoft Visual C++ Redistributable for Visual Studio 2019

https://www.visualstudio.com/downloads


x86 (32 bit): https://aka.ms/vs/16/release/VC_redist.x86.exe

x64 (64 bit): https://aka.ms/vs/16/release/VC_redist.x64.exe


Regards,

Juan

--
You received this message because you are subscribed to the Google Groups "DEVSIM TCAD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devsim+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/devsim/45ddf0c5-3735-4b22-8615-337bf2df83bdn%40googlegroups.com.

Juan Sanchez

unread,
Feb 21, 2021, 4:08:36 PM2/21/21
to Alberto G, DEVSIM TCAD
Hi,

It looks like you are trying to run the 64-bit version of devsim with a 32-bit version of python.  This will not work.

32-bit versions of devsim are no longer being provided on the releases page.  If you are unable to update your python to 64 bit, please let me know and I will see if I can provide a 32-bit build.

Regards,

Juan

Alberto G

unread,
Feb 21, 2021, 4:37:43 PM2/21/21
to DEVSIM TCAD
Thanks for the help, installed the latest Python but with 64 bits as you said and it's still not working, here is the error message and also the conda window (I think it has something to do with the PYTHONPATH?) Will wait for Visual to finish installing to try there anyways

DEVSIM1.2.png

Juan Sanchez

unread,
Feb 21, 2021, 7:55:14 PM2/21/21
to Alberto G, DEVSIM TCAD
Hi,

The PYTHONPATH is ok, as the error message shows it has found the dll.  Please let me know if the Visual Studio runtime installation fixes the problem.

Regards,

Juan

Alberto G

unread,
Feb 21, 2021, 9:17:15 PM2/21/21
to DEVSIM TCAD
Hello Juan, I get the following message when running an example (diode_2d) in Visual Studio
    from devsim import *
ModuleNotFoundError: No module named 'devsim'
Press any key to continue . . .

Juan Sanchez

unread,
Feb 21, 2021, 9:32:02 PM2/21/21
to Alberto G, DEVSIM TCAD
Hi,

Did you install this package?

image.png

You want this package instead of Visual Studio.

Regards,

Juan

Alberto G

unread,
Feb 25, 2021, 7:32:07 PM2/25/21
to DEVSIM TCAD
Thanks, I'm trying that solution, the problem is that when I'm trying to download it there's a download fail, it says :
0x80070570 - The file or directory is corrupted and unreadable" 
so I'm trying to fix that or finding out other alternatives like downloading the missing dll's 

Juan Sanchez

unread,
Feb 25, 2021, 10:53:51 PM2/25/21
to Alberto G, DEVSIM TCAD
Hi,

I am sorry you are having so much trouble.  You may want to try this version:

These "msys" builds use a different runtime component, so the Visual Studio runtime is not required.

Regards,

Juan

Reply all
Reply to author
Forward
0 new messages