-
-
Notifications
You must be signed in to change notification settings - Fork 53
Description
(pythonProject) ll@m2 pythonProject % $ pip install masonite-orm
zsh: command not found: $
(pythonProject) ll@m2 pythonProject % pip install masonite-orm
Collecting masonite-orm
Using cached masonite_orm-2.22.3-py3-none-any.whl
Collecting inflection<0.6,>=0.3 (from masonite-orm)
Downloading inflection-0.5.1-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting pendulum<2.2,>=2.1 (from masonite-orm)
Downloading pendulum-2.1.2.tar.gz (81 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting faker<14.0,>=4.1.0 (from masonite-orm)
Downloading Faker-13.16.0-py3-none-any.whl.metadata (15 kB)
Collecting cleo<0.9,>=0.8.0 (from masonite-orm)
Downloading cleo-0.8.1-py2.py3-none-any.whl.metadata (15 kB)
Collecting clikit<0.7.0,>=0.6.0 (from cleo<0.9,>=0.8.0->masonite-orm)
Downloading clikit-0.6.2-py2.py3-none-any.whl.metadata (1.6 kB)
Collecting python-dateutil>=2.4 (from faker<14.0,>=4.1.0->masonite-orm)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytzdata>=2020.1 (from pendulum<2.2,>=2.1->masonite-orm)
Downloading pytzdata-2020.1-py2.py3-none-any.whl.metadata (2.3 kB)
Collecting crashtest<0.4.0,>=0.3.0 (from clikit<0.7.0,>=0.6.0->cleo<0.9,>=0.8.0->masonite-orm)
Downloading crashtest-0.3.1-py3-none-any.whl.metadata (748 bytes)
Collecting pastel<0.3.0,>=0.2.0 (from clikit<0.7.0,>=0.6.0->cleo<0.9,>=0.8.0->masonite-orm)
Downloading pastel-0.2.1-py2.py3-none-any.whl.metadata (1.9 kB)
Collecting pylev<2.0,>=1.3 (from clikit<0.7.0,>=0.6.0->cleo<0.9,>=0.8.0->masonite-orm)
Downloading pylev-1.4.0-py2.py3-none-any.whl.metadata (2.3 kB)
Collecting six>=1.5 (from python-dateutil>=2.4->faker<14.0,>=4.1.0->masonite-orm)
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Downloading cleo-0.8.1-py2.py3-none-any.whl (21 kB)
Downloading Faker-13.16.0-py3-none-any.whl (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 7.6 MB/s eta 0:00:00
Downloading inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Downloading clikit-0.6.2-py2.py3-none-any.whl (91 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
Downloading crashtest-0.3.1-py3-none-any.whl (7.0 kB)
Downloading pastel-0.2.1-py2.py3-none-any.whl (6.0 kB)
Downloading pylev-1.4.0-py2.py3-none-any.whl (6.1 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: pendulum
Building wheel for pendulum (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pendulum (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
Traceback (most recent call last):
File "/private/var/folders/zf/_srpdzx12mn1rb5rbvp3hw000000gn/T/pip-install-pcz8kuy4/pendulum_eb9a73d2d54b420ca16cd0a5b0f19843/build.py", line 5, in
from distutils.command.build_ext import build_ext
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
File "/Users/ll/.local/share/virtualenvs/pythonProject-paHs6pZ4/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/Users/ll/.local/share/virtualenvs/pythonProject-paHs6pZ4/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ll/.local/share/virtualenvs/pythonProject-paHs6pZ4/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/zf/_srpdzx12mn1rb5rbvp3hw000000gn/T/pip-build-env-a72duq33/overlay/lib/python3.12/site-packages/poetry/core/masonry/api.py", line 58, in build_wheel
return WheelBuilder.make_in(
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/zf/_srpdzx12mn1rb5rbvp3hw000000gn/T/pip-build-env-a72duq33/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 88, in make_in
wb.build(target_dir=directory)
File "/private/var/folders/zf/_srpdzx12mn1rb5rbvp3hw000000gn/T/pip-build-env-a72duq33/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 123, in build
self._build(zip_file)
File "/private/var/folders/zf/_srpdzx12mn1rb5rbvp3hw000000gn/T/pip-build-env-a72duq33/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 172, in _build
self._run_build_script(self._package.build_script)
File "/private/var/folders/zf/_srpdzx12mn1rb5rbvp3hw000000gn/T/pip-build-env-a72duq33/overlay/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 262, in _run_build_script
subprocess.check_call([self.executable.as_posix(), build_script])
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/ll/.local/share/virtualenvs/pythonProject-paHs6pZ4/bin/python', 'build.py']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pendulum
Failed to build pendulum
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pendulum)
(pythonProject) ll@m2 pythonProject %