<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have a question about gmsh/gmsh-sdk installation under python - I realise this is not a gmsh question exactly, so hope it is OK.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I was trying to install gmsh and gmsh-sdk on a computer running ubuntu 18.04 using 'pip3 install gmsh' (I also tried 'pip3 install gmsh-sdk'). On my mac laptop (OSX 10.15.4) this works fine. It puts the appropriate python gmsh files under /usr/local/ and everything
works fine. However under ubuntu it installed to files under $HOME/.local/ and python3 says it cannot find the gmsh module. I have modified the PYTHONPATH variable to take into account $HOME/.local/, but this doesn't help.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I really don't know what is going on on two fronts:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ol>
<li>I don't know why pip is installing things in different places between my two machines.</li><li>When I type print(sys.path) in python it points to the places where I think gmsh should be. Which files am I looking for exactly?</li></ol>
<div>After a long time trawling the internet, I couldn't find anything that would help me with these issues.</div>
<div><br>
</div>
<div>Any insights would be much appreciated.</div>
<div><br>
</div>
<div>Thank you,</div>
<div><br>
</div>
<div>Peter.<br>
</div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px; margin:0px">
<font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font face="Chalkboard" color="black">Associate Professor Peter Johnston (FAustMS, FIMA)</font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px; margin:0px">
<span style="color:black; font-family:Chalkboard; font-size:11pt">School of Environment and Science</span><br>
</div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px; margin:0px">
<font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font face="Chalkboard" color="red"><b>Griffith University </b></font><font face="Chalkboard" color="black">| Nathan | QLD 4111 | Technology (N44) Room 3.19</font><font face="Chalkboard" color="black"><br>
T +61 7 373 57748| F +61 7 373 57656 Email </font><font face="Chalkboard"><font color="#0563C1"><a href="mailto:c.l.brown@griffith.edu.au" target="_blank" rel="noopener noreferrer">p.johnston@griffith.edu.au</a></font></font></span></font></div>
</div>
</div>
</div>
</body>
</html>