Closed Lithrandil2 closed 3 years ago
Not sure what's going on there. There's two major options:
attrs
, despite claiming that there are no dependencies to install.poetry shell
isn't dropping you into a correctly configured environment (i.e. it did install attrs, but it's not accessible)Might be worth running poetry show
and seeing what it thinks is installed. For me, I see this:
(leech--rZNhJ8c-py3.9) ◰³ leech--rZNhJ8c-py3.9 ~/s/leech $ poetry show 4165ms Sun Apr 4 01:39:53 2021
attrs 20.3.0 Classes Without Boilerplate
beautifulsoup4 4.9.3 Screen-scraping library
certifi 2020.12.5 Python package for providing Mozilla's CA Bundle.
chardet 4.0.0 Universal encoding detector for Python 2 and 3
click 7.1.2 Composable command line interface toolkit
click-default-group 1.2.2 Extends click.Group to invoke a command without explicit subcommand name
flake8 3.8.4 the modular source code checker: pep8 pyflakes and co
html5lib 1.1 HTML parser based on the WHATWG HTML specification
idna 2.10 Internationalized Domain Names in Applications (IDNA)
mccabe 0.6.1 McCabe checker, plugin for flake8
pillow 8.1.0 Python Imaging Library (Fork)
pycodestyle 2.6.0 Python style guide checker
pyflakes 2.2.0 passive checker of Python programs
requests 2.25.1 Python HTTP for Humans.
requests-cache 0.5.2 Persistent cache for requests library
six 1.15.0 Python 2 and 3 compatibility utilities
soupsieve 2.1 A modern CSS selector implementation for Beautiful Soup.
urllib3 1.26.2 HTTP library with thread-safe connection pooling, file post, and more.
webencodings 0.5.1 Character encoding aliases for legacy web content
Hmmm using poetry show gives me the same output:
E:\Download\leech-master>poetry show
attrs 20.3.0 Classes Without Boilerplate
beautifulsoup4 4.9.3 Screen-scraping library
certifi 2020.12.5 Python package for providing Mozilla's CA Bundle.
chardet 4.0.0 Universal encoding detector for Python 2 and 3
click 7.1.2 Composable command line interface toolkit
click-default-group 1.2.2 Extends click.Group to invoke a command without explicit subcommand name
flake8 3.8.4 the modular source code checker: pep8 pyflakes and co
html5lib 1.1 HTML parser based on the WHATWG HTML specification
idna 2.10 Internationalized Domain Names in Applications (IDNA)
mccabe 0.6.1 McCabe checker, plugin for flake8
pillow 8.1.0 Python Imaging Library (Fork)
pycodestyle 2.6.0 Python style guide checker
pyflakes 2.2.0 passive checker of Python programs
requests 2.25.1 Python HTTP for Humans.
requests-cache 0.5.2 Persistent cache for requests library
six 1.15.0 Python 2 and 3 compatibility utilities
soupsieve 2.1 A modern CSS selector implementation for Beautiful Soup.
urllib3 1.26.2 HTTP library with thread-safe connection pooling, file post, and more.
webencodings 0.5.1 Character encoding aliases for legacy web content
But the problem still persists.
Let's see... if you instead run it with poetry run leech
do you get any different result?
Yes that did it. Thank you. Still pretty weird though.
Yeah. I have to assume it's something going wrong with poetry shell
-on-windows, somehow.
Errormessage + proof that everything is up to date and all dependencies are there: