Giter VIP home page Giter VIP logo

Comments (5)

jefdaj avatar jefdaj commented on August 15, 2024

What commands did you try and what error message did you get?

from pysbol.

Shaofanl avatar Shaofanl commented on August 15, 2024

I made some changes on setup.py and can install pySBOL. I also create a pull request
But I cannot import sbol, it shows:

Traceback (most recent call last):
File "", line 1, in
File "build/bdist.cygwin-2.0.4-x86_64/egg/sbol/init.py", line 3, in
File "build/bdist.cygwin-2.0.4-x86_64/egg/sbol/sbol.py", line 17, in
ImportError: No module named libsbol

from pysbol.

jefdaj avatar jefdaj commented on August 15, 2024

Ah I see. I haven't worked on this in a couple years and looks like they're changing around the install code recently. Hopefully not dropping linux support! I should pass this off to @bbartley.

from pysbol.

bbartley avatar bbartley commented on August 15, 2024

Hi,

You are receiving that error because pySBOL depends on the C library, libSBOL, and it can't find the dependency. Unfortunately at this time pySBOL is only distributed with precompiled binaries for Windows and MacOSX. However, I'd be happy to work with you to get it working on Linux. There are two options to proceed:

  1. Build libSBOL on Linux yourself and copy the binary into the pySBOL project manually. Comprehensive documentation and build instructions for libSBOL can be found here: https://github.com/SynBioDex/libSBOLc. I can help if you have questions
  2. Wait for me to add Linux support. I can probably borrow somebody else's Linux machine, build the binaries, and update the Git repository. However, it won't happen fast. The next two weeks are crazy, but after that things relax.

Regards
Bryan

from pysbol.

Shaofanl avatar Shaofanl commented on August 15, 2024

Hi bbartley,

It's great to know that we still get hopes to use pySBOL on Linux-like system.
I tried to compile (using g++) on my cygwin (A linux-like simulator on Windows). And I got a file call cygsbol.dll. But it doesn't work when I import it, it says:
ImportError: dynamic module does not define init function (initcygsbol)
I searched for this problem and found that there is something missing in the C file that is used to generated API for Python. Did I compile in a wrong way or what was I missing?

BTW, when pySBOL will support SBOL 2.0.0 ?

Regards
Van

from pysbol.

Related Issues (7)

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.