
Hi, I use python2.4+numarray1.1.1. import numarray.convolve as conv produces an ImportError : No module named convolve Can you help me ? -- René Bastian http://www.musiques-rb.org : Musique en Python

On Fri, 2005-01-07 at 06:54, René Bastian wrote:
Hi,
I use python2.4+numarray1.1.1.
import numarray.convolve as conv
produces an ImportError : No module named convolve
Can you help me ?
The above works fine for me. I'd suggest deleting your current numarray install and "build" tree and re-installing. What's your OS and processor?

Le Vendredi 7 Janvier 2005 12:54, René Bastian a écrit :
Hi,
I use python2.4+numarray1.1.1.
import numarray.convolve as conv
produces an ImportError : No module named convolve
Can you help me ?
This is the error message : Traceback (most recent call last): File "afolia01.py", line 11, in ? from filtres import * File "/home/rbastian/pythoneon/Filtres/filtres.py", line 5, in ? #-------------------------- ImportError: No module named convolve The line 5 is an commented line ! -- René Bastian http://www.musiques-rb.org : Musique en Python

On Fri, 2005-01-07 at 07:27, René Bastian wrote:
Le Vendredi 7 Janvier 2005 12:54, René Bastian a écrit :
Hi,
I use python2.4+numarray1.1.1.
import numarray.convolve as conv
produces an ImportError : No module named convolve
Can you help me ?
This is the error message :
Traceback (most recent call last): File "afolia01.py", line 11, in ? from filtres import * File "/home/rbastian/pythoneon/Filtres/filtres.py", line 5, in ? #-------------------------- ImportError: No module named convolve
The line 5 is an commented line !
Show us maybe the first 10 lines of filtres.py.

Le Vendredi 7 Janvier 2005 22:05, Todd Miller a écrit :
On Fri, 2005-01-07 at 07:27, René Bastian wrote:
Le Vendredi 7 Janvier 2005 12:54, René Bastian a écrit :
Hi,
I use python2.4+numarray1.1.1.
import numarray.convolve as conv
produces an ImportError : No module named convolve
Can you help me ?
This is the error message :
Traceback (most recent call last): File "afolia01.py", line 11, in ? from filtres import * File "/home/rbastian/pythoneon/Filtres/filtres.py", line 5, in ? #-------------------------- ImportError: No module named convolve
The line 5 is an commented line !
Show us maybe the first 10 lines of filtres.py. This are the first 14 lines of filtres.py (the tags are lHTML-like) <pre> #-*-python-*- #-*-coding:latin-1-*- import numarray as NA import numarray.convolve as conv #--------------------------
from utiles import sr, midi2freq, aff from math import sqrt import Canal """ une collection de filtres """ #---------------------------------------------------------- </pre> filtres.py alone works ... bu if imported, it dont here the first 23 lines of an application (filtres is imported) where it dont work <pre> #-*-python-*- #-*-coding:Latin 1-*- """ suite d'evenements 1 son seul ; tr\`es fort 2 sons superpos\'e ; de moins en moins fort .... n sons superposes séparés par des écarts aleatoires v0.colognestereo.raw est la version sans valeur 'amplitude' ni 'enveloppe' """ import random import numarray.random_array as RA #import Convolve import numarray.convolve as Convolve from numarray import * from profils import * from filtres import * import utiles as U from ondesNumarray import * from oscillateurs import * </pre> -- René Bastian http://www.musiques-rb.org : Musique en Python

There was an error in the pythoneon.pth file in the site-packages repertory. (circular references ?). I rewrote this file and now all waorks. Thanks and apologies ... rbastian Le Vendredi 7 Janvier 2005 13:27, René Bastian a écrit :
Le Vendredi 7 Janvier 2005 12:54, René Bastian a écrit :
Hi,
I use python2.4+numarray1.1.1.
import numarray.convolve as conv
produces an ImportError : No module named convolve
Can you help me ?
This is the error message :
Traceback (most recent call last): File "afolia01.py", line 11, in ? from filtres import * File "/home/rbastian/pythoneon/Filtres/filtres.py", line 5, in ? #-------------------------- ImportError: No module named convolve
The line 5 is an commented line !
participants (2)
-
René Bastian
-
Todd Miller