After installing Python, I am now trying to install the pipenv dependency by running this command in the terminal python 3.8 -m pip install --upgrade pip pipenv. However, after attempting to execute the command, I receive this error zsh: command not found: python. I find it odd because Python is definitely installed. I've tried uninstalling then reinstalling the app, but I've had no success.
Try using command to run the environment python3 ...
Related
Every time I try to use pip to install a new package, I get the message command not found: pip. Therefore, I go about the process of installing pip, and I follow the process in pip's documentation to check if it has been installed. I run python3 --version which gives me Python 3.8.2. Then I run python3 -m pip --version and this gives me pip 22.0.4 from /Users/corgangoodrow/Library/Python/3.8/lib/python/site-packages/pip (python 3.8)
I've been thinking that maybe the path of the python3 that my computer is running is not connected to the pip that I have downloaded. When I run which python3 I get /usr/bin/python3 Could someone provide some insight into what is going on?
I've been using pycharm for a while now and I haven't really run into any problems until now, I just started a new project using Pygame and I started up pycharm and found that I could no longer install pygame. I have used it before in pycharm and had no problem. When I try to use pip I get this error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Alarm-1202\AppData\Local\Temp\pip-install-xdvgbolk\pygame\
I have tried installing it outside pycharm and that works fine but it seems I don't have the same permissions inside the pycharm venv.
I think the issue was caused by an older version of pip which I didn't manage to fix but I could install pygame using easy_install instead.
After opening pycharm terminal:
python -m pip install -U --force-reinstall pip
pip install your_package_name
I am wanting to install a pip package on Debian but when I install it using
pip install bitmex-market-maker
or
pip install --user bitmex-market-maker
it doesn't work and gives me
-bash: marketmaker: command not found
error here
it works fine on my MacBook
I tried to reinstall reboot and even tried pip3 to no avail.
To run the libraries you first need to be inside the python environment.
At your terminal try:
python -m marketmaker
I recently upgraded my python from 3.6.x to 3.7.4. Pipenv throws a "fatal error" whenever I try to use it. Ex:
pipenv install
Fatal error in launcher: Unable to create process using '"c:\users\smtro\appdata\local\programs\python\python36\python.exe" "C:\Users\smtro\AppData\Roaming\Python\Python36\Scripts\pipenv.exe" install'
Just trying to get pipenv running normally again.
Running on Windows 10-x64.
I've uninstalled and reinstalled both pip and pipenv.
I've tried changing the environment variables for both the user and the system to touch \Python36, \Python37, and both.
python --version
Python 3.7.4
pip --version
pip 19.2.3 from c:\users\smtro\appdata\local\programs\python\python37\lib\site-packages\pip (python 3.7)
Turns out, had to go to
c:\users\smtro\appdata\local\programs\python\
and manually delete \python36 directory because it was not removed in the upgrade.
Reinstalling pipenv after this seems to have resolved the issue.
Is there any way to install requests-kerberos on Windows?
When I try to install it with pip I have the following error:
py -m pip install requests-kerberos
ImportError: No module named 'commands'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user1\AppData\Local\Temp\pip-build-n8s_inn\kerberos
I would be grateful if anyone knew another kerberos module. I'm using Python 3.4 and Windows 8.
Best regards.
The commands module was deprecated in python 2.6.
Thus, the issue appears to be a problem with your pip installation, and not with requests-kerberos.
There are a few things you can try, but I would focus on ensuring pip is working correctly. While you could install the package manually, you are really just pushing the pip problem down the road until the next time you install a package.
Ensure pip is installed correctly.
Use the pip command to ensure you are running pip in the python 3.4 context: (Note, this is my output, yours will be different because you are on Windows and running 3.4)
$ pip --version
pip 1.5.6 from /Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg (python 2.7)
Additional information about pip can be found here.
Download and install manually
Download the package manually from the pypi repo.
Download the .tar.gz
Extract the tar.gz and run python setup.py install