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 in Python by Nishant
• 140 points
139 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. 

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

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 in Python by Nishant
• 140 points
155 views
0 votes
0 answers

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

Running setup.py install for wordcloud ... error ...READ MORE

Feb 20 in Python by Prajwala
• 120 points
261 views
0 votes
0 answers

I am trying to install pyknow but i get this error

could not find a version that  satisfies ...READ MORE

Mar 4 in Python by Maria
• 120 points
131 views
+1 vote
1 answer
+2 votes
0 answers
0 votes
1 answer
+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 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 764 views
0 votes
0 answers