sdds for python3.5
sdds for python3.5
Hi all,
I am using python to make data analysis and also for plotting it, and using Ubuntu16.04. The most extended version, if I am not wrong, is Python3.
Is there any sdds extensions for Python3? If not, are you planning to upgrade it?
Thanks a lot in advance!
Cheers,
Pau Gonzalez Caminal
I am using python to make data analysis and also for plotting it, and using Ubuntu16.04. The most extended version, if I am not wrong, is Python3.
Is there any sdds extensions for Python3? If not, are you planning to upgrade it?
Thanks a lot in advance!
Cheers,
Pau Gonzalez Caminal
Re: sdds for python3.5
I have been building SDDSPython with the default version of Python for each version of Linux. However, I can post a version for Ubuntu16.04 Python3 later today.
Re: sdds for python3.5
It is ready to go http://ops.aps.anl.gov/downloads/SDDSPy ... x86_64.rpm
Unfortunately there has been an issue with outside access to our web site all day today. I have been told that IT is working on it.
Unfortunately there has been an issue with outside access to our web site all day today. I have been told that IT is working on it.
Re: sdds for python3.5
I changed the download links until outside access to the new web server is fixed.
You can download this now at http://wwwaps.anl.gov/asd/oag/downloads ... x86_64.rpm
You can download this now at http://wwwaps.anl.gov/asd/oag/downloads ... x86_64.rpm
Re: sdds for python3.5
Hi Soliday,
cool, thanks! I already installed it. However when I import the module sdds into python3, I get the following error:
Cheers,
Pau
cool, thanks! I already installed it. However when I import the module sdds into python3, I get the following error:
Could it be that by default the sddsdata is installed in some folder, in which python doesn't look for?In [1]: import sdds
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-d3a2141189aa> in <module>()
----> 1 import sdds
/usr/lib/python3/dist-packages/sdds.py in <module>()
----> 1 import sddsdata, sys, time
2
3 class SDDS:
4 """This class implements SDDS datasets."""
5
ImportError: No module named 'sddsdata'
Cheers,
Pau
Re: sdds for python3.5
The python2 expects the module shared library name to be sddsdatamodule.so while python3 expects it to be sddsdata.so. I have rebuilt the rpm file. Uninstall the one you have and then redownload the link above and install the updated version.
Re: sdds for python3.5
Awesome, now it works perfectly! =)
Thanks a lot Soliday!
Thanks a lot Soliday!
Re: sdds for python3.5
Hi, Soliday
Could you please also post the python 3 library for mac?
Thank you very much.
Yue
Could you please also post the python 3 library for mac?
Thank you very much.
Yue
Re: sdds for python3.5
https://ops.aps.anl.gov/downloads/darwi ... 3.6.tar.gz
This needs to be unpacked into /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ for Python3.6 from MacPorts or the site-packages directory of the version of Python3.6 that you are using.
This needs to be unpacked into /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ for Python3.6 from MacPorts or the site-packages directory of the version of Python3.6 that you are using.