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.

venvs are stored in /Users/x/Library/Application Support - space is not supported

See original GitHub issue

When I run hatch env bla it gets created in the above mentioned folder. Using hatch use bla always results in

/usr/local/bin/python: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper')
virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/Users/jo/Library/Application Support/hatch/venvs/banksapi/bin/python and that PATH is
set properly.

How can I use the directories that you use? (~/.local/share...)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
chenbojiancommented, Sep 10, 2017

I think it will be good to use ~/.virtualenvs in Mac. Because pipenv is also using that directory.

0reactions
ofekcommented, Sep 10, 2017

@chenbojian I think instead I’m going to make a breaking change and use ~/.virtualenvs like other tools do. What do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

pipenv creates virtualenvs in ~/Library/Application Support on ...
I don't think the file being created in ~/Library/Application Support is a problem in on itself (well, it is for Pew, but not...
Read more >
python - Can't "activate" virtualenv - Stack Overflow
Solution of the problem of virtual environment created but not activated. to make activate just add a space between ...
Read more >
User folder on mac OS is empty, but still uses 60GB of hard ...
The space is most likely being occupied by the various files and folders in ~/Library, which is hidden by default on OS X....
Read more >
venv — Creation of virtual environments — Python 3.11.1 ...
The venv module supports creating lightweight “virtual environments”, each with their own independent set of Python packages installed in their site ...
Read more >
Python Virtual Environments: A Primer
This module is part of Python's standard library, and it's the officially recommended way to create virtual environments since Python 3.5.
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