Code Monkey home page Code Monkey logo

Comments (7)

ThomasGLAllen avatar ThomasGLAllen commented on August 12, 2024

OK, update: I created a Python virtual environment and installed Python 3.7. Had to make changes to versions in requirements.txt. The make file appears to compile - waIting for it to finish. Negate my previous message.

from openuba.

FatnLazy avatar FatnLazy commented on August 12, 2024

@ThomasGLAllen could you please share you requirements file i am running into the same issue you had

from openuba.

ThomasGLAllen avatar ThomasGLAllen commented on August 12, 2024

Sorry, just saw this. Yes, I can. Let me upload a copy of the make file. I'm in the process of troubleshooting it. I think I know what is going on. As I see it, there is a lack of documentation. OpenUBA lacks a lot of detailed documentation. What I have found out is that you need to run the make under python 3.7. I used the Python Virtual Environment to install python 3.7 and compiled under that virtual environment.I have to manually install the tools in the requirements.txt file before I ran the make. I've enclosed the results of the make file. As I said, there are a few errors - they don't look major. I'm in the process of looking at them.
OpenUBAoutputFromMake.odt

from openuba.

ThomasGLAllen avatar ThomasGLAllen commented on August 12, 2024

Forgot to say that I'm using OpenSUSE.
Also, is this project still alive. The last update I see is a TensorFlow update, but no updates to the OpenUBA code, or have I missed something here. Thanks.

from openuba.

FatnLazy avatar FatnLazy commented on August 12, 2024

@ThomasGLAllen can you please share your make file i did everything till the make command and it seems like its working but when i try to do the test it tells me API error and for some reason i cannot run the web UI

from openuba.

ThomasGLAllen avatar ThomasGLAllen commented on August 12, 2024

Sorry for the delay in responding. I've been really busy at work and had no time to check my messages on OpenUBA. I'll respond tomorrow and give you details of what I did.

from openuba.

ThomasGLAllen avatar ThomasGLAllen commented on August 12, 2024

OK, what you need to do is be sure you are using python 3.7 and use UBUNTU (latest version is fine). The makefile will not run correctly if it's another version of python. The best way to do that is to set up a python virtual environment by installing virtualenv: pip install virtualenv. Once that is done, run pyenv install 3.7.0 and you will see that 3.7 is installed in /home/username/.pyenv/versions/3.7.0/bin. Next you need to create your virtual directory as follows: /home/username/.pyenv/versions/3.7.0/bin/python3.7 -m venv OpenUBA_ENV3.7. This creates the virtual directory OpenUBA_ENV3.7. Now, cd to bin and run "source activate" and then you have your python 3.7 environment separate from your python version you installed originally on your machine if you installed one. From the virtual directory, just follow the instructions given on the OpenUBA github page and run make. It runs with no API error, but the only error (and this is minor) is that it's looking for a connection to port 62000, but apparently runs the model to completion. I'm presently going through the code to see where that is coming from. The documentation for OpenUBA is really bad, so I would never recommend this on a production server. It's got a long way to go before anyone excepts it. Also in requirements.txt, be sure to install the exact versions that are specified in requirements.txt (except for flask and colorlogs - it won't be able to find those versions, so any version I found will work). In running make, you may get no module found for flack_cors and coloredlogs; just do pip install flack-cors and coloredlogs, and run make again, and it should go straight through without error (except for the port error I mentioned above). Let me know if you have any questions.

from openuba.

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.