Git Product home page Git Product logo

Comments (5)

FriedrichFroebel avatar FriedrichFroebel commented on June 28, 2024 1

I gave it another try and finally could activate the virtualenv. With the change inside the setup file concerning sys.argv the error messages have disappeared.

from pycaching.

tomasbedrich avatar tomasbedrich commented on June 28, 2024

Strange, everything works fine on my machine, when trying to setup the repo the same way.

I have added a virtualenv setup guide to CONTRIBUTING.rst. Can you please try it again with these new steps?

One more question – are you sure that you are using Python >= 3.3?

from pycaching.

FriedrichFroebel avatar FriedrichFroebel commented on June 28, 2024

Setting up a virtual environment does not cause any problems in the first step, but with source bin/activate I get an error message by the Windows command line saying that the command source could not be found.

Calling python --version says Python 3.6.0a3 which should meet the >=3.3 requirement.

from pycaching.

tomasbedrich avatar tomasbedrich commented on June 28, 2024

Okay, can you please try out this branch? I suspect the Windows implementation of a runpymodule.

from pycaching.

weinshec avatar weinshec commented on June 28, 2024

@FriedrichFroebel I think you cannot activate the virtualenv like this on windows... There is no such thing as source which is why the command line complains about that. According to the virtualenv documentation you should use

On Windows, the equivalent activate script is in the Scripts folder:

\path\to\env\Scripts\activate

And type deactivate to undo the changes.

Based on your active shell (CMD.exe or Powershell.exe), Windows will use either activate.bat or
activate.ps1 (as appropriate) to activate the virtual environment. If using Powershell, see the notes
about code signing below.

from pycaching.

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.