Coder Social home page Coder Social logo

Comments (6)

bogdanm avatar bogdanm commented on May 19, 2024

Same thing happening here (python 3.4.3, Linux Mint 17)

Traceback:

$ reverse exe
Traceback (most recent call last):
  File "/usr/local/bin/reverse", line 9, in <module>
    load_entry_point('reverse==1.0', 'console_scripts', 'reverse')()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 351, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2363, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2088, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/local/lib/python3.4/dist-packages/reverse-1.0-py3.4.egg/reverse/main.py", line 22, in <module>
  File "/usr/local/lib/python3.4/dist-packages/reverse-1.0-py3.4.egg/reverse/lib/__init__.py", line 25, in <module>
ImportError: cannot import name 'lib'

from plasma.

 avatar commented on May 19, 2024

Thank you.
I've just succeeded to reproduce the bug, after deleting all my *.pyc files. I don't know where it comes from, but I have indeed push a commit which solves the problem for me.
Can you confirm it's ok for you ?

from plasma.

bogdanm avatar bogdanm commented on May 19, 2024

No, still no dice. I tried to start from a clean state:

  • git pull origin master
  • rm -rf build in the reverse/ directory
  • rm -rf /usr/local/lib/python3.4/dist-packages (well, I actually renamed it, not deleted it :) )
  • ./requirements.sh
  • sudo python3 setup.py install

The error I get now is a bit different, but still related most likely:

$ reverse exe
Traceback (most recent call last):
  File "/usr/local/bin/reverse", line 9, in <module>
    load_entry_point('reverse==1.0', 'console_scripts', 'reverse')()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 351, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2363, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2088, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/local/lib/python3.4/dist-packages/reverse-1.0-py3.4.egg/reverse/main.py", line 22, in <module>
  File "/usr/local/lib/python3.4/dist-packages/reverse-1.0-py3.4.egg/reverse/lib/__init__.py", line 25, in <module>
  File "/usr/local/lib/python3.4/dist-packages/reverse-1.0-py3.4.egg/reverse/lib/database.py", line 34, in <module>
ImportError: cannot import name 'lib'

from plasma.

 avatar commented on May 19, 2024

Hum ok, I've pushed new commit where I removed all these imports.

from plasma.

 avatar commented on May 19, 2024

e92821c

from plasma.

bogdanm avatar bogdanm commented on May 19, 2024

That seems to have done the trick, thanks! Although I'm on a different machine now. I'll try to install in again on the initial machine tomorrow.

from plasma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.