From wei.sun at mymail.unisa.edu.au Wed May 8 11:51:11 2019 From: wei.sun at mymail.unisa.edu.au (Sun, Wei - sunwy015) Date: Wed, 8 May 2019 01:51:11 +0000 Subject: [NEMO-devel] Problem when importing NEMO Message-ID: <3F809D60-F16B-4EB0-89E8-ACDEC2A00CEA@mymail.unisa.edu.au> Hi Ben, I am a PhD student at UniSA and I am doing some NEM research. I knew NEMO from several published papers and I am trying to use it myself. However, when I am trying to import the nemo module in my python 3 environment, an error message pops up and says ?No module named urllib2?. Would you please tell me how to fix this? Many thanks. Regards, Wei Sun, CFA wei.sun at mymail.unisa.edu.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From bje at air.net.au Thu May 9 08:58:25 2019 From: bje at air.net.au (Ben Elliston) Date: Thu, 9 May 2019 08:58:25 +1000 Subject: [NEMO-devel] Problem when importing NEMO In-Reply-To: <3F809D60-F16B-4EB0-89E8-ACDEC2A00CEA@mymail.unisa.edu.au> References: <3F809D60-F16B-4EB0-89E8-ACDEC2A00CEA@mymail.unisa.edu.au> Message-ID: <20190508225825.krsofswkyxbapxv2@air.net.au> Hi Wei On Wed, May 08, 2019 at 01:51:11AM +0000, Sun, Wei - sunwy015 wrote: > I knew NEMO from several published papers and I am trying to use it > myself. However, when I am trying to import the nemo module in my > python 3 environment, an error message pops up and says ???No module > named urllib2???. Would you please tell me how to fix this? Thanks for your email and great to hear you want to use NEMO. In mid-March, I committed a change to move the entire source tree to Python 3. That change removed references to urllib2 (which is Python 2 only), so I can only assume that your copy of the source tree is not current? Can you check? Cheers, Ben