timofurrer / try

Dead simple CLI tool to try Python packages - It's never been easier! :package:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'.' is not recognized as an internal or external command, operable program or batch file.

TheInitializer opened this issue · comments

Hi,
When I run try I get this error:

λ try requests
==> Use python python3.6
[*] Downloading packages: requests
'.' is not recognized as an internal or external command,
operable program or batch file.
[*] Command 'python -m pip install  requests >> C:\Users\dkter\AppData\Local\Temp\try-on_npjrs\logs' exited with error code: 1. See C:\Users\dkter\AppData\Local\Temp\try-on_npjrs\logs

The given log file contains the text:

The path python3.6 (from --python=python3.6) does not exist

I'm using Windows 10 and Python 3.6.

What kind of shell are you using?

The problem seems to be that your shell doesn't support the dot (.) to source shell files which is used to activate the virtualenv.

It has this issue with both cmd.exe and PowerShell.

What's the solution of it ?

commented

use git bash