-
Notifications
You must be signed in to change notification settings - Fork 14
Shaokai/fix install #34
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
Conversation
…ndencies. Added installation script
…into shaokai/fix_install
Update README.md
| - AmadeusGPT is a Python package hosted on `pypi`. You can create a virtual env (conda, etc, see below*) or Docker and run: | ||
| ```python | ||
| pip install 'amadeusgpt[streamlit]' | ||
| - We prepare installation script install.sh. Make sure you modify the bash script to fit your own. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you deleting the pypi package? it is on pypi ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I realize that, at least when I was working on it, one can't install deeplabcut with pip install alone. It needs to use the conda yaml to first install hdf5 and many users don't understand why that's the case. So inside the installation script, I force users to create a conda env via conda yaml and then pip install.
The installation script
source /Users/shaokaiye/miniforge3/bin/activate
conda env create -f conda/amadesuGPT.yml
conda activate amadeusgpt
pip install -e .[streamlit]
In colab, because hdf5 is pre-installed, then they will run into slightly different problem such as pytable vs. tables from deeplabcut. I overheard you guys might have solved it. Let me know if there is better way to solve it.
Removed modules that are not needed
Removed requirements that are not needed
Added installation script to enforce that one needs to install conda yaml before running pip install. This is because library like hdf5's dependency cannot be addressed by pip install. Therefore people run into hdf5 dependency missing after even after pip install