asweigart / automateboringstuff Goto Github PK
View Code? Open in Web Editor NEWThis package installs the modules used in "Automate the Boring Stuff with Python", 2nd Edition.
This package installs the modules used in "Automate the Boring Stuff with Python", 2nd Edition.
Recently I tried installing the Python packages for this book via the suggested pipenv
approach on the site, however am unable to do so because of what seems like outdated dependency errors.
Here is the error from trying to apply pipenv
to the .txt file:
Complete output (2 lines):
VERSION 1.0.4
error in pyzmail36 setup command: use_2to3 is invalid.
----------------------------------------
CRITICAL:pipenv.patched.notpip._internal.resolution.resolvelib.factory:Could not find a version that satisfies the requirement pyzmail36==1.0.4 (from versions: 1.0.3, 1.0.4)
[ResolutionFailure]: File "C:\Users\robjr\AppData\Local\Programs\Python\Python39\lib\site-packages\pipenv\resolver.py", line 743, in _main
[ResolutionFailure]: resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
[ResolutionFailure]: File "C:\Users\robjr\AppData\Local\Programs\Python\Python39\lib\site-packages\pipenv\resolver.py", line 704, in resolve_packages
[ResolutionFailure]: results, resolver = resolve(
[ResolutionFailure]: File "C:\Users\robjr\AppData\Local\Programs\Python\Python39\lib\site-packages\pipenv\resolver.py", line 685, in resolve
[ResolutionFailure]: return resolve_deps(
[ResolutionFailure]: File "c:\users\robjr\appdata\local\programs\python\python39\lib\site-packages\pipenv\utils.py", line 1370, in resolve_deps
[ResolutionFailure]: results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
[ResolutionFailure]: File "c:\users\robjr\appdata\local\programs\python\python39\lib\site-packages\pipenv\utils.py", line 1099, in actually_resolve_deps
[ResolutionFailure]: resolver.resolve()
[ResolutionFailure]: File "c:\users\robjr\appdata\local\programs\python\python39\lib\site-packages\pipenv\utils.py", line 877, in resolve
[ResolutionFailure]: raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: No matching distribution found for pyzmail36==1.0.4
And a similar one after applying pipenv install automateboringstuff
:
ERROR: Command errored out with exit status 1:
command: 'C:\Users\robjr\.virtualenvs\Automate_the_Boring_Stuff-7KyN8-GN\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\robjr\\AppData\\Local\\Temp\\pip-install-wb2c7jil\\pyzmail36_5e3809550b59458fa56f2f0df17fbadf\\setup.py'"'"'; __file__='"'"'C:\\Users\\robjr\\AppData\\Local\\Temp\\pip-install-wb2c7jil\\pyzmail36_5e3809550b59458fa56f2f0df17fbadf\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\robjr\AppData\Local\Temp\pip-pip-egg-info-gy4wn71e'
cwd: C:\Users\robjr\AppData\Local\Temp\pip-install-wb2c7jil\pyzmail36_5e3809550b59458fa56f2f0df17fbadf\
Complete output (2 lines):
error in pyzmail36 setup command: use_2to3 is invalid.
VERSION 1.0.4
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/8c/28/34f999ca9704f7b68976fb82f05b49a09f0bb3902560572dbfbcd42c1fcc/pyzmail36-1.0.4.tar.gz#sha256=55791e0b4646dff766ec4ccb9bf55690ddcf7692ef9ecc7d09035e7df0e1f8c8 (from https://pypi.org/simple/pyzmail36/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement pyzmail36==1.0.4 (from automateboringstuff) (from versions: 1.0.3, 1.0.4)
ERROR: No matching distribution found for pyzmail36==1.0.4
Does the author suggest we use an updated dependency list? And if so can he provide one?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.