Giter VIP home page Giter VIP logo

Comments (12)

brunneis avatar brunneis commented on July 20, 2024

Hi @surya-narayanan. It is strange. This requirement was removed in previous versions. For some reason, pip is collecting for you an old version of Ernie. Please, force the installation with pip3 install ernie==0.0.22b0.

In any case, about the error you are receiving, I think the problem is that you have an older version of Python than 3.6.1 which is the minimum that Pandas 1.0.1 requires. Maybe an older version of pip itself, which you can upgrade with pip3 install --upgrade pip.

Let me know if that works.

from ernie.

surya-narayanan avatar surya-narayanan commented on July 20, 2024

I tried the first option. It seems you have versions: 0.0.1b0, 0.0.2b0, 0.0.4b0, 0.0.5b0, 0.0.6b0. Should I try 0.0.2b0?

from ernie.

surya-narayanan avatar surya-narayanan commented on July 20, 2024

Hmm... I cannot upgrade my Python on my VM. Any idea how I can do that? I am trying sudo apt-get install python3.7

from ernie.

brunneis avatar brunneis commented on July 20, 2024

No, those are the first versions: https://pypi.org/project/ernie/#history. I think I added after those versions a minimum Python requirement. Try updating pip. Which is the Python version you are using? ( python3 --version)

from ernie.

surya-narayanan avatar surya-narayanan commented on July 20, 2024

I am using 3.5 on my VM and 3.7 locally.

from ernie.

brunneis avatar brunneis commented on July 20, 2024

Which distribution and version are you using (OS)? That's the problem, the minimum requirement is Python 3.6.

from ernie.

surya-narayanan avatar surya-narayanan commented on July 20, 2024

I am running a linux VM and am on OS locally. I tried upgrading my python

Got the following errors.
E: Unable to locate package python3.7
E: Couldn't find any package by glob 'python3.7'
E: Couldn't find any package by regex 'python3.7'

Any idea what to do?

from ernie.

brunneis avatar brunneis commented on July 20, 2024

Paste here the output of: cat /etc/*release*

from ernie.

surya-narayanan avatar surya-narayanan commented on July 20, 2024

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

from ernie.

brunneis avatar brunneis commented on July 20, 2024

I think that in Ubuntu Xenial the last version available in the official repos is 3.5. Try installing the Anaconda Python distribution.

from ernie.

surya-narayanan avatar surya-narayanan commented on July 20, 2024

I couldn't find it on anaconda.org. Is it under 'ernie'?

from ernie.

brunneis avatar brunneis commented on July 20, 2024

https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh

from ernie.

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.