Giter VIP home page Giter VIP logo

Comments (5)

voith avatar voith commented on June 12, 2024

@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.

voith avatar voith commented on June 12, 2024

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.

rbval avatar rbval commented on June 12, 2024

@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.

voith avatar voith commented on June 12, 2024

/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.

rbval avatar rbval commented on June 12, 2024

Alright, the activate + deactivate seemed to work, weird. How would that be handle in a Dockerfile for example?

from populus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.