Going through the homework, I was able to fix the Python program and ran
$ python3 -m doctest Fixme.py
with no output, as expected.
However, once I ran
$ flake8 Fixme.py
I got back this long and unexpected output:
Traceback (most recent call last):
File "/usr/bin/flake8", line 11, in <module>
load_entry_point('flake8==3.5.0', 'console_scripts', 'flake8')()
File "/usr/lib/python3/dist-packages/flake8/main/cli.py", line 16, in main
app.run(argv)
File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 396, in run
self._run(argv)
File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 383, in _run
self.initialize(argv)
File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 371, in initialize
self.make_file_checker_manager()
File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 293, in make_file_checker_manager
checker_plugins=self.check_plugins,
File "/usr/lib/python3/dist-packages/flake8/checker.py", line 89, in __init__
self.pool = multiprocessing.Pool(self.jobs, _pool_init)
File "/usr/lib/python3.6/multiprocessing/context.py", line 119, in Pool
context=self.get_context())
File "/usr/lib/python3.6/multiprocessing/pool.py", line 174, in __init__
self._repopulate_pool()
File "/usr/lib/python3.6/multiprocessing/pool.py", line 239, in _repopulate_pool
w.start()
File "/usr/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/usr/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/usr/lib/python3.6/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/usr/lib/python3.6/multiprocessing/popen_fork.py", line 66, in _launch
self.pid = os.fork()
BlockingIOError: [Errno 11] Resource temporarily unavailable
I am wondering if this is just an issue on my local machine or if others are having the same problem.
Going through the homework, I was able to fix the Python program and ran
with no output, as expected.
However, once I ran
I got back this long and unexpected output:
I am wondering if this is just an issue on my local machine or if others are having the same problem.