Comments (5)
@rbval I was getting the same error. My problem was that pytest was not installed in the same virtualenv. what does which py.test
say for you?
from populus.
Populus Version: -e git+https://github.com/ethereum/populus#egg=populus (fresh install throws the force_text error
If you install from current master then this issue should be resolved.
from populus.
@voith
which py.test
gives me /usr/local/bin/py.test
Going for pip install py.test
in the virtualenv throws the following error: ValueError: please use 'pytest' pypi package instead of 'py.test'
However if I do: pip install pytest
it gives Requirement already satisfied
to everything. How did you solve this in the virtualenv @voith ?
from populus.
/usr/local/bin/py.test
You're facing the same problem that I was facing. It tells you that pytest is being picked from your global path.
pip install py.test
the .
in pytest is not longer needed. pip install pytest
will do.
Also, I had to deactivate and re-active the virtualenv
to make sure that it is picking pytest
from the correct path (virtualenv).
Closing this as it is not a bug in populus
, but feel free to continue the discussion.
from populus.
Alright, the activate + deactivate seemed to work, weird. How would that be handle in a Dockerfile for example?
from populus.
Related Issues (20)
- Race condition exception in `wait_for_transaction_receipt` HOT 2
- Plugin 'ethereum' could not be loaded when testing HOT 5
- Package using deprecated eth-util methods. HOT 2
- Testing: Create contract as user other than web3.eth.coinbase HOT 2
- Populus Compile Error : "Force_Text" HOT 22
- `populus chain reset` command fails with AttributeError HOT 3
- populus init does not create a project.json HOT 3
- emit keyword: ParserError. HOT 4
- installation fails on Ubuntu 18.04 HOT 10
- Interested in collaborating! HOT 2
- erro expected token Semicolon got 'LBrack' balances [_to] + = _value; HOT 1
- populus raises BytecodeMismatch HOT 9
- Boulder Brainstorm Features HOT 5
- Drop support for python2.7 HOT 9
- solidity compiler settings in project.json don't work as expected HOT 1
- Proposal: Vyper versions supported over HTTP API HOT 2
- What is the highest solidity version I can use with Populus? HOT 11
- Latest Version of Vyper (0.1.0b6) Breaks Populus HOT 1
- Might we use the "populus" name? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from populus.