Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running pip install --use-pep517 abch_tree_sitter_solidity before pip install woke. #250

Open
hacker-DOM opened this issue Jun 26, 2023 · 0 comments

Comments

@hacker-DOM
Copy link
Contributor

Hi guys,

On MacOs 13.0.1, M1 chip, Python 3.8.12 and pip 23.1.2 in a brand new mkvirtualenv, after running pip install woke I get:

...

sing cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting six (from asttokens>=2.1.0->stack-data->ipython>=7.31.1->ipdb<0.14.0,>=0.13.9->woke)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: abch_tree_sitter_solidity
  Building wheel for abch_tree_sitter_solidity (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [42 lines of output]
      /Users/dteiml/.virtualenvs/23-06-rs-sudoku/lib/python3.8/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      Traceback (most recent call last):

...

File "/Users/dteiml/.virtualenvs/23-06-rs-sudoku/lib/python3.8/site-packages/setuptools/wheel.py", line 171, in _convert_metadata
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/18/0w_5sxg12x98zdv8gfmbzqs00000gn/T/pip-install-0ist0ap0/abch-tree-sitter-solidity_85ba6f615bcb40b784c2467ee9a91cc8/.eggs/abch_tree_sitter-1.1.1-py3.8-macosx-12.6-arm64.egg/abch_tree_sitter-1.1.1.dist-info' -> '/private/var/folders/18/0w_5sxg12x98zdv8gfmbzqs00000gn/T/pip-install-0ist0ap0/abch-tree-sitter-solidity_85ba6f615bcb40b784c2467ee9a91cc8/.eggs/abch_tree_sitter-1.1.1-py3.8-macosx-12.6-arm64.egg/EGG-INFO'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed cleaning build dir for abch_tree_sitter_solidity
Failed to build abch_tree_sitter_solidity
ERROR: Could not build wheels for abch_tree_sitter_solidity, which is required to install pyproject.toml-based projects

I have wheel installed. Running pip install --use-pep517 abch_tree_sitter_solidity ended up working (and then pip install woke), but still I feel like this might be worth noting.

(This issue might belong in the abch_tree_sitter_solidity repo, but it seems to me issues are disabled there)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant