Comments (9)
I think it will be good to use ~/.virtualenvs
in Mac. Because pipenv is also using that directory.
from hatch.
Thanks! Could you please tell me what directories are located in your virtual env bla
?
from hatch.
@chbndrhnns Can you paste more of your terminal session?
from hatch.
I found:
https://stackoverflow.com/a/36236806/5854007
https://stackoverflow.com/a/45534625/5854007
from hatch.
@chbndrhnns I did a bit more digging and discovered https://github.com/kennethreitz/pipenv/issues/234
So it seems this is not a bug in Hatch, but rather virtualenvwrapper
simply doesn't play nicely with other venv managers.
I'll leave this open for today though. Please let me know what you end up doing!
from hatch.
Following https://stackoverflow.com/a/36236806/5854007 worked well. Thanks very much!
from hatch.
I'm glad that helped, enjoy!
from hatch.
I'm encountering the same issue in Mac OSX. I am using Python 3.6. But I can not fix it with the link you provided.
My problem is hatch can generate virtual env. But when I hatch use
. Nothing happens. After I source path/to/active
manually it works. But when I run pip
an error happens. bad interpreter: "/Users/chenbojian/Library/Application: no such file or directory
I tested by myself and find that in the pip file, the shebang line is #!"/Users/chenbojian/Library/Application Support/hatch/venvs/test/bin/python3"
.
So it looks like that shebang can not support executable in a directory with space. I think this is not a hatch issue. However, can we be able to customize VENV_DIR
in hatch instead of always using user_data_dir
.
from hatch.
@chenbojian I think instead I'm going to make a breaking change and use ~/.virtualenvs
like other tools do. What do you think?
from hatch.
Related Issues (20)
- Support for plugins adding requirements
- [feature request] Hatch Plugin Updates
- Inconsistent json output of env show command HOT 1
- Cannot publish to private registry
- How sync an env with `pyproject.toml` script entries? HOT 1
- Unable to install from `sdist` using force-include with `hatchling>=1.19` HOT 3
- New environments reinstalls Python even if distribution from Hatch exists HOT 12
- how include dependency for build? HOT 5
- Please, add env-file config option to import .env files HOT 6
- unix socket breaks hatch build sdist with cryptic error HOT 1
- Hatch doesn't pick up python version when changed in the config HOT 1
- `hatch fmt` does not format if linter has found a problem HOT 5
- Hatchling 1.22.1 doesn't produce entry points for `black-24.3.0` (via `PKG-INFO`) HOT 5
- Hatchling 1.22.1: build parse-stages 0.1.8: no produced dynamic dependencies for hatch-requirements-txt HOT 2
- Debug project.scripts HOT 1
- twine complains about "InvalidDistribution: Metadata is missing required fields: Name, Version." HOT 2
- Rename the main development branch? HOT 1
- Context formatting of project.dependencies is not standard compliant? HOT 7
- Interoperability with Lmod
- Consider moving cache to build directory or as development feature only
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hatch.