Coder Social home page Coder Social logo

Comments (9)

irian-codes avatar irian-codes commented on April 28, 2024

I also had trouble with dependencies. I haven't been able to install it on WSL2 ("Virtualised" Linux) in Windows after trying for like... 5 hours. I tried Python 3.6, 3.8 and 3.9 and I always hit some dependency that couldn't be installed. Even when I installed them manually (and succeeded that way) then I would hit another error anyways. The one that was unsurmountable to me was the "Carbon/Carbon.h" missing dependency which I think is only for Mac OS. I even seemed random sometimes, in my case it wasn't consistent which dependency would error out.

from openbbterminal.

Ulmerjm avatar Ulmerjm commented on April 28, 2024

If I read correctly on a different issue page the error with Carbon is a result of appscript which is actually unused in the code. Try removing that from the requirments.txt and you should be golden.

I'm just confused because the code was written and tested on Python 3.6.8 but pystan's current requirements per their docs is python 3.7 or higher... maybe this is the root of the issue?

from openbbterminal.

irian-codes avatar irian-codes commented on April 28, 2024

That shocked me a bit as well, yes. Weird.

from openbbterminal.

tigwyk avatar tigwyk commented on April 28, 2024

I'm currently experiencing the exact same issue with fbprophet, Win10 x64 on an i7.

No matter how I try to shovel pystan at fbprophet, it won't build the wheel.

from openbbterminal.

irian-codes avatar irian-codes commented on April 28, 2024

I DID IT! Well, until execution, but at least I solved the problem of installing with Python 3.8.5 in WSL2 in Windows. For me the solution was to manually install all the packages that gave me error during the build, which were: xlwings, scipy, matplotlib and fbprophet. So the commands I ran were: export INSTALL_ON_LINUX=1 && pip install --no-cache-dir wheel xlwings scipy matplotlib fbprophet && pip install --upgrade -r requirements.txt

That way the conflicting programs were installed before the requeriments.txt dependencies and thanks to the --upgrade parameter they weren't reinstalled if they were encountered inside requeriments.txt. Also I had to do the indicated changes in here to requeriments.txt.

Now my problem is that no graphs appears on the screen but that's probably due to me running into WSL which has no GUI output support (It seems I'm a WSB smooth brained retard after all yay!).

Will try on Windows another time.

from openbbterminal.

Ulmerjm avatar Ulmerjm commented on April 28, 2024

From all, I have been reading there is a limitation with pystan and windows which can be resolved by adding a separate compiler to the PATH, alternatively, you can get these troublesome libraries working with docker so I might give that a try tonight personally.

from openbbterminal.

tigwyk avatar tigwyk commented on April 28, 2024

Since I'm trying to keep this install native to Windows (without resorting to WSL), I've tried a method installing mingw32 and using that compiler instead, but no matter what I still get the same errors when trying to compile the wheel so I suspect I'm missing a step somewhere. I'll report back if I make any headway.

from openbbterminal.

Ulmerjm avatar Ulmerjm commented on April 28, 2024

I also saw the suggestion of mingw32, but didn't try it myself. I have heard that you can get fbProphet installed on conda using a special conda-forge wheel but that was very slow and didn't seem to work properly.

For the time being, I have commented out the fbProphet class (which is the only place pystan is used to my knowledge) and have been running the code just fine. That might be the best solution for native Windows users albeit at the cost of one of the sources. One particularly frustrating thing I noticed in my hunt to get these two packages working was there seems to be at some point an official(?) docs page for getting them to work on windows. The page is no longer available and the developers are award that the package doesn't work on Windows so it might not ever be supported.

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.