achillesrasquinha / bulbea

:boar: :bear: Deep Learning based Python Library for Stock Market Prediction and Modelling
http://bulbea.readthedocs.io
Other
2.03k stars 478 forks source link

Failed cleaning build dir for cryptography #5

Open alexon1234 opened 7 years ago

alexon1234 commented 7 years ago

When I am trying to install the requirements, it appear this message. It is normal or is something missing?

achillesrasquinha commented 7 years ago

What OS are you installing it on? I remember coming across such an error.

alexon1234 commented 7 years ago

Linux, Ubuntu 64bits

El 31 mar. 2017 4:25 a. m., "Achilles Rasquinha" notifications@github.com escribió:

What OS are you installing it on?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/achillesrasquinha/bulbea/issues/5#issuecomment-290598188, or mute the thread https://github.com/notifications/unsubscribe-auth/AG9pqaH5T6Ot3IhG7oJ3Zc8PA2IrrRS3ks5rrGQPgaJpZM4Mu_0K .

achillesrasquinha commented 7 years ago

Try installing the dependencies.

$ sudo apt-get install build-essential libssl-dev libffi-dev python-dev

Then go ahead and install cryptography

$ pip install cryptography
alexon1234 commented 7 years ago

Thank you very much

alexon1234 commented 7 years ago

Thanks for the information, it worked. Now, I was doing a test, but I have get this information message even that I set up the API Key in the app.py

File "/home/alex/bulbea/bulbea/entity/share.py", line 167, in init message = Color.warn("Environment variable {envvar} for Quandl hasn't been set. A maximum of {max_calls} calls per day can be made. Visit {url} to get your API key.".format(envvar = envvar, max_calls = QUANDL_MAX_DAILY_CALLS, url = ABSURL_QUANDL))

achillesrasquinha commented 7 years ago

This is probably a warning you receive each time you call a Share object. You may or may not set the API key. But first, is this a warning or does the program break?

alexon1234 commented 7 years ago

It breaks and no data displays

El 2 abr. 2017 7:59 a. m., "Achilles Rasquinha" notifications@github.com escribió:

This is probably a warning you receive each time you call a Share object. You may or may not set the API key. But first, is this a warning or does the program break?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/achillesrasquinha/bulbea/issues/5#issuecomment-290966777, or mute the thread https://github.com/notifications/unsubscribe-auth/AG9pqVU01oz8y6f_a8zPf4EO81jlZWkXks5rrzk8gaJpZM4Mu_0K .

JingweiTu commented 7 years ago

I have this problem but for macOS 10.12.6. Any solutions?

yanzhipingliu commented 4 years ago

I have the same problem. Do we have a solution or walkaround for it?

share = bb.Share('NEE', 'TSLA') C:\tools\Python38\lib\site-packages\bulbea-0.1.0-py3.8.egg\bulbea\entity\share.py:168: UserWarning: ←[01m←[33mEnvironment variable BULBEA_QUANDL_API_KEY for Quandl hasn't been set. A maximum of 50000 calls per day can be made. Visit https://www.quandl.com to get your API key.←[0m Traceback (most recent call last): File "", line 1, in File "C:\tools\Python38\lib\site-packages\bulbea-0.1.0-py3.8.egg\bulbea\entity\share.py", line 175, in init File "C:\tools\Python38\lib\site-packages\bulbea-0.1.0-py3.8.egg\bulbea\entity\share.py", line 187, in update File "C:\tools\Python38\lib\site-packages\quandl\get.py", line 48, in get data = Dataset(dataset_args['code']).data(params=kwargs, handle_column_not_found=True) File "C:\tools\Python38\lib\site-packages\quandl\model\dataset.py", line 47, in data return Data.all(updated_options) File "C:\tools\Python38\lib\site-packages\quandl\operations\list.py", line 15, in all r = Connection.request('get', path, options) File "C:\tools\Python38\lib\site-packages\quandl\connection.py", line 38, in request return cls.execute_request(http_verb, abs_url, **options) File "C:\tools\Python38\lib\site-packages\quandl\connection.py", line 50, in execute_request cls.handle_api_error(response) File "C:\tools\Python38\lib\site-packages\quandl\connection.py", line 114, in handle_api_error raise klass(message, resp.status_code, resp.text, resp.headers, code) quandl.errors.quandl_error.NotFoundError: (Status 404) (Quandl Error QECx02) You have submitted an incorrect Quandl code. Please check your Quandl codes and try again.