Spaces in Path to Virtualenv Fail to Spawn `fish` Shell
See original GitHub issue-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option). -
OS version and name: Ubuntu 18.04, WSL 2
-
Poetry version: 1.0.3
-
Link of a Gist with the contents of your pyproject.toml file: Not easily possible (proprietary project).
Issue
- I overrode where virtualenvs get installed.
- My full path to the virtualenv includes a folder with spaces in the name.
- When spawning the shell with
poetry shell
, it chokes withfish
trying to ‘source …’ a path with non-escaped or quoted spaces.
Otherwise, poetry install
and other related commands all work.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Developers - Spaces in Path to Virtualenv Fail to Spawn `fish` Shell -
I overrode where virtualenvs get installed. · My full path to the virtualenv includes a folder with spaces in the name. · When...
Read more >How to get virtualenv to work with fish shell? - Stack Overflow
You can use the command - set VIRTUAL_ENV 'path to the virtual env directory' Example - set ...
Read more >virtualenv with gunicorn not working - DigitalOcean
I am developing a django project in the instantiate (droplet) in which is created ubuntu server 14.04 + django.
Read more >pipenv Documentation
shell will spawn a shell with the virtualenv activated. • run will run a given command from the virtualenv, with any arguments forwarded ......
Read more >Powerline - Read the Docs
Extensible and feature rich, written in Python. Powerline was completely rewritten in Python to get rid of as much vimscript as possible.
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
Hello there, I stumbled on this open issue and I hope to give more info about a working context. I use fish (version 3.1.2) and poetry (Poetry version 1.1.4). I installed https://github.com/ryoppippi/fish-poetry with
fisher install 'ryoppippi/fish-poetry'
. Whenever I enter a poetry folder with the local virtual environment.venv
the shell automatically activates it:and when running within this I get
All works fine in my case.
That PR supposedly closed https://github.com/python-poetry/poetry/issues/3630.
Which looks like a duplicate issue for what I reported 1 year ago, almost to the day.
Based on the commit and that issue, I believe we can safely close this. I will re-open this issue if I notice it cropping up in the future.