Installing elegant/sdds windows and python3.9

Moderators: cyao, soliday

Post Reply
Elaf_Musa
Posts: 3
Joined: 28 Feb 2022, 09:12

Installing elegant/sdds windows and python3.9

Post by Elaf_Musa » 02 Mar 2022, 13:29

I want to install elegant and sdds in my windows 10 and python 3.9 or python 3.10 are available.

For that i downloaded the Elegant x64.msi and the SDDS Python3.9 x64.msi and simply installed these two files
Now when i tried to import the sdds for example i get the error " No module named 'sdds' "
How can i install elegant and the sdds probably ?

soliday
Posts: 405
Joined: 28 May 2008, 09:15

Re: Installing elegant/sdds windows and python3.9

Post by soliday » 02 Mar 2022, 14:50

When you install it, you must select the same installation directory as your python installation directory. On my system I have python3.9 installed at:
c:/Python39_64bit

This results in:
c:/Python39_64bit/Lib/sdds.py
c:/Python39_64bin/DLLs/sddsdata.pyd
c:/Python39_64bin/DLLs/SDDS1.dll

Then I can execute c:/Python39_64bit/python.exe and run: import sdds
There shouldn't be any error messages.

Elaf_Musa
Posts: 3
Joined: 28 Feb 2022, 09:12

Re: Installing elegant/sdds windows and python3.9

Post by Elaf_Musa » 04 Mar 2022, 07:16

I Moved the Elegant x64.msi and the SDDS Python3.9 x64.msi into C:\Users\musa\Anaconda3 where python3.9 is installed in my windows.
And i install the two files but i can not see the following files as result

c:/Anaconda3 /Lib/sdds.py
c:/Anaconda3 /DLLs/sddsdata.pyd
c:/Anaconda3 /DLLs/SDDS1.dll

Did i miss any of the installation steps ?

soliday
Posts: 405
Joined: 28 May 2008, 09:15

Re: Installing elegant/sdds windows and python3.9

Post by soliday » 04 Mar 2022, 09:59

It does not matter where the SDDSPython3.9.x64.msi is when you install it. What matters is that when you install it there is a dialog screen that pops up with the installation directory listed. You will have to delete the default directory and replace it with c:/Anaconda

Post Reply