rxmxn / pycoin

0 stars 0 forks source link

Install Requirements errors #10

Closed cyberguilletell closed 4 years ago

cyberguilletell commented 4 years ago

In order to create my Env of work I created my env

cyberguille@Predator:~/VirtualEnvs$ virtualenv -p python3 pycoin_env
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/cyberguille/VirtualEnvs/pycoin_env/bin/python3
Also creating executable in /home/cyberguille/VirtualEnvs/pycoin_env/bin/python
Installing setuptools, pip, wheel...
done.

Activate the env and install Requirements

cyberguille@Predator:~/Projects/pycoin$ source ~/VirtualEnvs/pycoin_env/bin/activate
(pycoin_env) cyberguille@Predator:~/Projects/pycoin$ pip install -r requirements.txt 

When finish the install I got this error

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

astroid 2.4.2 requires six~=1.12, but you'll have six 1.10.0 which is incompatible.

I found this question on stackoverflow

https://stackoverflow.com/questions/63277123/what-is-use-feature-2020-resolver-error-message-with-jupyter-installation-on

And I try to fix that using this command

pip install --use-feature=2020-resolver -r requirements.txt

and I got this issue

ERROR: Cannot install six==1.10.0 and astroid 2.4.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested six==1.10.0
    astroid 2.4.2 depends on six~=1.12

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
rxmxn commented 4 years ago

There is a dependency issue. Updated six to 1.15

cyberguilletell commented 4 years ago

The error is not solved yet @rxmxn

ERROR: Cannot install six==1.15.0, astroid 2.4.2 and cbpro 1.1.4 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested six==1.15.0
    astroid 2.4.2 depends on six~=1.12
    cbpro 1.1.4 depends on six==1.10.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies