Closed TomDeFord closed 4 years ago
I've retested using your changes and success!
$ wget https://github.com/chrisstaite/lameenc/archive/master.zip $ mkdir master-15April2020 $ unzip master.zip -d master-15April2020 $ cd master-15April2020/lameenc-master/ $ mkdir build $ cd build $ cmake .. $ make $ pip3 install lameenc-0.0.1-cp35-cp35m-linux_armv7l.whl
$ pip3 show lameenc Name: lameenc Version: 0.0.1 Summary: LAME encoding bindings Home-page: https://github.com/chrisstaite/lameenc Author: Chris Staite Author-email: chris@yourdreamnet.co.uk License: GPLv3 Location: /home/pi/.local/lib/python3.5/site-packages Requires:
I installed the wheel manually as I couldn't see from the setup output that it did anything with it, hopefully this is the right approach. Maybe you could use the above and expand your build section in the readme index to help others. I've successfully recorded pcm mic output (using modules sounddevice, via PortAudio) and converted it using lameenc to an mp3 output. Thanks again for your efforts.
Hi Chris, thanks for your efforts. I'm trying to get lameenc working on a Raspberry Pi using Python3.5. So far I have:
$ pip3 install lameenc
Collecting lameenc
Could not find a version that satisfies the requirement lameenc (from versions: )
No matching distribution found for lameenc
I've then tried a build using https://github.com/chrisstaite/lameenc/archive/v1.2.2.tar.gz. running cmake/make downloads and builds lame-3.100 ok and drops the libraries in ./lameenc-1.2.2/build/lame/src/lame/lib. So far so good.
Problem warnings/errors then follow:
[100%] Generating lameenc-1.0.0-cp35-cp35m-linux_x86_64.whl
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
Installed /home/pi/build/lameenc-1.2.2/.eggs/better_setuptools_git_version-1.0.5-py3.5.egg /usr/lib/python3/dist-packages/setuptools/dist.py:342: UserWarning: The version specified ('fatal: Not a git repository (or any of the parent directories): .git.devfatal: N+dirty') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
the final setup steps include the above error in the path which can't be good:
Copying lameenc.egg-info to /home/pi/build/lameenc-1.2.2/build/build_tmp/lameenc-fatal_.Not.a.git.repository._or.any.of.the.parent.directories_..git.devfatal_.N_dirty.egg-info
running install_scripts
creating /home/pi/build/lameenc-1.2.2/build/build_tmp/lameenc-fatal_.Not.a.git.repository._or.any.of.the.parent.directories_..git.devfatal_.N_dirty.dist-info/WHEEL
[100%] Built target library3.5
Thanks for your help.