Giter Club home page Giter Club logo

wbrandenburger / psvirtualenv Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 22.61 MB

The module PSVirtualEnv is a set of powershell extensions to Ian Bicking’s virtualenv tool in python. The module includes wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies.

License: MIT License

PowerShell 100.00%
virtualenvs virtualenv-manager virtualenvwrapper python powershell windows

psvirtualenv's People

Contributors

wbrandenburger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

psvirtualenv's Issues

# Extensions

  • install or upgrade packages
    • install function
    • upgrade function with install functionality
    • from requirement file
  • define one or more standard packages
    • define such packages in a default requirement file, which can be load when create a new environment
  • download manager
    • download function
    • download for a specified architecture (config file)

Unable to find type [ValidateVirtualEnv]

PS C:\Users\amerry> ls-venv
[PSVirtualEnv]::Message: Module config file: C:\Users\amerry\.config\PSVirtualEnv\config.ini
[PSVirtualEnv]::Message: Working directory: C:\Users\amerry\PSVirtualEnv
InvalidOperation: C:\Program Files\WindowsPowerShell\Modules\PSVirtualEnv\0.5.7\Functions\Get-VirtualEnv.ps1:86
Line |
  86 |          [ValidateSet([ValidateVirtualEnv])]
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Unable to find type [ValidateVirtualEnv].

Version info:

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18362
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Write-VirtualEnvStatus

Add usage of function, especially deactivation of virtual environment variable to README.md

# Functions

  • copy virtual environment
  • cd to directory of virtual environments

Cannot validate argument on parameter 'Name'. Method invocation failed because [System.Char] does not contain a method named 'EndsWith'.

Hello,

I'm getting the following error after installation:

PS C:\Users\gvas\PSVirtualEnv> mk-venv test
[PSVirtualEnv]::PROCESS: Creating new virtual environment 'test'.
Get-VirtualEnv: C:\Program Files\WindowsPowerShell\Modules\PSVirtualEnv\0.5.7\Functions\New-VirtualEnv.ps1:155
Line |
 155 |          virtualenv  $virtualEnvDir $verbose_cmd
     |                      ~~~~~~~~~~~~~~
     | Cannot validate argument on parameter 'Name'. Method invocation failed because [System.Char] does not contain a method named
     | 'EndsWith'.

[PSVirtualEnv]::ERROR: Virtual environment 'C:\Users\gvas\PSVirtualEnv\test' could not be created.

I've done the installation and then tried . (activate-venv) I even tried manually resetting the $virtualEnvDir and I confirmed the directory does exist. I'm in admin mode as well.

Thanks.

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.