Skip to content

Instantly share code, notes, and snippets.

@davglass
Created October 10, 2016 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davglass/e9fb28057a6811b1ad9fd450e7effb0f to your computer and use it in GitHub Desktop.
Save davglass/e9fb28057a6811b1ad9fd450e7effb0f to your computer and use it in GitHub Desktop.
root@8eb71796013a:/usr/local/src/flux/client# python3 ./setup.py clean
Traceback (most recent call last):
File "/usr/local/src/flux/client/setup_utils.py", line 113, in create_pcl_extentions
include_dirs += [locate_includes("eigen3"), ]
File "/usr/local/src/flux/client/setup_utils.py", line 33, in locate_includes
stdout=subprocess.PIPE)
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config'
*****************************************************************************
* Can not find pcl libraries, `fluxclient.scanner` and `fluxclient.printer` *
* will not work properly. *
*****************************************************************************
running clean
root@8eb71796013a:/usr/local/src/flux/client# python3 ./setup.py develop
Traceback (most recent call last):
File "/usr/local/src/flux/client/setup_utils.py", line 113, in create_pcl_extentions
include_dirs += [locate_includes("eigen3"), ]
File "/usr/local/src/flux/client/setup_utils.py", line 33, in locate_includes
stdout=subprocess.PIPE)
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config'
*****************************************************************************
* Can not find pcl libraries, `fluxclient.scanner` and `fluxclient.printer` *
* will not work properly. *
*****************************************************************************
running develop
Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files
running egg_info
writing top-level names to fluxclient.egg-info/top_level.txt
writing fluxclient.egg-info/PKG-INFO
writing dependency_links to fluxclient.egg-info/dependency_links.txt
writing entry points to fluxclient.egg-info/entry_points.txt
writing requirements to fluxclient.egg-info/requires.txt
reading manifest file 'fluxclient.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'fluxclient.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python3.5/dist-packages/fluxclient.egg-link (link to .)
Removing fluxclient 1.0b4 from easy-install.pth file
Adding fluxclient 1.0b4 to easy-install.pth file
Installing flux_f2g script to /usr/local/bin
Installing flux_g2f script to /usr/local/bin
Installing flux_upnp script to /usr/local/bin
Installing flux_scan script to /usr/local/bin
Installing flux_laser script to /usr/local/bin
Installing flux_discover script to /usr/local/bin
Installing flux_exp script to /usr/local/bin
Installing flux_usb script to /usr/local/bin
Installing flux_camera script to /usr/local/bin
Installing flux_robot script to /usr/local/bin
Installed /usr/local/src/flux/client
Processing dependencies for fluxclient==1.0b4
Searching for pyasn1==0.1.9
Best match: pyasn1 0.1.9
Processing pyasn1-0.1.9-py3.5.egg
pyasn1 0.1.9 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/pyasn1-0.1.9-py3.5.egg
Searching for lxml==3.6.4
Best match: lxml 3.6.4
Processing lxml-3.6.4-py3.5-linux-x86_64.egg
lxml 3.6.4 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/lxml-3.6.4-py3.5-linux-x86_64.egg
Searching for ecdsa==0.13
Best match: ecdsa 0.13
Processing ecdsa-0.13-py3.5.egg
ecdsa 0.13 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages/ecdsa-0.13-py3.5.egg
Searching for scipy==0.18.1
Best match: scipy 0.18.1
scipy 0.18.1 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages
Searching for numpy==1.11.2
Best match: numpy 1.11.2
numpy 1.11.2 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages
Searching for Pillow==3.4.1
Best match: Pillow 3.4.1
Pillow 3.4.1 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages
Searching for pyserial==3.1.1
Best match: pyserial 3.1.1
Processing pyserial-3.1.1-py3.5.egg
pyserial 3.1.1 is already the active version in easy-install.pth
Installing miniterm.py script to /usr/local/bin
Using /usr/local/lib/python3.5/dist-packages/pyserial-3.1.1-py3.5.egg
Searching for pycrypto==2.6.1
Best match: pycrypto 2.6.1
pycrypto 2.6.1 is already the active version in easy-install.pth
Using /usr/local/lib/python3.5/dist-packages
Searching for setuptools==20.7.0
Best match: setuptools 20.7.0
setuptools 20.7.0 is already the active version in easy-install.pth
Installing easy_install script to /usr/local/bin
Using /usr/lib/python3/dist-packages
Finished processing dependencies for fluxclient==1.0b4
root@8eb71796013a:/usr/local/src/flux/client# cd ../ghost/
root@8eb71796013a:/usr/local/src/flux/ghost# python3 ./ghost.py --ip 0.0.0.0 --port 3000
fluxghost: 0.6.2, fluxclient: 1.0b4
[2016-10-10 19:37:46,INFO,HTTPServer] Listen HTTP on 0.0.0.0:3000
[2016-10-10 19:38:01,ERROR,HTTP] Unhandle Error
Traceback (most recent call last):
File "/usr/local/src/flux/ghost/fluxghost/http_handler.py", line 19, in __init__
BaseHTTPRequestHandler.__init__(self, request, client, server)
File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
method()
File "/usr/local/src/flux/ghost/fluxghost/http_handler.py", line 42, in do_GET
klass, kwargs = get_match_ws_service(self.path[4:])
File "/usr/local/src/flux/ghost/fluxghost/http_websocket_route.py", line 47, in get_match_ws_service
module_instance = importlib.import_module(module_name)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 665, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/usr/local/src/flux/ghost/fluxghost/websocket/control.py", line 2, in <module>
from fluxghost.api.control import control_api_mixin
File "/usr/local/src/flux/ghost/fluxghost/api/control.py", line 11, in <module>
from fluxclient.fcode.g_to_f import GcodeToFcode
File "/usr/local/src/flux/client/fluxclient/fcode/g_to_f.py", line 13, in <module>
from fluxclient.fcode.fcode_base import FcodeBase, POINT_TYPE
File "/usr/local/src/flux/client/fluxclient/fcode/fcode_base.py", line 8, in <module>
from fluxclient.utils._utils import Tools
ImportError: No module named 'fluxclient.utils._utils'
^Croot@8eb71796013a:/usr/local/src/flux/ghost#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment