liren zhang
04/06/2020, 6:35 PMpip install prefect
Building wheels for collected packages: pendulum
Building wheel for pendulum (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\zhang\appdata\local\programs\python\python38\python.exe' 'c:\users\zhang\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\zhang\AppData\Local\Temp\tmpjjs207ax'
cwd: C:\Users\zhang\AppData\Local\Temp\pip-install-2pd94jc4\pendulum
Complete output (24 lines):
Traceback (most recent call last):
File "setup.py", line 2, in <module>
from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
Traceback (most recent call last):
File "c:\users\zhang\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 257, in <module>
main()
File "c:\users\zhang\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\zhang\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 181, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\zhang\AppData\Local\Temp\pip-build-env-e3fac8fx\overlay\Lib\site-packages\poetry\core\masonry\api.py", line 57, in build_wheel
return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
File "C:\Users\zhang\AppData\Local\Temp\pip-build-env-e3fac8fx\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 56, in make_in
wb.build()
File "C:\Users\zhang\AppData\Local\Temp\pip-build-env-e3fac8fx\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 82, in build
self._build(zip_file)
File "C:\Users\zhang\AppData\Local\Temp\pip-build-env-e3fac8fx\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 102, in _build
self._run_build_command(setup)
File "C:\Users\zhang\AppData\Local\Temp\pip-build-env-e3fac8fx\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 130, in _run_build_command
subprocess.check_call(
File "c:\users\zhang\appdata\local\programs\python\python38\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\\users\\zhang\\appdata\\local\\programs\\python\\python38\\python.exe', 'setup.py', 'build', '-b', 'build']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for pendulum
Failed to build pendulum
ERROR: Could not build wheels for pendulum which use PEP 517 and cannot be installed directly
Chris White
04/06/2020, 6:37 PMpendulum
package and Windows; check out these issues for some further discussion: https://github.com/sdispater/pendulum/issues?q=is%3Aissue+is%3Aopen+pep+517liren zhang
04/06/2020, 6:55 PMpip install pendulum==2.0.3
and this had worked but when go back to pip install prefect
it was still trying to do the following
Collecting pendulum<3.0,>=2.0.4
Using cached pendulum-2.1.0.tar.gz (80 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Chris White
04/06/2020, 6:57 PMKamil Okáč
04/07/2020, 7:19 AMpip install pendulum==2.0.4
liren zhang
04/07/2020, 1:21 PM