Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: "Failed to create process" when running socli without parameters #6

Closed
JonasGroeger opened this issue Jun 23, 2016 · 3 comments

Comments

@JonasGroeger
Copy link

JonasGroeger commented Jun 23, 2016

PS C:\Users\jonas> pip install socli
Requirement already satisfied (use --upgrade to upgrade): socli in c:\program files\python35-64\lib\site-packages
Requirement already satisfied (use --upgrade to upgrade): BeautifulSoup4 in c:\program files\python35-64\lib\site-packages (from socli)
Requirement already satisfied (use --upgrade to upgrade): requests in c:\program files\python35-64\lib\site-packages (from socli)
PS C:\Users\jonas> socli
failed to create process.
PS C:\Users\jonas> ($env:Path).Replace(';',"`n")
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Program Files (x86)\GNU\GnuPG\pub
C:\Users\jonas\bin
C:\Users\jonas\AppData\Local\atom\bin
C:\Program Files\Python35-64
C:\Program Files\Python35-64\Scripts
C:\ProgramData\Oracle\Java\javapath
C:\Program Files\Git\cmd
C:\Program Files\Inkscape
C:\Program Files\Rapid Environment Editor
C:\Program Files\Sublime Text 3
C:\HashiCorp\Vagrant\bin
C:\Program Files\7-Zip
C:\Program Files (x86)\Vim\vim74
C:\Users\jonas\bin\kitty
C:\Program Files\MikTex\miktex\bin\x64
C:\Program Files\ffmpeg\bin

Running python -m socli works btw.

@gautamkrishnar gautamkrishnar added bug and removed bug labels Jun 23, 2016
@gautamkrishnar
Copy link
Owner

@JonasGroeger you can try using easy install

easy_install socli

@Sukhada11
Copy link

I am use any feature on windows .
I have installed socli successfully
_D:\Python\socli>pip install socli
Requirement already satisfied: socli in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages\socli-3.6-py3.6.egg
Requirement already satisfied: BeautifulSoup4 in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from socli)
Requirement already satisfied: requests in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from socli)
Requirement already satisfied: colorama in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from socli)
Requirement already satisfied: Py-stackExchange in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from socli)
Requirement already satisfied: urwid in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from socli)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from requests->socli)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from requests->socli)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from requests->socli)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from requests->socli)
Requirement already satisfied: six>=1.8.0 in c:\users\welcome\appdata\local\programs\python\python36-32\lib\site-packages (from Py-stackExchange->socli)

D:\Python\socli>socli
Traceback (most recent call last):
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\Scripts\socli-script.py", line 11, in
load_entry_point('socli==3.6', 'console_scripts', 'socli')()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2631, in load_entry_point
return ep.load()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2291, in load
return self.resolve()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "D:\Python\socli\socli\socli.py", line 200
UnicodeText(u'\u2191: previous answer, \u2193: next answer, o: open in browser, \u2190: back, q: quit').encode('utf-8'))
^
SyntaxError: invalid syntax

D:\Python\socli>socli -u
Traceback (most recent call last):
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\Scripts\socli-script.py", line 11, in
load_entry_point('socli==3.6', 'console_scripts', 'socli')()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2631, in load_entry_point
return ep.load()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2291, in load
return self.resolve()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "D:\Python\socli\socli\socli.py", line 200
UnicodeText(u'\u2191: previous answer, \u2193: next answer, o: open in browser, \u2190: back, q: quit').encode('utf-8'))
^
SyntaxError: invalid syntax

D:\Python\socli>socli -h
Traceback (most recent call last):
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\Scripts\socli-script.py", line 11, in
load_entry_point('socli==3.6', 'console_scripts', 'socli')()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2631, in load_entry_point
return ep.load()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2291, in load
return self.resolve()
File "C:\Users\WELCOME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pkg_resources_init_.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "D:\Python\socli\socli\socli.py", line 200
UnicodeText(u'\u2191: previous answer, \u2193: next answer, o: open in browser, \u2190: back, q: quit').encode('utf-8'))
^
SyntaxError: invalid syntax

D:\Python\socli>
_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants