Coder Social home page Coder Social logo

syntax error in import bioc about bioc HOT 6 CLOSED

bionlplab avatar bionlplab commented on August 21, 2024
syntax error in import bioc

from bioc.

Comments (6)

yfpeng avatar yfpeng commented on August 21, 2024 1

bioc supports py>=3.6 since version 1.2.1. You can use v1.2 which supports both py2 and py3.

from bioc.

jakelever avatar jakelever commented on August 21, 2024

Hey @yfpeng , I hope you're well. This issue popped up in the Kindred project. It looks like some of the code from v1.2.4 onwards is not Python 2 compatible. Are you planning on this library being Py3 only from now on? Just need to know for planning for Kindred.

Relevant Kindred issue: jakelever/kindred#8

from bioc.

jakelever avatar jakelever commented on August 21, 2024

Cool. Thanks for the quick answer.

from bioc.

kmurphy902 avatar kmurphy902 commented on August 21, 2024

Thanks!

from bioc.

kaushikacharya avatar kaushikacharya commented on August 21, 2024

bioc supports py>=3.6 since version 1.2.1. You can use v1.2 which supports both py2 and py3.
@yfpeng
pip install bioc==1.2
throws the following error:

Could not find a version that satisfies the requirement bioc==1.2 (from versio
ns: 1.0.dev22, 1.0.dev23, 1.0.dev24, 1.0.dev25, 1.0.dev27, 1.0.dev28, 1.0.dev29,
1.0.dev30, 1.0.dev31, 1.0.dev32, 1.0, 1.1.dev1, 1.1.dev2, 1.1.dev3, 1.2.3, 1.2.
4, 1.3, 1.3.1)
No matching distribution found for bioc==1.2

Even in your NegBio code for Python 2.7, you are using bioc==1.1.dev3

from bioc.

yfpeng avatar yfpeng commented on August 21, 2024

@kaushikacharya It seems v1.2 is in the repository.
https://pypi.org/project/bioc/#history

from bioc.

Related Issues (11)

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.