Comments (9)
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.
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.
That shocked me a bit as well, yes. Weird.
from openbbterminal.
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.
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.
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.
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.
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.
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)
- [Bug] [Rest API]: Literal error when a comma-separated list of countries is used.
- `news` command doesn't work as documented
- Want to access a running openBBTerminal container running on my local server through a web browser HOT 3
- [Bug] 3D Volatility Surface -- axes are off HOT 1
- [Bug] Receiving TypeError after login HOT 2
- [IMPROVE] News feature needs to improve make sure the news is about the stocks and not random news. HOT 1
- CAPM code returns error HOT 5
- [Bug] Blank charts HOT 8
- [Bug] Cannot search for a term with spaces in it in the funds menu of OpenBB Terminal
- [Bug] obb.fixedincome.government.treasury_rates(): Federal Reserve website error - We're sorry, but an unhandled error has occurred. HOT 1
- [Bug] No historical price data with yfinance HOT 9
- [FR]: Historical EPS data from AlphaVantage
- [FR] Source Support
- Copper to Gold Ratio Example
- [FR] - add provider for yfinance-cache HOT 2
- [Bug] Installing openbb-core also installs ruff, prevents upgrade to ">=0.2.0 HOT 2
- [IMPROVE] DCF Calculations
- [Bug] TypeError returned when attempting to import OpenBB in Jupyter Notebook HOT 14
- [Bug] Unable to pull multiple earnings reports using for loop HOT 4
- [IMPROVE] Introduce KeyCloak as your auth provider
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbbterminal.