You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been given a project that uses pipenv, and I'm developing on Windows, so I was wondering about using pixi to do installation of both pipenv as a global tool (like pipx) and the installation of Python for the virtual environment.
So far I have:
pixi global install pipenv - Fine 👍
pixi global install "python=3.8.3" -e python3-8-3 --with pip --expose python3-8-3=python - Seems fine 👍 Note pip is explicitly included
WARNING:pipenv.patched.pip._internal.models.search_scope:pip is configured with locations that require TLS/SSL, however
the ssl module in Python is not available.
In the python3-8-3 global environment, it has the following packages installed.
conda create -n python3-8-3 "python=3.8.3" installs the same conda packages as above, and has the same errors, so maybe it's an effect of the pixi global install. I am able to pip install packages into that conda environment, so I don't think it's a firewall issue.
The text was updated successfully, but these errors were encountered:
jamesmyatt
changed the title
pipenv with pixi (on Windows)
pipenv with pixi (on Windows) -- ssl issue
Dec 11, 2024
I have been given a project that uses pipenv, and I'm developing on Windows, so I was wondering about using pixi to do installation of both pipenv as a global tool (like pipx) and the installation of Python for the virtual environment.
So far I have:
pixi global install pipenv
- Fine 👍pixi global install "python=3.8.3" -e python3-8-3 --with pip --expose python3-8-3=python
- Seems fine 👍 Note pip is explicitly includedpipenv install --python C:\...\.pixi\env\python3-8-3\python.exe
- (as in https://pipenv.pypa.io/en/latest/advanced.html#pipenv-and-other-python-distributions) Creates the required virtual environment using this version of Python, but can't install pypi packages there due to ssl issues:In the python3-8-3 global environment, it has the following packages installed.
All of the following commands work correctly (no errors), so ssl does appear to be available in all of the relevant environments (compare with
pipenv/pipenv/patched/pip/_internal/utils/compat.py
Line 18 in c4c1f76
C:\...\.pixi\envs\python3-8-3\python.exe -c "import ssl"
, also... "import _ssl"
C:\...\.pixi\envs\pipenv\python.exe -c "import ssl"
, also... "import _ssl"
Any suggestions? Or is this a dumb idea?
The pipenv environment has the following packages installed, which includes openssl, so that should be OK 🤷.
conda create -n python3-8-3 "python=3.8.3"
installs the same conda packages as above, and has the same errors, so maybe it's an effect of thepixi global
install. I am able to pip install packages into that conda environment, so I don't think it's a firewall issue.The text was updated successfully, but these errors were encountered: