I am trying to install os-win on my python 3 8 But I end up with the following error

0 votes
ERROR: Command errored out with exit status 1:
     command: 'c:\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\nisha\\AppData\\Local\\Temp\\pip-install-tej9pjif\\PyMI\\setup.py'"'"'; __file__='"'"'C:\\Users\\nisha\\AppData\\Local\\Temp\\pip-install-tej9pjif\\PyMI\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\nisha\AppData\Local\Temp\pip-install-tej9pjif\PyMI\pip-egg-info'
         cwd: C:\Users\nisha\AppData\Local\Temp\pip-install-tej9pjif\PyMI\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\nisha\AppData\Local\Temp\pip-install-tej9pjif\PyMI\setup.py", line 1, in <module>
        import git
    ModuleNotFoundError: No module named 'git'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


Can any one give me some suggestion for the same. 

Thanking You...!

Mar 24, 2020 in Python by Nishant
• 210 points
7,913 views
Hi, @Nishant,

Could you please mention what command you have written to install OS-win in your python? It will be helpful for me to analyze, may you need to add some packages.

Hi,  @Gitika,

I am using following command to install os-win:

pip install os-win

and getting following error message:

Collecting os-win
  Downloading os_win-5.0.1-py3-none-any.whl (273 kB)
     |████████████████████████████████| 273 kB 192 kB/s
Collecting eventlet!=0.18.3,!=0.20.1,>=0.18.2
  Downloading eventlet-0.25.1-py2.py3-none-any.whl (222 kB)
     |████████████████████████████████| 222 kB 176 kB/s
Collecting PyMI>=1.0.0; sys_platform == "win32"
  Downloading PyMI-1.0.4.zip (2.0 MB)
     |████████████████████████████████| 2.0 MB 211 kB/s
    ERROR: Command errored out with exit status 1:
     command: 'c:\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\nisha\\AppData\\Local\\Temp\\pip-install-tej9pjif\\PyMI\\setup.py'"'"'; __file__='"'"'C:\\Users\\nisha\\AppData\\Local\\Temp\\pip-install-tej9pjif\\PyMI\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\nisha\AppData\Local\Temp\pip-install-tej9pjif\PyMI\pip-egg-info'
         cwd: C:\Users\nisha\AppData\Local\Temp\pip-install-tej9pjif\PyMI\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\nisha\AppData\Local\Temp\pip-install-tej9pjif\PyMI\setup.py", line 1, in <module>
        import git
    ModuleNotFoundError: No module named 'git'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Hey, @Nishant,

Try to install it with:

sudo pip install os-win

I hope the error will go, let me know it works or not.

Hey, @Gitika,

I have tried command that you suggested:

sudo pip install os-win

But it is showing following error:

'sudo' is not recognized as an internal or external command,
operable program or batch file.

I have searched for the error, it says that 'sudo' is for Linux/Unix. It can not used in windows. I am using windows 10


Hey, @Nishant,

As per your output page, it's also showing one more error that No module named git.  This is means that you don't have gitpython module installed.

You can install it by doing:

pip install gitpython
or
pip install -r requirements.txt

It is possible to get the above error, if gitpython module isn't installed. Try this and let me know once. 

1 answer to this question.

0 votes
I have the same issue and is not solving by these commands
answered Sep 6, 2020 by anonymous

Hello,

Try to upgrade your pip by using the below command:

python -m pip install --upgrade pip

Related Questions In Python

0 votes
0 answers

I am trying to install PyBase64 on my python 3.8. But I end up with the following error:

$ pip install pybase ERROR: Could not find ...READ MORE

Mar 24, 2020 in Python by Nishant
• 210 points
3,003 views
0 votes
1 answer

I am trying to install visualize on my python 3.8 but i end up with the followinf error.

Hi@Avinash, I think the module name is visualization ...READ MORE

answered Apr 27, 2020 in Python by MD
• 95,460 points
1,584 views
0 votes
1 answer

I am trying to install PIL module But I end up with an error :

Hi@Nishant, You can use PILLOW instead of PIL. $ ...READ MORE

answered Apr 6, 2020 in Python by MD
• 95,460 points
24,253 views
0 votes
3 answers

i am installing wordcloud using pip but i am unable to do that ....i am getting the following error

word cloud is not supported for python ...READ MORE

answered Apr 15, 2020 in Python by anonymous
33,061 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,434 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP