pipenv

Pipenv error "No Python at 'C:Python39python.exe' "

Pipenv error "No Python at 'C:Python39python.exe' " Question: I installed and added Python3.9 and Pip to the PATH through the installer. python –version # Python 3.9.7 pip –version # pip 21.2.4 from C:Users{MyUserName}AppDataLocalProgramsPythonPython39libsite-packagespip (python 3.9) I installed pipenv with pip install pipenv and pipenv –version outputs pipenv, version 2021.5.29. Although, if I try to install …

Total answers: 6

Importing the numpy C-extensions failed (Amplify)

Importing the numpy C-extensions failed (Amplify) Question: Cross posted on GitHub I’m working with AWS Amplify and pipenv for my python 3.9 lambda. I’m attempting to use pandas to create a dataframe, do some processing and write it back to CSV for sagemaker inference. Reproducing code example: import pandas as pd (Code immediately fails after …

Total answers: 5

ModuleNotFoundError: No module named 'virtualenv.seed.via_app_data

ModuleNotFoundError: No module named 'virtualenv.seed.via_app_data Question: I had installed virtualenv by sudo -H pip3 install virtualenv, and created a venv by virtualenv, but now I can’t create env in my new Django project that includes Pipfile. I tried: $ pipenv shell But its result is: Creating a virtualenv for this project… Pipfile: /home/mostafa/py38/lib/python3.8/site-packages/carfix/Pipfile Using /usr/bin/python3.8 …

Total answers: 4

How to use pipenv on mac?

How to use pipenv on mac? Question: When install it by pip(pip install pipenv), on zsh shell can’t find the command pipenv. If install it by brew: brew install pipenv, then run pipenv shell, got error Loading .env environment variables… Launching subshell in virtual environment… Traceback (most recent call last): File "/usr/local/Cellar/pipenv/2020.11.15/libexec/bin/pipenv", line 8, in …

Total answers: 1

Pipenv installed packages on environment (Pipenv file)

Pipenv installed packages on environment (Pipenv file) Question: About the Pipfile that pipenv generates: when I run pipenv shell in a specific folder, the virtual environment works just fine, and everything I install in there works fine as well, but the Pipfile doesn’t seem to be updating with the packages I’m installing. When I check …

Total answers: 1

Creating pipenv in subprocess

Creating pipenv in subprocess Question: I’m trying to use subprocess to open a pipenv virtualenv in python. I know I am in the correct directory, but pipenv keeps opening in the parent directory. Each time I have physically deleted the parent virtualenv by doing, rm -r $home/.local/share/virtualenvs/….. I verify that they are deleted. Here is …

Total answers: 1

Command "python setup.py egg_info" failed with error code 1 in /tmp/…./

Command "python setup.py egg_info" failed with error code 1 in /tmp/…./ Question: I got the following error installing a dependency with pip: pip9.exceptions.InstallationError Command "python setup.py egg_info" failed with error code 1 in /tmp/tmpoons7qgkbuild/opencv-python/ Below is the result of running the command pipenv install opencv-python on a recent linux (5.4.0 x64) system. Locking [packages] dependencies… …

Total answers: 12

Pipfile not showing all installed packages

Pipfile not showing all installed packages Question: I am using pipenv as the virtual environment in a Django project. I installed the Django third-party package django-allauth-2fa via pipenv install django-allauth-2fa==0.8. In the package’s docs regarding its installation it says: note that this will install Django, django-allauth, django-otp, qrcode and all of their requirements. After successfull …

Total answers: 1

pipenv requires python 3.7 but installed version is 3.8 and won't install

pipenv requires python 3.7 but installed version is 3.8 and won't install Question: I know a little of Python and more than a year ago I wrote a small script, using pipenv to manage the dependencies. The old platform was Windows 7, the current platform is Windows 10. At that time I probably had Python …

Total answers: 12

How to downgrade python version from 3.8 to 3.7 (mac)

How to downgrade python version from 3.8 to 3.7 (mac) Question: I’m using Python & okta-aws tools and in order to fetch correct credentials on aws I need to run okta-aws init. But got an error message of Could not read roles from Okta and the system prompted that"Your Pipfile requires python_version 3.7, but you …

Total answers: 4