pip icon indicating copy to clipboard operation
pip copied to clipboard

Deprecate legacy versions and version specifiers

Open sbidoul opened this issue 1 year ago • 79 comments

Towards #11715

What is changing

pip has historically allowed many arbitrary strings as versions and version specifiers. Going forward, all versions and version specifiers will need to conform to https://packaging.python.org/en/latest/specifications/version-specifiers/ (based on PEP 440).

Quoting https://github.com/pypa/packaging/issues/530:

>>> packaging.version.parse("This is a completely random string")
<LegacyVersion('This is a completely random string')>
>>> packaging.version.parse("This is a completely random string")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[...]/.venv/lib/python3.10/site-packages/packaging/version.py", line 52, in parse
    return Version(version)
  File "[...]/.venv/lib/python3.10/site-packages/packaging/version.py", line 197, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: 'This is a completely random string'

This "feature" has been deprecated (https://github.com/pypa/packaging/issues/321) for nearly two years now.

PyPI has not permitted uploading packages with invalid versions for even more years.

There are more details about this change in the aforementioned issue.

What you can do

Please do not comment on this issue with the message you're seeing.

If you reached this issue from the pip deprecation warning and lack information to know where the non-conforming string was used, please re-run your pip command with -v or -vv to show more detailed logs which will help in locating the problem.

If you are the user of a package that is causing pip to present this warning, reach out to the authors of the package. The message starts as DEPRECATION: [package name here] [version number here] has a non-standard [...].

If you are the author of the relevant package, please update your package version and dependency specifiers to use a compliant syntax. You can check those using packaging.version.parse("1.0") and packaging.requirements.Requirement("dependency >= 1.0") with the latest packaging release.

sbidoul avatar May 31 '23 06:05 sbidoul

DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier numpy>=1.19.*; python_version >= "3.7". pip 23.3 will enforce this behaviour change.

wescorp avatar Jul 16 '23 12:07 wescorp

DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier

See #12146 - please report to torchsde

Edit: Looks like it's been reported as https://github.com/google-research/torchsde/issues/131

pfmoore avatar Jul 16 '23 13:07 pfmoore

Sorry, working on the wrong tab

uranusjr avatar Jul 17 '23 05:07 uranusjr

DEPRECATION: masonite 4.17.4 has a non-standard dependency specifier watchdog>=2<3. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of masonite or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

asanka550-HACKER avatar Jul 20 '23 14:07 asanka550-HACKER

Help me..😥

asanka550-HACKER avatar Jul 20 '23 14:07 asanka550-HACKER

@asanka550-HACKER please reach out to the masonite project to ask them to fix their dependency specifiers.

sbidoul avatar Jul 20 '23 15:07 sbidoul

Is PEP 440 meant to override the version numbering schema of all downstreams? Will you make this feautre opt-out?

DEPRECATION: python-debian 0.1.43ubuntu1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-debian or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063

eslerm avatar Jul 21 '23 13:07 eslerm

Is PEP 440 meant to override the version numbering schema of all downstreams? Will you make this feautre opt-out?

DEPRECATION: python-debian 0.1.43ubuntu1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-debian or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063

Updating the package seems to fix the issue. In my case, this also showed up for distro-info. pip3 install python-debian distro-info -U

There should be a good error message when this is enforced in pip 23.3; not sure how this will be affected after the update.

FrostyNick avatar Jul 21 '23 15:07 FrostyNick

Along with python-debian, the warning message is shown for gpg, too. On my system, updating it required the installation of some additional packages. Documenting here for anyone who comes by.

sudo apt install libgpgme-dev swig
pip install --upgrade gpg

tfpf avatar Jul 21 '23 19:07 tfpf

Hi, I am facing issues downloading matlabengineforpython and pytorch-lightning. Both of these packages are required for another package so I cannot just download alternitives.

DEPRECATION: matlabengineforpython R2021a has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of matlabengineforpython or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063 DEPRECATION: pytorch-lightning 1.6.4 has a non-standard dependency specifier torch>=1.8.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pytorch-lightning or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

This is being built within a conda enviroment.

evizcaino123 avatar Jul 22 '23 18:07 evizcaino123

@evizcaino123 Please reach out to the maintainers of pytorch-lightning and matlabengineforpython about this issue.

pradyunsg avatar Jul 22 '23 22:07 pradyunsg

@tfpf @eslerm @FrostyNick

python-debian

See https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1991606 which tracks the Ubuntu-side work on this issue.

pradyunsg avatar Jul 22 '23 22:07 pradyunsg

Thank you for the information @pradyunsg.

Could the Python Packaging Authority please answer my questions above? I am worried that my comment will be hidden if I do not ask again.

edit: this satisfies my questions https://github.com/pypa/setuptools/issues/3772#issuecomment-1384342813

eslerm avatar Jul 23 '23 03:07 eslerm

Will you make this feautre opt-out?

No.

Is PEP 440 meant to override the version numbering schema of all downstreams?

No. Downstream tooling (eg: apt, yum) can use whatever versioning scheme they wish to use. The METADATA for the Python packages needs to be compliant with PEP 440 though -- it's similar to how Debian/Ubuntu can't set arbitrary version strings for npm packages or Rust crates they use, those need to comply with SemVer.

pradyunsg avatar Jul 23 '23 08:07 pradyunsg

gettting pep 517 on mac

ghost avatar Jul 24 '23 01:07 ghost

`C:\Users\28622>pip install --upgrade omegaconf
Requirement already satisfied: omegaconf in c:\users\28622\appdata\local\programs\python\python310\lib\site-packages (2.0.6)
Collecting omegaconf
  Downloading omegaconf-2.3.0-py3-none-any.whl (79 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 119.8 kB/s eta 0:00:00
Collecting antlr4-python3-runtime==4.9.* (from omegaconf)
  Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.0/117.0 kB 200.7 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: PyYAML>=5.1.0 in c:\users\28622\appdata\local\programs\python\python310\lib\site-packages (from omegaconf) (6.0.1)
Building wheels for collected packages: antlr4-python3-runtime
  Building wheel for antlr4-python3-runtime (setup.py) ... done
  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144578 sha256=4e1eba93687bcd4a45ca7e2a12da37f6af88ac54b41a3c4599f7d946bb5ee74e
  Stored in directory: c:\users\28622\appdata\local\pip\cache\wheels\12\93\dd\1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88
Successfully built antlr4-python3-runtime
Installing collected packages: antlr4-python3-runtime, omegaconf
  Attempting uninstall: antlr4-python3-runtime
    Found existing installation: antlr4-python3-runtime 4.8
    Uninstalling antlr4-python3-runtime-4.8:
      Successfully uninstalled antlr4-python3-runtime-4.8
  Attempting uninstall: omegaconf
    Found existing installation: omegaconf 2.0.6
    Uninstalling omegaconf-2.0.6:
      Successfully uninstalled omegaconf-2.0.6
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
fairseq 0.12.2 requires omegaconf<2.1, but you have omegaconf 2.3.0 which is incompatible.
hydra-core 1.0.7 requires antlr4-python3-runtime==4.8, but you have antlr4-python3-runtime 4.9.3 which is incompatible.
hydra-core 1.0.7 requires omegaconf<2.1,>=2.0.5, but you have omegaconf 2.3.0 which is incompatible.
Successfully installed antlr4-python3-runtime-4.9.3 omegaconf-2.3.0

C:\Users\28622>pip install omegaconf==2.0.5
Collecting omegaconf==2.0.5
  Downloading omegaconf-2.0.5-py3-none-any.whl (36 kB)
Requirement already satisfied: PyYAML>=5.1.* in c:\users\28622\appdata\local\programs\python\python310\lib\site-packages (from omegaconf==2.0.5) (6.0.1)
Requirement already satisfied: typing-extensions in c:\users\28622\appdata\local\programs\python\python310\lib\site-packages (from omegaconf==2.0.5) (4.7.0)
DEPRECATION: omegaconf 2.0.5 has a non-standard dependency specifier PyYAML>=5.1.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: omegaconf
  Attempting uninstall: omegaconf
    Found existing installation: omegaconf 2.3.0
    Uninstalling omegaconf-2.3.0:
      Successfully uninstalled omegaconf-2.3.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
hydra-core 1.0.7 requires antlr4-python3-runtime==4.8, but you have antlr4-python3-runtime 4.9.3 which is incompatible.
Successfully installed omegaconf-2.0.5

C:\Users\28622>pip install omegaconf==2.1.0
Collecting omegaconf==2.1.0
  Downloading omegaconf-2.1.0-py3-none-any.whl (74 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.5/74.5 kB 117.5 kB/s eta 0:00:00
Collecting antlr4-python3-runtime==4.8 (from omegaconf==2.1.0)
  Downloading antlr4-python3-runtime-4.8.tar.gz (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.4/112.4 kB 654.9 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: PyYAML>=5.1.* in c:\users\28622\appdata\local\programs\python\python310\lib\site-packages (from omegaconf==2.1.0) (6.0.1)
Building wheels for collected packages: antlr4-python3-runtime
  Building wheel for antlr4-python3-runtime (setup.py) ... done
  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.8-py3-none-any.whl size=141217 sha256=a91301742afff199d15e0e17af573f50197bf8c060267fe4a58f45c1fca774e6
  Stored in directory: c:\users\28622\appdata\local\pip\cache\wheels\a7\20\bd\e1477d664f22d99989fd28ee1a43d6633dddb5cb9e801350d5
Successfully built antlr4-python3-runtime
DEPRECATION: omegaconf 2.1.0 has a non-standard dependency specifier PyYAML>=5.1.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: antlr4-python3-runtime, omegaconf
  Attempting uninstall: antlr4-python3-runtime
    Found existing installation: antlr4-python3-runtime 4.9.3
    Uninstalling antlr4-python3-runtime-4.9.3:
      Successfully uninstalled antlr4-python3-runtime-4.9.3
  Attempting uninstall: omegaconf
    Found existing installation: omegaconf 2.0.5
    Uninstalling omegaconf-2.0.5:
      Successfully uninstalled omegaconf-2.0.5
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
fairseq 0.12.2 requires omegaconf<2.1, but you have omegaconf 2.1.0 which is incompatible.
hydra-core 1.0.7 requires omegaconf<2.1,>=2.0.5, but you have omegaconf 2.1.0 which is incompatible.
Successfully installed antlr4-python3-runtime-4.8 omegaconf-2.1.0

C:\Users\28622>pip install omegaconf==2.0.6
Collecting omegaconf==2.0.6
  Downloading omegaconf-2.0.6-py3-none-any.whl (36 kB)
Requirement already satisfied: PyYAML>=5.1.* in c:\users\28622\appdata\local\programs\python\python310\lib\site-packages (from omegaconf==2.0.6) (6.0.1)
Requirement already satisfied: typing-extensions in c:\users\28622\appdata\local\programs\python\python310\lib\site-packages (from omegaconf==2.0.6) (4.7.0)
DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: omegaconf
  Attempting uninstall: omegaconf
    Found existing installation: omegaconf 2.1.0
    Uninstalling omegaconf-2.1.0:
      Successfully uninstalled omegaconf-2.1.0
Successfully installed omegaconf-2.0.6`

Always give me the following warning and I don't know how to do. DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

Amazon90 avatar Jul 24 '23 05:07 Amazon90

DEPRECATION: omegaconf 2.1.0 has a non-standard dependency specifier PyYAML>=5.1.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

@Amazon90 please contact the omagaconf project so they fix their dependencies.

sbidoul avatar Jul 24 '23 07:07 sbidoul

DEPRECATION: ansys-dpf-core 0.8.1 has a non-standard dependency specifier ansys-dpf-gate>=0.3.*. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of ansys-dpf-core or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

zhenhuashao avatar Jul 28 '23 01:07 zhenhuashao

DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier numpy>=1.19.*; python_version >= "3.7". pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of torchsde or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

moseti1 avatar Jul 28 '23 05:07 moseti1

I've added "Please do not comment on this issue with the message you're seeing." to the OP.

@moseti1 Please reach out to the maintainers of torchsde.

@zhenhuashao Please reach out to the maintainers of ansys-dpf-core.

pradyunsg avatar Jul 28 '23 11:07 pradyunsg

I'm a bit of a python noob and came here from the link in failing code. What would be useful rather than just saying go to maintainers is to provide that link. So this is my attempt to do that, though please advise if I have this incorrect.

Maintainers of torchsde are: https://github.com/google-research/torchsde yes?

marshalleq avatar Jul 29 '23 21:07 marshalleq

That looks right, yes. We sometimes don't include the link, simply because we may not know (we aren't particularly familiar with most of the packages people use).

pfmoore avatar Jul 29 '23 22:07 pfmoore

I'm a bit of a python noob and came here from the link in failing code. What would be useful rather than just saying go to maintainers is to provide that link. So this is my attempt to do that, though please advise if I have this incorrect.

Maintainers of torchsde are: https://github.com/google-research/torchsde yes?

Check this https://github.com/google-research/torchsde/issues/131

Jaxsii avatar Aug 01 '23 04:08 Jaxsii

Hi, I have tried to install as per the command provided in the site. I have used : pip install -r requirements.txt && pip install -e .

but it shows some subprocess error like :

an@aj:~/Desktop/Multimodal_SA_Work/resp$ pip install -r requirements.txt && pip install -e . 
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: async-generator==1.10 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.10)
Requirement already satisfied: attrs==21.4.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (21.4.0)
Requirement already satisfied: beautifulsoup4==4.11.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (4.11.1)
Requirement already satisfied: certifi==2022.6.15 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (2022.6.15)
Requirement already satisfied: cffi==1.15.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (1.15.1)
Requirement already satisfied: charset-normalizer==2.1.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (2.1.0)
Requirement already satisfied: cryptography==37.0.4 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 7)) (37.0.4)
Requirement already satisfied: google-search-results==2.4.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 8)) (2.4.1)
Requirement already satisfied: h11==0.13.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 9)) (0.13.0)
Requirement already satisfied: idna==3.3 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 10)) (3.3)
Requirement already satisfied: latexcodec==2.0.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 11)) (2.0.1)
Requirement already satisfied: outcome==1.2.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 12)) (1.2.0)
Requirement already satisfied: pandas in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 13)) (1.5.3)
Requirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 14)) (1.22.2)
Requirement already satisfied: pybtex==0.24.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 15)) (0.24.0)
Requirement already satisfied: pycparser==2.21 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 16)) (2.21)
Requirement already satisfied: pyOpenSSL==22.0.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 17)) (22.0.0)
Requirement already satisfied: PySocks==1.7.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 18)) (1.7.1)
Requirement already satisfied: python-dateutil==2.8.2 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 19)) (2.8.2)
Requirement already satisfied: pytz==2022.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 20)) (2022.1)
Requirement already satisfied: PyYAML==6.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 21)) (6.0)
Requirement already satisfied: requests==2.28.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 22)) (2.28.1)
Requirement already satisfied: selenium==4.2.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 23)) (4.2.0)
Requirement already satisfied: shutup==0.2.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 24)) (0.2.0)
Requirement already satisfied: six==1.16.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 25)) (1.16.0)
Requirement already satisfied: sniffio==1.2.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 26)) (1.2.0)
Requirement already satisfied: sortedcontainers==2.4.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 27)) (2.4.0)
Requirement already satisfied: soupsieve==2.3.2.post1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 28)) (2.3.2.post1)
Requirement already satisfied: tqdm==4.64.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 29)) (4.64.0)
Requirement already satisfied: trio==0.21.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 30)) (0.21.0)
Requirement already satisfied: trio-websocket==0.9.2 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 31)) (0.9.2)
Requirement already satisfied: urllib3==1.26.10 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 32)) (1.26.10)
Requirement already satisfied: wsproto==1.1.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 33)) (1.1.0)
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/anupam/Desktop/Work/resp
  Preparing metadata (setup.py) ... done
Installing collected packages: resp
  Running setup.py develop for resp
    error: subprocess-exited-with-error
    
    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [4 lines of output]
        running develop
        running egg_info
        creating resp.egg-info
        error: could not create 'resp.egg-info': Permission denied
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
    running develop
    running egg_info
    creating resp.egg-info
    error: could not create 'resp.egg-info': Permission denied
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

Please help me in this regard

anupamjamatia avatar Aug 08 '23 09:08 anupamjamatia

Hi @anupamjamatia! This isn't the right place to ask for help for the problem you're facing.

I think that Python Discord's #help-* channels, python-list or python-tutor mailing lists, or StackOverflow would be better channels to get support for the issue you're facing.

Also, your comment seems to be poorly formatted. I request you to read https://help.github.com/articles/getting-started-with-writing-and-formatting-on-github/ -- for now, I've manually improved the formatting of your comment by editing it in place, using the pencil icon in the corner. :)

pradyunsg avatar Aug 08 '23 12:08 pradyunsg

Ok, that has been solved after changing the access mode. But now after successfully installation of resp, I am not able to run the software. Can anyone help me how to run the code to get all the paper information from ACL Anthology?

Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: async-generator==1.10 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.10) Requirement already satisfied: attrs==21.4.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (21.4.0) Requirement already satisfied: beautifulsoup4==4.11.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (4.11.1) Requirement already satisfied: certifi==2022.6.15 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (2022.6.15) Requirement already satisfied: cffi==1.15.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (1.15.1) Requirement already satisfied: charset-normalizer==2.1.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (2.1.0) Requirement already satisfied: cryptography==37.0.4 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 7)) (37.0.4) Requirement already satisfied: google-search-results==2.4.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 8)) (2.4.1) Requirement already satisfied: h11==0.13.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 9)) (0.13.0) Requirement already satisfied: idna==3.3 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 10)) (3.3) Requirement already satisfied: latexcodec==2.0.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 11)) (2.0.1) Requirement already satisfied: outcome==1.2.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 12)) (1.2.0) Requirement already satisfied: pandas in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 13)) (1.5.3) Requirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 14)) (1.22.2) Requirement already satisfied: pybtex==0.24.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 15)) (0.24.0) Requirement already satisfied: pycparser==2.21 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 16)) (2.21) Requirement already satisfied: pyOpenSSL==22.0.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 17)) (22.0.0) Requirement already satisfied: PySocks==1.7.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 18)) (1.7.1) Requirement already satisfied: python-dateutil==2.8.2 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 19)) (2.8.2) Requirement already satisfied: pytz==2022.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 20)) (2022.1) Requirement already satisfied: PyYAML==6.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 21)) (6.0) Requirement already satisfied: requests==2.28.1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 22)) (2.28.1) Requirement already satisfied: selenium==4.2.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 23)) (4.2.0) Requirement already satisfied: shutup==0.2.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 24)) (0.2.0) Requirement already satisfied: six==1.16.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 25)) (1.16.0) Requirement already satisfied: sniffio==1.2.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 26)) (1.2.0) Requirement already satisfied: sortedcontainers==2.4.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 27)) (2.4.0) Requirement already satisfied: soupsieve==2.3.2.post1 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 28)) (2.3.2.post1) Requirement already satisfied: tqdm==4.64.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 29)) (4.64.0) Requirement already satisfied: trio==0.21.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 30)) (0.21.0) Requirement already satisfied: trio-websocket==0.9.2 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 31)) (0.9.2) Requirement already satisfied: urllib3==1.26.10 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 32)) (1.26.10) Requirement already satisfied: wsproto==1.1.0 in /home/anupam/.local/lib/python3.8/site-packages (from -r requirements.txt (line 33)) (1.1.0) Defaulting to user installation because normal site-packages is not writeable Obtaining file:///home/anupam/Desktop/Multimodal_SA_Work/resp Preparing metadata (setup.py) ... done Installing collected packages: resp Attempting uninstall: resp Found existing installation: resp 0.0.0 Uninstalling resp-0.0.0: Successfully uninstalled resp-0.0.0 Running setup.py develop for resp Successfully installed resp-0.0.0

anupamjamatia avatar Aug 09 '23 06:08 anupamjamatia

You need to ask in one of the places @pradyunsg suggested, not here.

pfmoore avatar Aug 09 '23 07:08 pfmoore

I can not be able to understand how can I solve this problem. If any could give me a solution then I will be grateful for that. My terminal shows this type of message.

"dresden@dresden:~$ pip install beautifulsoup4 Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.10/dist-packages (4.12.0) Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.10/dist-packages (from beautifulsoup4) (2.4) DEPRECATION: distro-info 1.1build1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063 DEPRECATION: python-debian 0.1.43ubuntu1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-debian or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063"

Sabyaro avatar Aug 09 '23 08:08 Sabyaro

@Sabyaro what others are saying is this isn't actually a support forum, it's a bug channel. I do appreciate when starting out it's hard to tell the difference, I certainly don't get that right all the time.

marshalleq avatar Aug 09 '23 09:08 marshalleq

Hello God, this is how we should solve this kind of error reporting

WARNING: Ignoring invalid distribution -orch (d:\sd-webui-aki-v4.2\sd-webui-aki-v4.2\python\lib\site-packages) DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier numpy>=1.19.*; python_version >= "3.7". pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of torchsde or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

Louis-LLY avatar Aug 12 '23 10:08 Louis-LLY