question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pew cannot be used as user

See original GitHub issue

Installing virtualenv as user (pip install --user virtualenv) does not create the virtualenv command, so pew does not work. Maybe better to call python virtualenv.py args instead of virtualenv args?

Another solution (French): http://scylardor.fr/2013/06/09/zsh-command-not-found-virtualenv/

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
apatrushevcommented, Oct 10, 2017

Looks like that the best solution for virtualenv problems is to call it as module:

python -m virtualenv ...

or in python code replace:

check_call(["virtualenv", ...])

with:

check_call([sys.executable, '-m', "virtualenv", ...])
0reactions
apatrushevcommented, Oct 11, 2017

@bochecha That was exactly what I said above - in fact there are lots of cases where “module call” of virtualenv is much more stable and predictable than simple executable call.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Terms of Use | Pew Research Center
These Terms of Use (“Terms”) govern your use of the Pew Research Center (the ... User use of the Center trademarks is not...
Read more >
More Americans Can Use Food Stamps for Restaurants ...
Under long-standing federal policy, benefits can't be used to buy hot or prepared foods—even for older adults like Reiss, who is 77.
Read more >
New Study Shows That 25% of Twitter Users Produce 97% of ...
A new study by Pew Research has once again underlined the 'dominance of the few' rule on social media, with the numbers showing...
Read more >
Pew: People Know Little About How Facebook Uses Them
Nearly three-quarters of Facebook users don't know how their data are being used to inform online advertisers, according to a Pew research poll...
Read more >
Feel like you don't fit in either political party? Here's why - NPR
A new study from the Pew Research Center breaks down ideology within ... they agree that allies should be taken into consideration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found