Giter VIP home page Giter VIP logo

Comments (13)

gmemstr avatar gmemstr commented on May 27, 2024

Looking into this ASAP. Thanks.

from platypus.

gmemstr avatar gmemstr commented on May 27, 2024

@lucas-torres Unable to replicate this issue, how did you clone the repository? Could you do a quick directory listing of src/ as well?

from platypus.

structief avatar structief commented on May 27, 2024

Same issue here, this is the listing for src/:

  • Aor.py
  • cache
  • Config.py
  • ServerHandler.py
  • Slackbot.py
  • static
  • templates
  • Tornado.py

from platypus.

gmemstr avatar gmemstr commented on May 27, 2024

@kliptonize Odd, I don't seem to be able to replicate this either by downloading a fresh latest release or cloning the repository. Could you copy the contents of Config.py into a reply? Really want to get to the bottom of this.

from platypus.

gmemstr avatar gmemstr commented on May 27, 2024

Okay, cloning to a fresh VPS seems to produce the same issue, I will be taking a closer look at this tonight and should have a solution pushed out tomorrow (if my power sticks around).

from platypus.

gmemstr avatar gmemstr commented on May 27, 2024

Update: @kliptonize @lucas-torres Would you guys mind doing a python --version just to confirm a suspicion I have? This bug may be due to Python 2 not having the same import methodology as Python 3 (in which Platypus is developed, and is made clear through the docs).

from platypus.

structief avatar structief commented on May 27, 2024

Sure thing, mine is Python 2.7.12, shall I update, or wait for a fix?

(Installed Python 3.5.2 next to it, throws a ImportError: No module named 'MySQLdb' error)

from platypus.

lucas-torres avatar lucas-torres commented on May 27, 2024

Python 3.6.2 :: Anaconda, Inc. Here

from platypus.

gmemstr avatar gmemstr commented on May 27, 2024

@kliptonize You'll want to run pip install -r requirements.txt

@lucas-torres Looking into this if it's persisting on Python 3.6.2

from platypus.

structief avatar structief commented on May 27, 2024

Sadly, the problem remains, even after the pip install command tells me all requirements are satisfied

from platypus.

gmemstr avatar gmemstr commented on May 27, 2024

@kliptonize Pip might still be trying to install dependencies for Python 2 to use, try following this on SO https://stackoverflow.com/questions/11268501/how-to-use-pip-with-python-3-x-alongside-python-2-x

from platypus.

gmemstr avatar gmemstr commented on May 27, 2024

Tracked down the root of the problem: for some reason the init.py file is missing and causing import errors in fresh install of Python, even though my dev env handles it fine. Weird, but pushing fix now.

from platypus.

gmemstr avatar gmemstr commented on May 27, 2024

Pushed out fix, closing issue as I have verified it in clean env. Feel free to reopen if it does persist.

(git pull or download new tagged release)

from platypus.

Related Issues (14)

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.