Closed nakytoe closed 1 year ago
Describe the bug
The package versions specified in requirements.txt may not install in all local environments (if not using docker), and may have to be manually installed.
Desktop
How to fix
1) Recalculate the requirements with pip-tools locally and then install
or
2) manually install the packages in spesified in .in files
Note that both of these may again result in reproducibility issues in other environments. Container development is recommended.
Some spesific solutions to this issue
Project setup (Apple Silicon): Prerequisites:
Python project setup:
pip install virtualenv python -m virtualenv venv source venv/bin/activate pip install -r requirements.txt pip install ipykernel pip install nbdev
May be due to differences between ARM & x86 (default) architectures
solution: container development. Local install not encouraged.
Describe the bug
The package versions specified in requirements.txt may not install in all local environments (if not using docker), and may have to be manually installed.
Desktop
How to fix
1) Recalculate the requirements with pip-tools locally and then install
or
2) manually install the packages in spesified in .in files
Note that both of these may again result in reproducibility issues in other environments. Container development is recommended.
Some spesific solutions to this issue
Project setup (Apple Silicon): Prerequisites:
Python project setup: