wishbone installation

32 views
Skip to first unread message

Ana Amorim

unread,
Dec 1, 2016, 2:13:00 PM12/1/16
to Python-WishBone
Can't install wishbone it gives the following error message, and it can install the module import lib, is there a way to fix this?

Collecting wishbone

  Downloading wishbone-2.3.0.tar.gz (260kB)

    100% |████████████████████████████████| 266kB 1.5MB/s 

Collecting arrow==0.7.0 (from wishbone)

  Using cached arrow-0.7.0.tar.gz

Collecting attrdict==2.0.0 (from wishbone)

Requirement already satisfied: colorama==0.3.7 in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages (from wishbone)

Collecting cronex==0.1.0 (from wishbone)

  Using cached cronex-0.1.0.tar.gz

Collecting docutils==0.12 (from wishbone)

  Using cached docutils-0.12-py3-none-any.whl

Collecting gevent==1.1.2 (from wishbone)

  Using cached gevent-1.1.2-cp35-cp35m-macosx_10_6_intel.whl

Collecting gipc==0.6.0 (from wishbone)

  Using cached gipc-0.6.0.zip

Collecting greenlet==0.4.10 (from wishbone)

  Using cached greenlet-0.4.10.zip

Collecting importlib==1.0.3 (from wishbone)

  Using cached importlib-1.0.3.tar.gz

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__init__.py", line 5, in <module>

        import distutils.core

      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 16, in <module>

        from distutils.dist import Distribution

      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 19, in <module>

        from distutils.util import check_environ, strtobool, rfc822_escape

      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/util.py", line 9, in <module>

        import importlib.util

    ImportError: No module named 'importlib.util'

    

    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/70/yx_50jb93tqgdlpx920l747h0000gn/T/pip-build-zqkznu8t/importlib/

Anas-MacBook-Pro:~ anadeoliveirarodriguesamorim$ pip3 install importlib

Collecting importlib

  Using cached importlib-1.0.4.zip

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/__init__.py", line 5, in <module>

        import distutils.core

      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 16, in <module>

        from distutils.dist import Distribution

      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 19, in <module>

        from distutils.util import check_environ, strtobool, rfc822_escape

      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/util.py", line 9, in <module>

        import importlib.util

    ImportError: No module named 'importlib.util'

    

    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/70/yx_50jb93tqgdlpx920l747h0000gn/T/pip-build-ubl1f6z7/importlib/

Anas-MacBook-Pro:~ anadeoliveirarodriguesamorim$ 


Screen Shot 2016-12-01 at 20.10.39.png

Jelle Smet

unread,
Dec 1, 2016, 5:07:41 PM12/1/16
to Python-WishBone
Hi Ana,

Thank you for reporting the issue.
I could reproduce the error in a 3.5 virtualenv
There were a couple of issues going on related to Python3.x and some of the modules wishbone depends on.

I have done a new release and pushed it to pypi

It now seems to work on python 3.5.x:

$ pip install wishbone
Collecting wishbone
  Downloading wishbone-2.3.1.tar.gz (259kB)
    100% |████████████████████████████████| 266kB 2.0MB/s 
Collecting arrow==0.7.0 (from wishbone)
Collecting attrdict==2.0.0 (from wishbone)
Collecting colorama==0.3.7 (from wishbone)
  Using cached colorama-0.3.7-py2.py3-none-any.whl
Collecting cronex==0.1.0 (from wishbone)
Collecting gevent==1.1.2 (from wishbone)
  Using cached gevent-1.1.2-cp35-cp35m-manylinux1_x86_64.whl
Collecting gipc==0.6.0 (from wishbone)
Collecting jsonschema==2.5.1 (from wishbone)
  Using cached jsonschema-2.5.1-py2.py3-none-any.whl
Collecting prettytable==0.7.2 (from wishbone)
Collecting python-daemon-3K (from wishbone)
Collecting PyYAML==3.11 (from wishbone)
Collecting requests (from wishbone)
  Using cached requests-2.12.3-py2.py3-none-any.whl
Collecting setproctitle==1.1.10 (from wishbone)
Collecting uplook==1.1.0 (from wishbone)
Collecting python-dateutil (from arrow==0.7.0->wishbone)
  Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
    100% |████████████████████████████████| 194kB 2.6MB/s 
Collecting six (from attrdict==2.0.0->wishbone)
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting greenlet>=0.4.9 (from gevent==1.1.2->wishbone)
  Using cached greenlet-0.4.10-cp35-cp35m-manylinux1_x86_64.whl
Requirement already satisfied: setuptools in ./data/python/virtualenv/install_wishbone/lib/python3.5/site-packages (from python-daemon-3K->wishbone)
Collecting lockfile>=0.7 (from python-daemon-3K->wishbone)
  Using cached lockfile-0.12.2-py2.py3-none-any.whl
Building wheels for collected packages: wishbone
  Running setup.py bdist_wheel for wishbone ... done
  Stored in directory: /home/smetj/.cache/pip/wheels/4e/cc/54/4ee5fb6758f6b3aeb90ea52f829a14d9c42f2d25e016f1a3bc
Successfully built wishbone
Installing collected packages: six, python-dateutil, arrow, attrdict, colorama, cronex, greenlet, gevent, gipc, jsonschema, prettytable, lockfile, python-daemon-3K, PyYAML, requests, setproctitle, uplook, wishbone
Successfully installed PyYAML-3.11 arrow-0.7.0 attrdict-2.0.0 colorama-0.3.7 cronex-0.1.0 gevent-1.1.2 gipc-0.6.0 greenlet-0.4.10 jsonschema-2.5.1 lockfile-0.12.2 prettytable-0.7.2 python-daemon-3K-1.5.8 python-dateutil-2.6.0 requests-2.12.3 setproctitle-1.1.10 six-1.10.0 uplook-1.1.0 wishbone-2.3.1


Let me know if it works out for you,

Cheers,

Jelle

Ana Amorim

unread,
Apr 26, 2018, 6:15:31 AM4/26/18
to Python-WishBone
Hi Jelle, 

It worked, thank you!

Best
Ana 
Reply all
Reply to author
Forward
0 new messages