Created
December 11, 2013 17:49
-
-
Save dokipen/7915129 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running command {:args=>["/bin/bash", "-c", "env PYTHONPATH=/usr/lib/ruby/gems/1.9.1/gems/fpm-1.0.1/lib/fpm/package python setup.py --command-packages=pyfpm get_metadata --output=/tmp/package-python-build20131211-11854-1r8ym9h/metadata.json"], :level=>:debug, :file=>"fpm/util.rb", :line=>"48"} | |
Process is running {:pid=>11859, :level=>:debug, :file=>"fpm/util.rb", :line=>"61"} | |
Running from scipy source directory. {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"} | |
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"} | |
or: setup.py --help [cmd1 cmd2 ...] {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"} | |
or: setup.py --help-commands {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"} | |
or: setup.py cmd --help {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"} | |
{:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"} | |
error: invalid command 'get_metadata' {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"} | |
Process failed: /bin/bash failed (exit code 1). Full command was:["/bin/bash", "-c", "env PYTHONPATH=/usr/lib/ruby/gems/1.9.1/gems/fpm-1.0.1/lib/fpm/package python setup.py --command-packages=pyfpm get_metadata --output=/tmp/package-python-build20131211-11854-1r8ym9h/metadata.json"] {:level=>:error, :file=>"fpm/command.rb", :line=>"409"} |
I ran into this today.. ended up fixing it by making sure setuptools (specifically pkg_resources) was installed for the version of python that was running.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fpm --verbose --debug -s python -t deb --architecture "amd64" --python-install-lib /opt/embedly-python --python-package-name-prefix embedly --version "0.11.0" --force "scipy"