Page 1 of 1

Installing elegant/sdds windows and python3.9

Posted: 02 Mar 2022, 13:29
by Elaf_Musa
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 ?

Re: Installing elegant/sdds windows and python3.9

Posted: 02 Mar 2022, 14:50
by soliday
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.

Re: Installing elegant/sdds windows and python3.9

Posted: 04 Mar 2022, 07:16
by Elaf_Musa
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 ?

Re: Installing elegant/sdds windows and python3.9

Posted: 04 Mar 2022, 09:59
by soliday
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