Re: [Tutor] ImportError: No module named openpyxl.workbook

2018-05-11 Thread Alan Gauld via Tutor
On 11/05/18 01:43, Pareshkumar Panchal wrote: > Error: > from openpyxl.workbook import Workbook > ImportError: No module named openpyxl.workbook > > I am using only pandas however it still works fine on one computer having > openpyxl already installed eventhough i am not using openpyxl in the > p

[Tutor] ImportError: No module named openpyxl.workbook

2018-05-11 Thread Pareshkumar Panchal
Hi, I am trying to write the pandas dataframe to excel but it shows following error: Error: from openpyxl.workbook import Workbook ImportError: No module named openpyxl.workbook I am using only pandas however it still works fine on one computer having openpyxl already installed eventhough i am n

Re: [Tutor] ImportError: No module named...

2016-04-18 Thread Marco Soldavini
Yeah, I spotted the mistake. There was a file left in the folder named reportlab.pyc which I could not see from the pycharm interface. Thanks! On Mon, Apr 18, 2016 at 1:47 AM, Danny Yoo wrote: > >> But I get the following error code on line 1 >> >> ImportError: No module named pdfgen >> > > Is r

Re: [Tutor] ImportError: No module named...

2016-04-17 Thread Danny Yoo
> But I get the following error code on line 1 > > ImportError: No module named pdfgen > Is reportlab.pdfgen a standard part of that package's installation? You might want to check for possible conflicts with other things called reportlab. Do you have any files in the current directory that are

[Tutor] ImportError: No module named...

2016-04-17 Thread Marco Soldavini
I am running this configuration Win7 64 bit Python 2.7.9 PyCharm Community Edition 4.5.4 Reportlab-2.8.win32-py2.7 I am try to running this simple example code from reportlab.pdfgen import canvas from reportlab.platypus import Image im = Image ("logo.jpg") c = canvas.Canvas("hello.pdf") c.drawS

Re: [Tutor] ImportError: No module named connect

2015-11-03 Thread Steven D'Aprano
On Tue, Nov 03, 2015 at 12:59:26PM -0500, Tommy Peterson wrote: > I have been trying to install the MySQL Connect module for a day and a half. I see that you believe that you have solved your problem ("from mysql import connector" rather than "connect" or "connection") but for the record you ha

Re: [Tutor] ImportError: No module named connect

2015-11-03 Thread Tommy Peterson
As I typed this out I double checked something. I resolved my own problem. Should have stepped back before posting. It is import mysql.connector not import mysql.connection From: stpete...@hotmail.com To: tutor@python.org Subject: ImportError: No module named connect Date: Tue, 3 Nov 2015 12:

[Tutor] ImportError: No module named connect

2015-11-03 Thread Tommy Peterson
I have been trying to install the MySQL Connect module for a day and a half. First I got an error saying that "No module named mysql" was installed. After a lot of trial and error I got passed that. I realized that because I have python installed in /usr/local that I needed to build and then in

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-25 Thread Albert-Jan Roskam
- Original Message - > From: Oscar Benjamin > To: Steven D'Aprano > Cc: "Tutor@python.org" > Sent: Wednesday, September 25, 2013 11:58 AM > Subject: Re: [Tutor] ImportError: No module named '_sysconfigdata_m' > > On 25 September 2013 00:

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-25 Thread Oscar Benjamin
On 25 September 2013 00:25, Steven D'Aprano wrote: > On Tue, Sep 24, 2013 at 01:33:23PM +0100, Oscar Benjamin wrote: > >> If you want to mess with your system 'sudo rm -rf' is definitely the >> way to go. Don't bother reporting this as a bug since you've >> *definitely* voided the warranty (that y

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Alan Gauld
On 24/09/13 19:22, Prasad, Ramit wrote: Why uninstall via Synaptic? If he manually installed from source He installed 3.3 from source. 3.2 was already there courtesy of Mint. Therefore, he should have uninstalled 3.2 via Synaptic. Reinstalling 3.2 via synaptic and then uninstalling it, may cl

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Steven D'Aprano
On Tue, Sep 24, 2013 at 06:20:37AM -0700, Albert-Jan Roskam wrote: > > If you want to mess with your system 'sudo rm -rf' is definitely the > > way to go. Don't bother reporting this as a bug since you've > > *definitely* voided the warranty (that your free software didn't come > > with). > > And

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Steven D'Aprano
On Tue, Sep 24, 2013 at 01:33:23PM +0100, Oscar Benjamin wrote: > If you want to mess with your system 'sudo rm -rf' is definitely the > way to go. Don't bother reporting this as a bug since you've > *definitely* voided the warranty (that your free software didn't come > with). I first read that

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread eryksun
On Tue, Sep 24, 2013 at 1:42 PM, Albert-Jan Roskam wrote: > I did not use "--prefix". I just reinstalled Python 3.2 via the package > manager, and > it everything is working again --THANK YOU ALL! > > antonia@antonia-HP-2133 ~ $ which python3.3 > /usr/local/bin/python3.3 This is the version you

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Prasad, Ramit
Alan Gauld wrote: > > On 24/09/13 14:20, Albert-Jan Roskam wrote: > > >> "python", python 2.7 fires up. Also, I entirely removed python 3.2 > >> (sudo rm -rf $(which python3.2), IIRC), which came with Linux Mint. > > That's almost never the right way to remove a package that came with the OS. >

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Albert-Jan Roskam
- Original Message - > From: eryksun > To: Albert-Jan Roskam > Cc: Python Mailing List > Sent: Tuesday, September 24, 2013 5:25 PM > Subject: Re: [Tutor] ImportError: No module named '_sysconfigdata_m' > > On Tue, Sep 24, 2013 at 8:18 AM, Albert-Jan

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Oscar Benjamin
On 24 September 2013 16:25, eryksun wrote: > > The "command-not-found" script uses 3.x on Ubuntu/Mint: > > http://packages.ubuntu.com/saucy/command-not-found > > It's 2.x on Debian, but thankfully it isn't part of the default install. I actually find it useful. I wish I could get the same for imp

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Alan Gauld
On 24/09/13 14:20, Albert-Jan Roskam wrote: "python", python 2.7 fires up. Also, I entirely removed python 3.2 (sudo rm -rf $(which python3.2), IIRC), which came with Linux Mint. That's almost never the right way to remove a package that came with the OS. You should have used the package mana

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread eryksun
On Tue, Sep 24, 2013 at 8:18 AM, Albert-Jan Roskam wrote: > am using Linux Mint XFCE. I have to look up the exact version number. I > recently > downloaded and installed Python 3.3. I downloaded the tarball > and compiled, tested and installed everything as per instructions in the > (readme? inst

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Luca Ferrari
On Tue, Sep 24, 2013 at 2:25 AM, Steven D'Aprano wrote: > Unless this was at the Python prompt, it's not really a Python question. > It's a question about your Linux installation, and why "gigt" ends up > calling Python. Start with: > > man gigt > > which gigt > > locate gigt > As far as I know

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Dave Angel
On 24/9/2013 09:20, Albert-Jan Roskam wrote: > I just didn't want to have more versions than I actually need. Python 3.3 is > closer to Python 2.7 than earlier Python 3 versions. > I am now planning to reinstall Python 3.2 using "sudo apt-get install python3" I suspect you'd be better off tryin

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Albert-Jan Roskam
- Original Message - > From: Oscar Benjamin > To: Albert-Jan Roskam > Cc: Python Mailing List > Sent: Tuesday, September 24, 2013 2:33 PM > Subject: Re: [Tutor] ImportError: No module named '_sysconfigdata_m' >> I was planning to reply after I h

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Dave Angel
On 24/9/2013 08:18, Albert-Jan Roskam wrote: >, everything appears to work normally (phew) If I type "python", python > 2.7 fires up. Also, I entirely removed python 3.2 (sudo rm -rf $(which > python3.2), IIRC), which came with Linux Mint. Right there is your mistake. > > > OoooOoOoh, I h

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Oscar Benjamin
On 24 September 2013 13:18, Albert-Jan Roskam wrote: >> >>On 23 September 2013 20:28, Albert-Jan Roskam wrote: >>> Hi, >>> >>> I just wanted to type "git status" in my Linux terminal but I made a typo >>> and I got a long Python 3.3 traceback message. Just curious: What does it >>> mean? >>> >>>

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Albert-Jan Roskam
> From: Oscar Benjamin >To: Albert-Jan Roskam >Cc: Python Mailing List >Sent: Tuesday, September 24, 2013 1:47 PM >Subject: Re: [Tutor] ImportError: No module named '_sysconfigdata_m' > > >On 23 September 2013 20:28, Albert

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-24 Thread Oscar Benjamin
On 23 September 2013 20:28, Albert-Jan Roskam wrote: > Hi, > > I just wanted to type "git status" in my Linux terminal but I made a typo > and I got a long Python 3.3 traceback message. Just curious: What does it > mean? > > gigt status > Traceback (most recent call last): > File "/usr/lib/pytho

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-23 Thread Steven D'Aprano
On Mon, Sep 23, 2013 at 12:28:10PM -0700, Albert-Jan Roskam wrote: > Hi, > > I just wanted to type "git status" in my Linux terminal but I made a > typo and I got a long Python 3.3 traceback message. Just curious: What > does it mean? Unless this was at the Python prompt, it's not really a Pyth

Re: [Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-23 Thread eryksun
On Mon, Sep 23, 2013 at 3:28 PM, Albert-Jan Roskam wrote: > I just wanted to type "git status" in my Linux terminal but I made a typo > and I got a long Python 3.3 traceback message. Just curious: What does it > mean? > > gigt status > Traceback (most recent call last): "gigt"? Why is that trying

[Tutor] ImportError: No module named '_sysconfigdata_m'

2013-09-23 Thread Albert-Jan Roskam
Hi, I just wanted to type "git status" in my Linux terminal but I made a typo and I got a long Python 3.3 traceback message. Just curious: What does it mean? gigt status Traceback (most recent call last):   File "/usr/lib/python3.3/site.py", line 631, in     main()   File "/usr/lib/python3.3/si

[Tutor] ImportError: No module named wdmmgext.load

2011-04-15 Thread Ben Teeuwen
Hi, I'm trying to install the code from http://wheredoesmymoneygo.org/getting-started/ on my local machine. I've got a mac os 10.6.7, python 2.7.1, pip, and the most recent postgres installation. I'm now testing imported data and I get 21 errors (see attached). The majority sounds like: f

[Tutor] ImportError: No module named wdmmgext.load

2011-04-11 Thread Ben Teeuwen
Hi, Thanks Emile van Sebille for answering my last question. I'm now testing my imported data and I get 21 errors (see attached). The majority sounds like: from wdmmgext.load import uganda ImportError: No module named wdmmgext.load I've searched the files that use this module. Attached is

Re: [Tutor] ImportError: No module named conf

2009-03-29 Thread Kent Johnson
On Sun, Mar 29, 2009 at 3:11 PM, andré palma wrote: > Hey, i was trying to install python d2xx files but i got an error saying: What is d2xx? Be more specific about what you are trying to install. Kent ___ Tutor maillist - Tutor@python.org http://m

[Tutor] ImportError: No module named conf

2009-03-29 Thread andré palma
Hey, i was trying to install python d2xx files but i got an error saying: ImportError: No module named conf "from conf import * " <--- the error line. I've already searched for this module but i didn't find anything. Anyone have an idea why is this about? _

Re: [Tutor] ImportError: No module named _apache

2007-05-15 Thread Eric Walstad
Hey ShivKumar, ShivKumar Anand wrote: > *I am getting this error message:* > > Traceback (most recent call last): > File "C:\Python24\exp\Web\SoapTest.py", line 1, in ? > from mod_python import apache > File "C:\Python24\lib\site-packages\mod_python\apache.py", line 28, in ? > import

[Tutor] ImportError: No module named _apache

2007-05-15 Thread ShivKumar Anand
dear all, I am trying to implement a text from mod_python manual. the code is: from mod_python import apache def handler(req):req.content_type ="text/plain\n\n" req.send_http_header()req.write("Hello World!!!")return apache.ok and the conf file of apache is having AddHa

Re: [Tutor] ImportError: No module named mpcp

2007-04-27 Thread Rikard Bosnjakovic
On 4/27/07, shiv k <[EMAIL PROTECTED]> wrote: > When I launch a command-line interpreter, mpcp exists Sounds like a PATH-issue (environment variable). Check both your PYTHONPATH and PATH, and make sure mpcp is in either python's site-lib/ or in your PYTHONPATH. -- - Rikard - http://bos.hack.o

[Tutor] ImportError: No module named mpcp

2007-04-27 Thread shiv k
I'm using (or attempting to use) mpcp to embed CherryPy apps with  mod_python. I'm getting this message, however, when I try this: ... ImportError: No module named mpcp ... When I launch a command-line interpreter, mpcp exists I am using this on win xp and apache. whats wrong Mega Airfare Sale. Cli

Re: [Tutor] ImportError: No module named numarray

2005-07-11 Thread Kent Johnson
Danny Yoo wrote: >>nltk is looking for a module called numarray that is not part of the >>standard Python distribution. Do you have numarray installed? Look for >>C:\Python24\Lib\site-packages\numarray. If you don't have it then >>download numarray from C:\Python24\Lib\site-packages\numarray and >>

Re: [Tutor] ImportError: No module named numarray

2005-07-11 Thread Danny Yoo
> nltk is looking for a module called numarray that is not part of the > standard Python distribution. Do you have numarray installed? Look for > C:\Python24\Lib\site-packages\numarray. If you don't have it then > download numarray from C:\Python24\Lib\site-packages\numarray and > install it accord

Re: [Tutor] ImportError: No module named numarray

2005-07-11 Thread Kent Johnson
enas khalil wrote: > when i write a code to import some module like the following : > > > from nltk.probability import ConditionalFreqDist > > I got the error : > > Traceback (most recent call last): > File "C:\Python24\toky.py", line 1, in -toplevel- > from nltk.probability import Co

[Tutor] ImportError: No module named numarray

2005-07-11 Thread enas khalil
when i write a code to import some module like the following :     from nltk.probability import ConditionalFreqDist   I got the error :   Traceback (most recent call last):  File "C:\Python24\toky.py", line 1, in -toplevel-    from nltk.probability import ConditionalFreqDist  File "C:\Python24\Lib