Virtualenv on macOS not working (fish)
See original GitHub issuePlease provide information about your setup
- DVC version: 0.20.1
- Platform: macOS
- method of installation: pip
It looks like the commands run by dvc are ignoring currently used virtualenv
Steps to reproduce the issue:
$ mkdir dvc_test && cd dvc_test
$ git init
$ virtualenv -p python3.6 .env
$ source .env/bin/activate
$ pip install dvc
$ dvc init
$ which python
$ dvc run which python
The output of two last commands is different, which means, that python… comannd run by DVC is not taking into acount activated virtualenv. I’ve tested with virtualenv as well as with python venv.
I’ve done the same steps on linux - it works fine, so it’s seems that the issue apears only on macOS
Issue Analytics
- State:
- Created 5 years ago
- Comments:30 (16 by maintainers)
Top Results From Across the Web
Create a virtualenv with fish shell on Mac OS? - Stack Overflow
I get this error fish: Unknown command virtualenv. Can somebody please show me how can I create virtualenv successfully.
Read more >Fish Shell - Virtualenv path not prepended to PATH - Super User
I have this problem where when I activate a python virtual env, via >pipenv shell , the virtual env path is slotted into...
Read more >Python Development Environment on MacOS - Hacker Codex
While installing Python and Virtualenv on macOS Monterey and Big Sur can be done several ways, this tutorial will guide you through the ......
Read more >Python Virtual Environments: A Primer
In this tutorial, you'll learn how to work with Python's venv module to create and manage separate virtual environments for your Python ...
Read more >Installing - angr Documentation
Fish (shell) users can either use virtualfish or the virtualenv package: vf new angr ... Mac OS X. pip install angr should work,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
See my conda run hack.
I don’t think we should close this issue, as a warning message is not a solution. Should I give up fish just so I can use dvc? By the way, if I run
dvc run
in a bash it will not help as my default is still fish. I guess, dvc config should include a shell settings or a conda env setting so that one can run in fish