chaoss / grimoirelab-perceval

Send Sir Perceval on a quest to retrieve and gather data from software repositories.
http://perceval.readthedocs.io/
GNU General Public License v3.0
290 stars 177 forks source link

Error during installation #825

Closed davidam closed 1 year ago

davidam commented 1 year ago

Hello,

During the perceval installation` I'm reading the next error:

ERROR: perceval 0.22.3 has requirement urllib3==1.26.16, but you'll have urllib3 2.0.5 which is incompatible.

Later, I can to use perceval, but I find the same error about urllib3 many times later using the software.

sduenas commented 1 year ago

How are you installing the tool?

davidam commented 1 year ago

I was installing Perceval as a dependency of DameGender in a python environment when the bug was found.

Today, I've uninstalled and installed again perceval using pip3 install perceval in the console. The error now is differente, I suppose that is because you are working on it:

ERROR: launchpadlib 1.10.13 requires testresources, which is not installed.

sduenas commented 1 year ago

I didn't find any problem installing perceval in an virtual environment:

$ python3 -m venv /tmp/perceval
$ source /tmp/perceval/bin/activate
(perceval) $ pip3 install perceval

Collecting perceval
  Downloading perceval-0.22.3-py3-none-any.whl (216 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.4/216.4 KB 3.5 MB/s eta 0:00:00
Collecting certifi==2023.7.22
  Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 KB 3.6 MB/s eta 0:00:00
[...]

Successfully installed alabaster-0.7.13 attrs-21.4.0 babel-2.12.1 beautifulsoup4-4.12.2 certifi-2023.7.22 cffi-1.15.1 charset-normalizer-3.2.0 cryptography-41.0.3 docutils-0.17.1 dulwich-0.20.50 feedparser-6.0.10 grimoirelab-toolkit-0.3.6 idna-3.4 imagesize-1.4.1 jinja2-3.1.2 markdown-it-py-1.1.0 markupsafe-2.1.3 mdit-py-plugins-0.2.8 packaging-23.1 perceval-0.22.3 pycparser-2.21 pygments-2.16.1 pyjwt-2.8.0 python-dateutil-2.8.2 pyyaml-6.0.1 requests-2.31.0 setuptools-68.0.0 sgmllib3k-1.0.0 six-1.16.0 snowballstemmer-2.2.0 soupsieve-2.4.1 sphinx-4.3.2 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-1.26.16

I'm using Python 3.10.12

sduenas commented 1 year ago

Closing it due to inactivity. Feel free to open it if you find the issue again.