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: cannot import name

2016-08-31 Thread Peter Otten
fa306...@skynet.be wrote: > Hello, > I use python 3.5.1 and try to import sompy and get the following error: > > File > "C:\Anaconda3\lib\site-packages\sompy-1.0-py3.5.egg\sompy\__init__.py", > line 30, in from sompy import SOMFactory > > ImportError: cannot import name 'SOMFactory' > > Wh

Re: [Tutor] ImportError: cannot import name

2016-08-30 Thread Steven D'Aprano
On Wed, Aug 31, 2016 at 10:25:17AM +1000, Steven D'Aprano wrote: > (4) Are you sure that SOMFactory actually exists? I don't see it in any > of the five notebooks here: > > https://github.com/sevamoo/SOMPY > > although maybe I've missed something. I may have... there's a sixth notepad here: h

Re: [Tutor] ImportError: cannot import name

2016-08-30 Thread Steven D'Aprano
On Tue, Aug 30, 2016 at 11:25:44AM +0200, fa306...@skynet.be wrote: > Hello, > I use python 3.5.1 and try to import sompy and get the following error: > > File "C:\Anaconda3\lib\site-packages\sompy-1.0-py3.5.egg\sompy\__init__.py", > line 30, in from sompy import SOMFactory > > ImportError:

Re: [Tutor] ImportError: cannot import name

2016-08-30 Thread Alan Gauld via Tutor
On 30/08/16 10:25, fa306...@skynet.be wrote: Hello, I use python 3.5.1 and try to import sompy and get the following error: File "C:\Anaconda3\lib\site-packages\sompy-1.0-py3.5.egg\sompy\__init__.py", line 30, in from sompy import SOMFactory ImportError: cannot import name 'SOMFactory' Wh

[Tutor] ImportError: cannot import name

2016-08-30 Thread fa306...@skynet.be
Hello, I use python 3.5.1 and try to import sompy and get the following error: File "C:\Anaconda3\lib\site-packages\sompy-1.0-py3.5.egg\sompy\__init__.py", line 30, in from sompy import SOMFactory ImportError: cannot import name 'SOMFactory' What could cause such an error? Thanks in advance

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: 'DLL load failed: %1 is not a valid Win32 application.'

2013-10-15 Thread Dave Angel
On 10/10/2013 06:34, Sreenivasulu wrote: > Hi, > > I have windows 8 64 bit machine and installed python 2.7.3 64 bit version > . > > i have 32 bit package 4Suite-XML-1.0.24Suite-XML-1.0.2.win32.exe package > but am getting below error : Can't do it. 32 bit dll's cannot be loaded by 64 bit exe

Re: [Tutor] ImportError: 'DLL load failed: %1 is not a valid Win32 application.'

2013-10-11 Thread Walter Prins
Hi, On 10 October 2013 11:34, Sreenivasulu wrote: > Hi, > > I have windows 8 64 bit machine and installed python 2.7.3 64 bit > version . > > i have 32 bit package 4Suite-XML-1.0.24Suite-XML-1.0.2.win32.exe package > but am getting below error : > > Python 2.7.3 (default, Apr 10 2012, 23:24:

Re: [Tutor] ImportError: 'DLL load failed: %1 is not a valid Win32 application.'

2013-10-11 Thread Chris Down
On 2013-10-10 16:04, Sreenivasulu wrote: > ImportError: 'DLL load failed: %1 is not a valid Win32 application.' > > Please help me how to run win32 modules in 64 bit . If I'm reading that correctly, that's not an error about running a 32-bit application in a 64-bit environment, but an error about

[Tutor] ImportError: 'DLL load failed: %1 is not a valid Win32 application.'

2013-10-11 Thread Sreenivasulu
Hi, I have windows 8 64 bit machine and installed python 2.7.3 64 bit version . i have 32 bit package 4Suite-XML-1.0.24Suite-XML-1.0.2.win32.exe package but am getting below error : Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "c

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

Re: [Tutor] "ImportError: _strptime not supported"

2012-10-02 Thread eryksun
On Tue, Oct 2, 2012 at 6:19 PM, wrote: > > from datetime import datetime > start_date = datetime(year=2012, month=11, day=3) > print(start_date) > > datestring = '10/11/2012' > experiment_date = datetime.strftime(datestring, '%d/%m/%Y') > print(experiment_date) > > if experiment_date > start_date

Re: [Tutor] "ImportError: _strptime not supported"

2012-10-02 Thread Oscar Benjamin
On 2 October 2012 23:19, wrote: > The following code was recently suggested as an example of how the > datetime module could be used to solve a problem. Not having access to > Python at work, I found > http://pythontutor.com/visualize.html > thinking it would allow me to "play with Python" when

[Tutor] "ImportError: _strptime not supported"

2012-10-02 Thread akleider
The following code was recently suggested as an example of how the datetime module could be used to solve a problem. Not having access to Python at work, I found http://pythontutor.com/visualize.html thinking it would allow me to "play with Python" when I have a free moment. from datetime import

Re: [Tutor] ImportError

2012-07-31 Thread eryksun
On Tue, Jul 31, 2012 at 10:32 AM, Tino Dai wrote: > > File "/home/tdai/ProjectOne-TNT/leg_apps/etl/transfers/__init__.py", line > 8, in > from api import models > File "/home/tdai/ProjectOne-TNT/leg_apps/api/models.py", line 20, in > > from etl.transfers import eastern > ImportError:

Re: [Tutor] ImportError

2012-07-31 Thread Tim Golden
On 31/07/2012 15:32, Tino Dai wrote: > Hi All, > >I have been banging my head against a wall trying to figure it > out. I'm getting a ImportError on a > class that I know exists. I'm wondering if there is some dark corner of > the import mechanism that Try running python with the -v para

[Tutor] ImportError

2012-07-31 Thread Tino Dai
Hi All, I have been banging my head against a wall trying to figure it out. I'm getting a ImportError on a class that I know exists. I'm wondering if there is some dark corner of the import mechanism that I don't understand. -Tino Traceback (most recent call last): File "manage.py", lin

Re: [Tutor] ImportError: Module use of python25.dll conflicts with this version of Python.

2011-05-12 Thread Alan Gauld
"Susana Iraiis Delgado Rodriguez" wrote from _mapnik import * ImportError: Module use of python25.dll conflicts with this version of Python. I'm using Python 2.6 You will need to find a Python 2.6 version of the DLL or revert your Python version to 2.5. This is always a risk when usi

[Tutor] ImportError: Module use of python25.dll conflicts with this version of Python.

2011-05-12 Thread Susana Iraiis Delgado Rodriguez
Hello list! I just started working with a dll fro geospatial data, it uses Python to analyze data, this package is OSGeo4W; when I run the script and got the next error: >>> import mapnik Traceback (most recent call last): File "", line 1, in File "C:\OSGeo4W\apps\Python25\lib\site-packages\m

[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: cannot import name log

2009-09-17 Thread vishwajeet singh
On Thu, Sep 17, 2009 at 8:41 PM, steve wrote: > Hello Vishwajeet, > > On 09/16/2009 11:21 PM, vishwajeet singh wrote: > >> Hi, >> >> Below is the content of __init__.py >> >> import sys >> from django.core.signals import got_request_exception >> from . import log >> logger = log._get_logger() >>

Re: [Tutor] ImportError: cannot import name log

2009-09-17 Thread steve
Hello Vishwajeet, On 09/16/2009 11:21 PM, vishwajeet singh wrote: Hi, Below is the content of __init__.py import sys from django.core.signals import got_request_exception from . import log logger = log._get_logger() def got_request_exception_callback(sender, **kwargs): """Logging all unhandle

[Tutor] ImportError: cannot import name log

2009-09-16 Thread vishwajeet singh
Hi, Below is the content of __init__.py import sys from django.core.signals import got_request_exception from . import log logger = log._get_logger() def got_request_exception_callback(sender, **kwargs): """Logging all unhandled exceptions.""" type, exception, traceback = sys.exc_info()

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