Code Monkey home page Code Monkey logo

Comments (9)

glamp avatar glamp commented on August 17, 2024

is this a pandas issue or a ggplot issue?

from ggpy.

hsharrison avatar hsharrison commented on August 17, 2024

It's a ggplot issue - I'm having it too. When I run pip install ggplot, pip attempts to install into /usr/local/lib rather than ~/.virtualenvs where it should. I then tried python setup.py build && python setup.py install which seems to work but I get the error No module named 'components' when I try to import it. Probably a symptom of the same issue with the setup script.

(Note: I already have pandas installed, and it installs fine into a virtualenv using either pip or python setup.py install)

from ggpy.

jankatins avatar jankatins commented on August 17, 2024

@hsharrison if you are on PY3, then the "components" error is probably because of the missing dot in the import statement in ggplot/__init__.py. For the rest: no idea...

from ggpy.

hsharrison avatar hsharrison commented on August 17, 2024

Ah, you're right. That fixes it, thanks.

As for the rest... I might have been mistaken there too, I seem to be having some new issues with python3-pip. I'll check back in once I figure out whether there's any issue with ggplot or not.

from ggpy.

hsharrison avatar hsharrison commented on August 17, 2024

I can't proceed with troubleshooting because of an issue with internal_utils.py which is fixed in the source but not yet reflected on PyPi. Not a big deal, manual installation works fine with the fix to the components import.

from ggpy.

GabLeRoux avatar GabLeRoux commented on August 17, 2024

Did you manage to make it work using virtualenv?

from ggpy.

hsharrison avatar hsharrison commented on August 17, 2024

Not with pip, but manual install into a virtualenv works fine.

from ggpy.

GabLeRoux avatar GabLeRoux commented on August 17, 2024

Ok thanks, I'll give it a try but will probably only use it on my project when it's fixed with pip install so it doesn't bug my teammates :P.

from ggpy.

hsharrison avatar hsharrison commented on August 17, 2024

Let me know. There's something weird with my python3-pip package, and it's hard to tell from your error if the problem is with pip or ggplot (since the error pops up when trying to install pandas, not ggplot). You might have done something wrong. But I don't have the first clue about setting up virtualenvs on a mac, so I can't be of much help.

... though until the fix in #127 is reflected on PyPi testing with pip isn't really possible.

from ggpy.

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.