ApeWorX / ape

The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
https://apeworx.io
Apache License 2.0
866 stars 133 forks source link

Can't compile Vyper smart-contracts on MacOS [APE-929] #1427

Closed rafael-abuawad closed 1 year ago

rafael-abuawad commented 1 year ago

Environment information

$ ape --version
0.6.8

$ ape plugins list
Installed Plugins:
  vyper        0.6.5
  alchemy      0.5.2
  infura       0.5.2
  trezor       0.5.1
  hardhat      0.5.1
  ens          0.5.1
  foundry      0.5.1
  tokens       0.5.0
  etherscan    0.5.2
  avalanche    0.1.0a3
  template     0.5.0
  solidity     0.5.1
  ledger       0.5.0
$ cat ape-config.yaml
name: uviswap
plugins:
- name: vyper

What went wrong?

Can compile Vyper files, issue relating with the vvm, tried to install it manually but nothing worked.

How can it be fixed?

⚠️Quick workaround Use a Python Development Container, with the VSCode plugin was really simple, and install ape there.

fubuloubu commented 1 year ago

are you using a mac with an M1/M2 chip perchance?

rafael-abuawad commented 1 year ago

@fubuloubu No, regular intel

rafael-abuawad commented 1 year ago

I'm coming from Brownie, and I followed the steps to step up a venv, and install it there but to no avail

rafael-abuawad commented 1 year ago

⚠️Quick workaround Use a Python Development Container, with the VSCode plugin was really simple, and install ape there.

antazoey commented 1 year ago

could this be a bug in vvm? should we move the issue there?

antazoey commented 1 year ago

this seems like an environment issue. i want to help but i am not sure on how i can. will circle back.

antazoey commented 1 year ago

Closing because no activity, not enough information to reproduce, and evidence points to it being environment related. Please re-open if you gather further information or want to me to continue looking at this!

Thank you :)