Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i have issues in runtime using ubuntu 20 and python 3.8 #1

Open
johnfelipe opened this issue Dec 14, 2023 · 0 comments
Open

i have issues in runtime using ubuntu 20 and python 3.8 #1

johnfelipe opened this issue Dec 14, 2023 · 0 comments

Comments

@johnfelipe
Copy link

sudo su
cd
apt install python3-pip
pip install streamlit
pip install streamlit --upgrade
pip install Jinja2==3
sudo apt install python3.10-venv
git clone https://github.com/DavimenUC3M/IronIA-RoboAdvisor

cd IronIA-RoboAdvisor/

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
streamlit run app.py

in console show me this:

%html

<script src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.1.min.js"></script>
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-gl-2.4.1.min.js"></script>
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.1.min.js"></script>
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.4.1.min.js"></script>
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-2.4.1.min.js"></script>

/root/IronIA-RoboAdvisor/env/lib/python3.8/site-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.24.4
  warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
2023-12-14 11:34:48.098 Trying to detect encoding from a tiny portion of (14) byte(s).
2023-12-14 11:34:48.104 ascii passed initial chaos probing. Mean measured chaos is 0.000000 %
2023-12-14 11:34:48.107 ascii should target any language(s) of ['Latin Based']
2023-12-14 11:34:48.108 ascii is most likely the one. Stopping the process.

  You can now view your Streamlit app in your browser.

  Network URL: http://192.168.20.13:8501

  External URL: http://181.51.32.154:8501

Loading ...
Iteration 1
-----------
/root/IronIA-RoboAdvisor/src/risk_methods_pyportfolio.py:33: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  filtered_betas['value_product'] = filtered_betas['value_product'].apply(lambda x: round(x,3))

when choose another risk show me error
How can solve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant