Code Monkey home page Code Monkey logo

Comments (4)

colinsullivan avatar colinsullivan commented on August 17, 2024

Confirmed on another machine with similar configuration as Amy's:

  File "audiotools/__init__.py", line 30, in <module>
    from . import pcm as pcm
ImportError: cannot import name pcm

OS X with Python installed in MacPorts' /opt/local/Library/....

audiotools is installed properly in site-packages.

Last time I installed was using b8d2f7b, and it was working.

from python-audio-tools.

tuffy avatar tuffy commented on August 17, 2024

Are you performing the import from inside the source tree? Once installed,
you'll likely need to "cd" outside the audiotools/ directory in order for
Python to find the binary modules properly.

------ Original Message ------
Received: 12:11 PM CDT, 06/28/2011
From: amywieliczka
[email protected]
To: [email protected]
Subject: [python-audio-tools] pcm installation problem (#5)

My installation isn't working, this is what happens when you import the
module

import audiotools
Traceback (most recent call last):
File "", line 1, in
File "audiotools/init.py", line 30, in
from . import pcm as pcm
ImportError: cannot import name pcm

Do you have any insight into what may be the issue?

Reply to this email directly or view it on GitHub:
#5

from python-audio-tools.

amywieliczka avatar amywieliczka commented on August 17, 2024

Thanks!

audiotools-config wasn't working either (suggesting I reinstall audiotools), but I changed the shebang line to #!/usr/bin/env python

from python-audio-tools.

arfoll avatar arfoll commented on August 17, 2024

Wow that was handy. +1 :)

from python-audio-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.