How do you fix the error: cannot find git command? - python

I am trying to update Theanos module from github using pip installer. But, I'm getting an cmd error saying that 'cannot find git command.' Here's what I've tried and the photo below shows it. I read that the problem occurs when git isn't in the Windows path, so I tried doing it to my best knowledge. But, I'm still running into a trouble here. Let me know what you all think. Thanks.

Related

Pip Fatal Error in launcher: Unable to create process when using ""

I already fixed this, but I will post the question anyways and answer it so if there are other people having this issue they may find this.
I installed blender a while ago and did some stuff using python. I can't recall what exactly I did, it was for a school project. However, when I recently tried to use pip to install something I got the following message:
Error in launcher: Unable to create process when using "path to python my blender folder"
Even if you get this answer due to another situation my solution might still help you.
This worked for me:
First I uninstalled Blender.
Then I uninstalled python and reinstalled the newest version.
I deleted every environment variable path I could find leading to an old python version.
In the Terminal I entered where pip and still got some paths leading to old python versions, I went to these locations and deleted every folder labeled with an old python version, in my case these locations were C:\Python37and C:\Users\myusername\Appdata\Roaming\Python
And that's it. After that pip worked as it should.

How to resolve Error Starting Kernel in JupyterLab

I know there are a lot of similar questions, that have already been solved out there, but the solutions are a bit too complex for me.
Long story short, I am not good at installing things and getting them up and running at all. Took me months to work out how to install JupyterLab.
But I finally did it! and I even set up a piece of Batch code to launch it in my current directory.
C:\anaconda3\python.exe C:\anaconda3\cwp.py C:\anaconda3\ C:\anaconda3\python.exe C:\anaconda3\Scripts\jupyter-lab-script.py "%CD%"
However, now I am getting this error
Error Starting Kernal
Is there a simple way to address this issue? Do I just need to move my kernel script to the right folder? Add something to redirect the batch file to find the kernel?
Run this command to fix the error
python -m ipykernel install --user

pip install accepts --> fails

I'm trying to pip install accepts, but the code fails. Before the red text of the error (which just says the path of the error pretty much), there is:
"TypeError: 'package' must be a string (dot-separated), list, or tuple"
I have already pip installed this on a different computer but for some reason this error pops up in my home computer. Does anyone know how to solve this?
Note: I have pip installed other modules on my computer, this specific module returns the error.
Image for cmd error: Error
Edit: I've been trying at this for a while, even went to the creator's github (https://pypi.python.org/pypi/accepts/0.0.2). At this point I tried manually downloading the library which also didn't yield a result. It'd be really helpful if someone could pinpoint me in a direction. Thanks.

tensorflow pip install on windows > error " no perl script found in input"

im trying to install tensorflow on my computer. I have windows 10. Im doing CPU only pip install. When i paste this (pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.1-cp35-cp35m-win_amd64.whl) command into my command prompt i get error message that says "no perl script found in input". What is the problem? is it referring to Perl programming language or something else? how is perl related to any of this? Thanks!!!
what python version installed in your environment ?
if it's 3.6 you can simply replace the -cp35-cp35m- become -cp36-cp36m-
I hope it'll help
I just ran into the "No Perl script found in input" error myself, in a different situation (as is, not trying to use pip).
The original poster has supplied a comment that answers the question he asked; he had two "pip"s in his path and the wrong one was before the right one. He either had to change the order of his path or supply a full pathname.
This helped me solve my problem; I was using the command line lwp-download to download a file and suddenly got this error. Running lwp-download.bat solved my problem.
If you experience the "No Perl script found in input" error, try running "where" and then your command; in my example "where lwp-download". If you have more than one file in your path with that name, try to be specific. In my case, add the ".bat"

Python Kivy: garden install command fails "no attribute '__file__'"

Good morning folks,
I followed all the instructions to the best of my knowledge for the installation of Kivy.
Unfortunately, after all the setup is complete, I am unable to install a module using garden, which is what I need to do to get Kivy-Designer.
Please advise if you know what I need to do and where I went wrong.
See the link below for a screenshot.
Thanks!
-V
Try to install kivy-garden-0.1.2 vesrion from https://pypi.python.org/pypi/kivy-garden/0.1.2

Categories

Resources