skops icon indicating copy to clipboard operation
skops copied to clipboard

Unable to set up environment on local machine

Open jot-s-bindra opened this issue 1 year ago • 1 comments

wanted your help in setting up environment in local machine

git clone [email protected]:jot-s-bindra/skops.git
git init
git checkout -b new-feature
conda create -c conda-forge -n skops python=3.10
conda activate skops
python -m pip install -e ".[tests,docs]"
conda install -c conda-forge pre-commit
pre-commit install
pytest

during pytest i am recieving variable declare errors , modules not installed errors like ERROR examples/plot_california_housing.py - KeyError: 'HF_HUB_TOKEN' ERROR examples/plot_hf_hub.py - KeyError: 'HF_HUB_TOKEN' ERROR examples/plot_intelex.py - KeyError: 'HF_HUB_TOKEN' ERROR scripts/clean_skops.py - OSError: pytest: reading from stdin while output is captured! Consider using -s. ERROR spaces/skops_model_card_creator/app.py - ModuleNotFoundError: No module named 'streamlit' ERROR spaces/skops_model_card_creator/create.py - ModuleNotFoundError: No module named 'streamlit' ERROR spaces/skops_model_card_creator/edit.py - ModuleNotFoundError: No module named 'streamlit' ERROR spaces/skops_model_card_creator/gethelp.py - ModuleNotFoundError: No module named 'streamlit' ERROR spaces/skops_model_card_creator/start.py - ModuleNotFoundError: No module named 'streamlit' ERROR spaces/skops_model_card_creator/tasks.py - ModuleNotFoundError: No module named 'streamlit'

jot-s-bindra avatar Oct 12 '23 07:10 jot-s-bindra

@jot-s-bindra you cross posted this 3 times. Please note that this will result in a ban from the org in the future. Responded in another thread.

adrinjalali avatar Oct 12 '23 09:10 adrinjalali