[Usecase] Action Required: Python Modules (Update status)
Si Liu
siliu at tacc.utexas.edu
Mon Dec 7 08:47:33 CST 2020
Dear all,
Please ignore the early draft email. My wireless keyboard just runs out of battery...
1)
I have installed multiple extra python modules including MySQLdb, mysql, mysql_connector_python, PyFoam, openseespy, etc. on the Stampede2 system under /home1/apps/DesignSafe.
The only exception is PyLncore, which is another story. If Jamie needs any extra assistance with that, I am glad to help.
2) To use the new installed packages, please add one single command before you start python like this:
$ export PYTHONPATH=$PYTHONPATH:/home1/apps/DesignSafe/
Or you can use the "sys.path" to update it within your Python environment like this:
$ python3
Python 3.6.8 (default, Apr 2 2020, 13:34:55)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mysql
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'mysql'
>>> import sys
>>> sys.path.append('/home1/apps/DesignSafe')
>>> import mysql
3) You can list (and grep) the installed packages on the system with the commands like:
$ export PYTHONPATH=$PYTHONPATH:/home1/apps/DesignSafe/
$ pip3 freeze | grep mysql
If you encounter any problems or need any further assistance, please feel free to let me know.
Best wishes,
Si Liu
TACC
From: Usecase <usecase-bounces at designsafe-ci.org> On Behalf Of Natalie Henriques
Sent: Tuesday, November 24, 2020 10:16 AM
To: usecase at designsafe-ci.org
Subject: [Usecase] Action Required: Python Modules
Hi All,
Si Liu and his team will be working to get extra Python modules on the system by December 18, 2020.
Please let him know what extra Python modules you need or will need on TACC systems (like openseespy, paramiko, scipy, etc.) by Monday, December 7 so that he will have time to review them.
Thanks,
Natalie
Natalie Henriques, PMP
DesignSafe Project Manager
Texas Advanced Computing Center (TACC)
The University of Texas at Austin
Email: natalie at tacc.utexas.edu<UrlBlockedError.aspx>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.designsafe-ci.org/pipermail/usecase/attachments/20201207/89570a68/attachment-0001.html>
More information about the Usecase
mailing list