Coder Social home page Coder Social logo

Comments (11)

sigaloid avatar sigaloid commented on April 28, 2024

Do the graphs open successfully? And is there a benefit to this instead of just regular windows python? That's what the developer uses

from openbbterminal.

dbriemann avatar dbriemann commented on April 28, 2024

I tried this on Ubuntu 20.04 itself (not WSL) and it fails with this issue #19 :

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
  File "gamestonk_terminal.py", line 6, in <module>
    from helper_funcs import *
  File "/home/dlb/apps/GamestonkTerminal/helper_funcs.py", line 9, in <module>
    import matplotlib
  File "/home/dlb/apps/GamestonkTerminal/env/lib/python3.8/site-packages/matplotlib/__init__.py", line 205, in <module>
    _check_versions()
  File "/home/dlb/apps/GamestonkTerminal/env/lib/python3.8/site-packages/matplotlib/__init__.py", line 190, in _check_versions
    from . import ft2font
ImportError: numpy.core.multiarray failed to import

Any tip on fixing this? I don't really have much Python experience.

from openbbterminal.

thatramenpanda avatar thatramenpanda commented on April 28, 2024

@dbriemann installing numpy 1.19.2 manually before applying requirements.txt solved it for me. Are you using python 3.8.5 and running commands in step 6 in the same order?

from openbbterminal.

thatramenpanda avatar thatramenpanda commented on April 28, 2024

Do the graphs open successfully? And is there a benefit to this instead of just regular windows python? That's what the developer uses

@sigaloid I didn't get that far, haven't tried installing beta CUDA drivers

from openbbterminal.

sigaloid avatar sigaloid commented on April 28, 2024

Ah okay, was just confused since I wasn't sure if the GUI features would work through WSL.

from openbbterminal.

dbriemann avatar dbriemann commented on April 28, 2024

@dbriemann installing numpy 1.19.2 manually before applying requirements.txt solved it for me. Are you using python 3.8.5 and running commands in step 6 in the same order?

I just repeated every step from zero and still have the same bug.. no idea if there is some strange problem with installed python packages or what is going on. I seem to always have problems with python projects and pip.. must be me.

from openbbterminal.

dbriemann avatar dbriemann commented on April 28, 2024

Ok I ran this another time and this time added --no-cache-dir to every pip install command. This time it ERROR: Failed building wheel for fbprophet.

However I now can at least start the program. No idea if that error about fbprophet is serious.

from openbbterminal.

DidierRLopes avatar DidierRLopes commented on April 28, 2024

Hey guys,

I'm working on improving the whole requirements text file, so this should all be fixed soon.

fbprophet is the hard one, as its dependencies are a pain. Hopefully I'll overcome the beast :)

from openbbterminal.

shadycuz avatar shadycuz commented on April 28, 2024

@sigaloid windows isn't really supported because its not supported by pystan officially.

from openbbterminal.

shadycuz avatar shadycuz commented on April 28, 2024

You don't have to have the nvidia drivers or be apart of the MS insiders to see charts using WSL. Just google "mobaxterm WSL".

from openbbterminal.

shadycuz avatar shadycuz commented on April 28, 2024

I'm going to close this now. Lots has changed since this was opened. You can run git checkout main, git pull main to fetch the latest and attempt to reinstall.

The project has been testest to work with Pythons 3.6.8, 3.7 and 3.8. Tensorflow doesn't support python 3.9 yet.

We are using poetry to manage the project and that is one option for installing. The other is to install with the requirements.txt. Feel free to use any virtual environment you want.

Just make sure to run pip install --upgrade pip as that was affecting some people as tensorflow requires pip >= 2.19 (or something like that).

We also have a dockerfile if you would prefer to use docker. We will also soon be offering an "official image" on dockerhub.

Oh and Windows is only supported with docker because pystan is not available for windows (officially).

If you are having problems please open a new issue =).

πŸš€ GamestonkTerminal πŸŒ”

from openbbterminal.

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.