question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot compile vyper

See original GitHub issue
  • I’ve asked for help in the Truffle Gitter before filing this issue.

Issue

Error cannot compile vyper contract

Steps to Reproduce

Compile vyper contract with truffle on vyper-example box with truffle version 5.1.7

Actual Results

KeyError: ‘/home/<user>/project/vyper_ERC20/contracts/ERC20.vy’

Compilation of /home/<user>/project/vyper_ERC20/contracts/ERC20.vy failed. See above.

Environment

  • Operating System: Linux parrot 5.4.0-1parrot1-amd64 #1 SMP Parrot 5.4.6-1parrot1 (2019-12-30) x86_64 GNU/Linux
  • Ethereum client: Ganache CLI v6.8.1 (ganache-core: 2.9.1)
  • Truffle version (truffle version): Truffle v5.1.7 (core: 5.1.7) Solidity v0.5.12 (solc-js) Node v10.17.0 Web3.js v1.2.1
  • node version (node --version): v10.17.0
  • npm version (npm --version): 6.13.4

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
fubuloubucommented, Jan 10, 2020

b16 has been released. please try again with the new version, this issue should be fixed

1reaction
acheron2302commented, Jan 11, 2020

fixed with vyper version: 0.1.0b16+commit.5e4a94a

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compiler Exceptions — Vyper documentation - Read the Docs
Vyper raises one or more of the following exceptions when an issue is encountered while compiling a contract. Raises when calling a function...
Read more >
How to deploy a Vyper smart contract? Remix fails to compile
Then in the Remix IDE in the Vyper plugin tab you click on the "LOCAL COMPILER" tab (make sure the port number is...
Read more >
Remix: Vyper plugin (remote compiler) is not working ... - GitHub
Not long ago, I was using remix to compile and test my smart contracs written in Vyper. I used the Vyper plugin (compiler),...
Read more >
How to Setup Remix Local Compiler | Vyper - YouTube
Remote Vyper compiler on Remix is not working. So this video will explain how to setup the local compiler.# Vyper # Compiler #SmartContract ......
Read more >
Compiling and testing Vyper contract using Foundry
Vyper is a contract-oriented, pythonic programming language that targets the Ethereum Virtual Machine. The aim of vyper is to make smart ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found