Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install error #289

Open
MeiMo-Wang opened this issue Feb 22, 2023 · 1 comment
Open

make install error #289

MeiMo-Wang opened this issue Feb 22, 2023 · 1 comment

Comments

@MeiMo-Wang
Copy link

wjy@ubuntu:~/charm$ sudo make install
/usr/bin/python3 setup.py install
Extracting in /tmp/tmpwb69nvsc
Now working in /tmp/tmpwb69nvsc/distribute-0.6.24
Building a Distribute egg in /home/wjy/charm
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
creating build
creating build/src
creating build/src/docs
creating build/src/docs/_theme
creating build/src/docs/_theme/nature
creating build/src/docs/_theme/nature/static
creating build/src/docs/build
creating build/src/docs/build/html
creating build/src/docs/build/html/_sources
creating build/src/docs/build/html/_static
creating build/src/setuptools
creating build/src/setuptools/command
creating build/src/setuptools/tests
creating build/src/setuptools/tests/indexes
creating build/src/setuptools/tests/indexes/test_links_priority
creating build/src/setuptools/tests/indexes/test_links_priority/simple
creating build/src/setuptools/tests/indexes/test_links_priority/simple/foobar
creating build/src/tests
creating build/src/tests/shlib_test
copying setuptools/archive_util.py -> build/src/setuptools
copying setuptools/package_index.py -> build/src/setuptools
copying setuptools/sandbox.py -> build/src/setuptools
copying setuptools/dist.py -> build/src/setuptools
copying setuptools/init.py -> build/src/setuptools
copying setuptools/extension.py -> build/src/setuptools
copying setuptools/depends.py -> build/src/setuptools
copying setuptools/command/install_lib.py -> build/src/setuptools/command
copying setuptools/command/rotate.py -> build/src/setuptools/command
copying setuptools/command/saveopts.py -> build/src/setuptools/command
copying setuptools/command/install.py -> build/src/setuptools/command
copying setuptools/command/build_py.py -> build/src/setuptools/command
copying setuptools/command/sdist.py -> build/src/setuptools/command
copying setuptools/command/test.py -> build/src/setuptools/command
copying setuptools/command/alias.py -> build/src/setuptools/command
copying setuptools/command/upload.py -> build/src/setuptools/command
copying setuptools/command/develop.py -> build/src/setuptools/command
copying setuptools/command/build_ext.py -> build/src/setuptools/command
copying setuptools/command/register.py -> build/src/setuptools/command
copying setuptools/command/easy_install.py -> build/src/setuptools/command
copying setuptools/command/init.py -> build/src/setuptools/command
copying setuptools/command/setopt.py -> build/src/setuptools/command
copying setuptools/command/bdist_egg.py -> build/src/setuptools/command
copying setuptools/command/bdist_rpm.py -> build/src/setuptools/command
copying setuptools/command/upload_docs.py -> build/src/setuptools/command
copying setuptools/command/egg_info.py -> build/src/setuptools/command
copying setuptools/command/install_egg_info.py -> build/src/setuptools/command
copying setuptools/command/install_scripts.py -> build/src/setuptools/command
copying setuptools/command/bdist_wininst.py -> build/src/setuptools/command
copying setuptools/tests/test_build_ext.py -> build/src/setuptools/tests
copying setuptools/tests/test_upload_docs.py -> build/src/setuptools/tests
copying setuptools/tests/server.py -> build/src/setuptools/tests
copying setuptools/tests/test_packageindex.py -> build/src/setuptools/tests
copying setuptools/tests/test_easy_install.py -> build/src/setuptools/tests
copying setuptools/tests/test_resources.py -> build/src/setuptools/tests
copying setuptools/tests/init.py -> build/src/setuptools/tests
copying setuptools/tests/doctest.py -> build/src/setuptools/tests
copying setuptools/tests/test_develop.py -> build/src/setuptools/tests
copying setuptools/tests/test_sandbox.py -> build/src/setuptools/tests
copying setuptools/tests/win_script_wrapper.txt -> build/src/setuptools/tests
copying setuptools/gui.exe -> build/src/setuptools
copying setuptools/cli.exe -> build/src/setuptools
copying setuptools/cli-64.exe -> build/src/setuptools
copying setuptools/cli-32.exe -> build/src/setuptools
copying setuptools/gui-64.exe -> build/src/setuptools
copying setuptools/gui-32.exe -> build/src/setuptools
copying tests/install_test.py -> build/src/tests
copying tests/manual_test.py -> build/src/tests
copying tests/test_distribute_setup.py -> build/src/tests
copying tests/shlib_test/test_hello.py -> build/src/tests/shlib_test
copying tests/shlib_test/setup.py -> build/src/tests/shlib_test
copying tests/shlib_test/hellolib.c -> build/src/tests/shlib_test
copying tests/shlib_test/hello.c -> build/src/tests/shlib_test
copying tests/shlib_test/hello.pyx -> build/src/tests/shlib_test
copying tests/api_tests.txt -> build/src/tests
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored build/src/tests/api_tests.txt
--- build/src/tests/api_tests.txt (original)
+++ build/src/tests/api_tests.txt (refactored)
@@ -39,7 +39,7 @@
>>> dist.py_version == sys.version[:3]
True

  • print dist.platform

  • print(dist.platform)
    None

Including various computed attributes::
@@ -199,7 +199,7 @@
You can ask a WorkingSet to find() a distribution matching a requirement::

 >>> from pkg_resources import Requirement
  • print ws.find(Requirement.parse("Foo==1.0")) # no match, return None

  • print(ws.find(Requirement.parse("Foo==1.0"))) # no match, return None
    None

    ws.find(Requirement.parse("Bar==0.9")) # match, return distribution
    @@ -211,7 +211,7 @@
    try:
    ... ws.find(Requirement.parse("Bar==1.0"))
    ... except VersionConflict:

  • ... print 'ok'
  • ... print('ok')
    ok

You can subscribe a callback function to receive notifications whenever a new
@@ -219,7 +219,7 @@
once for each existing distribution in the working set, and then is called
again for new distributions added thereafter::

  • def added(dist): print "Added", dist

  • def added(dist): print("Added", dist)
    ws.subscribe(added)
    Added Bar 0.9
    foo12 = Distribution(project_name="Foo", version="1.2", location="f12")
    RefactoringTool: Files that were modified:
    RefactoringTool: build/src/tests/api_tests.txt
    copying setuptools/tests/indexes/test_links_priority/external.html -> build/src/setuptools/tests/indexes/test_links_priority
    copying setuptools/tests/indexes/test_links_priority/simple/foobar/index.html -> build/src/setuptools/tests/indexes/test_links_priority/simple/foobar
    copying docs/conf.py -> build/src/docs
    copying docs/easy_install.txt -> build/src/docs
    copying docs/roadmap.txt -> build/src/docs
    copying docs/pkg_resources.txt -> build/src/docs
    copying docs/python3.txt -> build/src/docs
    copying docs/index.txt -> build/src/docs
    copying docs/setuptools.txt -> build/src/docs
    copying docs/using.txt -> build/src/docs
    copying docs/build/html/_sources/easy_install.txt -> build/src/docs/build/html/_sources
    copying docs/build/html/_sources/roadmap.txt -> build/src/docs/build/html/_sources
    copying docs/build/html/_sources/pkg_resources.txt -> build/src/docs/build/html/_sources
    copying docs/build/html/_sources/python3.txt -> build/src/docs/build/html/_sources
    copying docs/build/html/_sources/index.txt -> build/src/docs/build/html/_sources
    copying docs/build/html/_sources/setuptools.txt -> build/src/docs/build/html/_sources
    copying docs/build/html/_sources/using.txt -> build/src/docs/build/html/_sources
    copying docs/_theme/nature/theme.conf -> build/src/docs/_theme/nature
    copying docs/build/html/_static/nature.css -> build/src/docs/build/html/_static
    copying docs/build/html/_static/pygments.css -> build/src/docs/build/html/_static
    copying docs/build/html/_static/basic.css -> build/src/docs/build/html/_static
    copying docs/_theme/nature/static/pygments.css -> build/src/docs/_theme/nature/static
    copying docs/_theme/nature/static/nature.css_t -> build/src/docs/_theme/nature/static
    copying site.py -> build/src
    copying pkg_resources.py -> build/src
    copying release.py -> build/src
    copying setup.py -> build/src
    copying easy_install.py -> build/src
    copying distribute_setup.py -> build/src
    copying DEVGUIDE.txt -> build/src
    copying README.txt -> build/src
    copying CHANGES.txt -> build/src
    copying CONTRIBUTORS.txt -> build/src
    copying MANIFEST.in -> build/src
    copying launcher.c -> build/src
    Skipping optional fixer: buffer
    Skipping optional fixer: idioms
    Skipping optional fixer: set_literal
    Skipping optional fixer: ws_comma
    /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
    warnings.warn(msg)
    /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'zip_safe'
    warnings.warn(msg)
    /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'entry_points'
    warnings.warn(msg)
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

error: invalid command 'bdist_egg'
/home/wjy/charm/distribute-0.6.24-py3.6.egg
Traceback (most recent call last):
File "/home/wjy/charm/distribute_setup.py", line 143, in use_setuptools
raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 2, in
use_setuptools() #bootstrap installs Distribute if not installed
File "/home/wjy/charm/distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/wjy/charm/distribute_setup.py", line 125, in _do_download
_build_egg(egg, tarball, to_dir)
File "/home/wjy/charm/distribute_setup.py", line 116, in _build_egg
raise IOError('Could not build the egg.')
OSError: Could not build the egg.
Makefile:96: recipe for target 'install' failed

I install all dependence,but i can't make install.

@PekeDevil
Copy link

You did not provide much information: OS or the device you're trying to install in. However, this may be useful for you: #285 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants