Closed 13x54n closed 3 months ago
To resolve the dependency conflicts, let's first remove the specific version constraints where possible and let pip handle the dependency resolution. Here is an updated requirements.txt that tries to minimize version constraints:
plaintext
Copy code
django
djangorestframework
django-cors-headers
eth-brownie
web3
moralis
We'll start by uninstalling all existing packages and then installing from the updated requirements.txt.
Clear the Virtual Environment Deactivate the virtual environment if it is active:
deactivate
rm -rf venv
Create a New Virtual Environment Create a new virtual environment:
python3.12 -m venv venv
source venv/bin/activate
pip install --upgrade pip
Install Dependencies Install dependencies from the requirements.txt:
pip install -r requirements.txt
Verify Installation and Resolve Conflicts Manually If there are still conflicts, install dependencies individually to pinpoint the issue and resolve it:
Install django and Related Packages
pip install django djangorestframework django-cors-headers
Install eth-brownie with Specific Dependencies
pip install eth-brownie==1.20.6 typing-extensions==4.9.0 urllib3==2.2.1
Install web3 and moralis
pip install web3 moralis
pip list
python manage.py runserver
Issue Recreation
The following issue was raised while I was trying to setup the DAO-Full-Stack on my local device. I tried bumping into different python versions but faced the same issue unsolved. Currently, I run python3 as per the installation guide suggested.
Output:
Requirements.txt: General documentation consists few but it was auto-generated by compiler during module installation.
Server: