LoC-reconcile icon indicating copy to clipboard operation
LoC-reconcile copied to clipboard

requirements install gives `TypeError: string argument expected, got 'NoneType'`

Open ajs6f opened this issue 4 years ago • 0 comments

Hello, LoC-reconcile, I am trying to install this extension, but running into a problem getting the requirements. I'm not familiar with Python, so I'm sorry if this is an obvious problem, but I am getting the following error-out. Thanks for any advice!

[user@hostname LoC-reconcile]$ python -m pip install -r requirements.txt
Requirement already satisfied: requests>=2.20.0 in /usr/lib/python3.6/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: beautifulsoup4==4.6.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 2))
Exception:
Traceback (most recent call last):                                                                                            
  File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main                                               
    status = self.run(options, args)                                                                                          
  File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 346, in run                                           
    requirement_set.prepare_files(finder)                                                                                     
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 381, in prepare_files                                      
    ignore_dependencies=self.ignore_dependencies))                                                                            
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 671, in _prepare_file                                      
    check_dist_requires_python(dist)                                                                                          
  File "/usr/lib/python3.6/site-packages/pip/utils/packaging.py", line 48, in check_dist_requires_python                      
    feed_parser.feed(metadata)                                                                                                
  File "/usr/lib64/python3.6/email/feedparser.py", line 175, in feed                                                          
    self._input.push(data)                                                                                                    
  File "/usr/lib64/python3.6/email/feedparser.py", line 103, in push                                                          
    self._partial.write(data)                                                                                                 
TypeError: string argument expected, got 'NoneType'

ajs6f avatar Mar 26 '21 13:03 ajs6f