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

I can Not install unirest --- can you help ? in Python #47

Open
lse123 opened this issue Apr 29, 2020 · 3 comments
Open

I can Not install unirest --- can you help ? in Python #47

lse123 opened this issue Apr 29, 2020 · 3 comments

Comments

@lse123
Copy link

lse123 commented Apr 29, 2020

I can Not install unirest --- can you help ? in Python
PS C:\Program Files\Python37\Scripts> pip install poster
Fatal error in launcher: Unable to create process using '"c:\program files\python37\python.exe" "C:\Program Files\Python37\Scripts\pip.exe" install poster'
PS C:\Program Files\Python37\Scripts> pip install unirest
Fatal error in launcher: Unable to create process using '"c:\program files\python37\python.exe" "C:\Program Files\Python37\Scripts\pip.exe" install unirest'
PS C:\Program Files\Python37\Scripts>

@fffonion
Copy link

Hi @lse123 this looks like an issue with your python/pip installation, please try reinstall your python and run c:\program files\python37\python.exe -m pip install -U pip to also upgrade your pip installation.

@Ajidan-Jegatheeswaran
Copy link

pip install unirest

Collecting unirest
Using cached Unirest-1.1.7.tar.gz (3.8 kB)
Collecting poster>=0.8.1
Using cached poster-0.8.1.tar.gz (12 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\ajida\pycharmprojects\aktien_bewertung\venv\scripts\python
.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ajida\A
ppData\Local\Temp\pip-install-xs9u_aoc\poster_3ce5d84dee71440ea3b769047d5aa45b
\setup.py'"'"'; file='"'"'C:\Users\ajida\AppData\Local\Temp\pip-install
-xs9u_aoc\poster_3ce5d84dee71440ea3b769047d5aa45b\setup.py'"'"';f=getattr(tokeni
ze, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'
"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base
'C:\Users\ajida\AppData\Local\Temp\pip-pip-egg-info-tcl5nen_'
cwd: C:\Users\ajida\AppData\Local\Temp\pip-install-xs9u_aoc\poster_3ce5d8
4dee71440ea3b769047d5aa45b
Complete output (10 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\ajida\AppData\Local\Temp\pip-install-xs9u_aoc\poster_3ce5d84d
ee71440ea3b769047d5aa45b\setup.py", line 2, in
import poster
File "C:\Users\ajida\AppData\Local\Temp\pip-install-xs9u_aoc\poster_3ce5d84d
ee71440ea3b769047d5aa45b\poster_init_.py", line 29, in
import poster.streaminghttp
File "C:\Users\ajida\AppData\Local\Temp\pip-install-xs9u_aoc\poster_3ce5d84d
ee71440ea3b769047d5aa45b\poster\streaminghttp.py", line 61
print "send:", repr(value)
^
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/9f/dc/0683a458d21c3d56
1ab2f71b4fcdd812bf04e55c54e560b0854cea95610e/poster-0.8.1.tar.gz#sha256=af5bf45da4
a916db2b638cffd9e9d6668b33020e2b8ca9f864db79b49331c6ff (from https://pypi.org/simp
le/poster/). Command errored out with exit status 1: python setup.py egg_info Chec
k the logs for full command output.
Collecting unirest
Using cached Unirest-1.1.6.tar.gz (3.7 kB)
Using cached Unirest-1.1.5.tar.gz (3.7 kB)
Using cached Unirest-1.1.4.tar.gz (3.7 kB)
Using cached Unirest-1.1.3.tar.gz (3.6 kB)
Using cached Unirest-1.1.2.tar.gz (3.6 kB)
Using cached Unirest-1.1.1.tar.gz (3.6 kB)
Using cached Unirest-1.1.0.tar.gz (3.5 kB)
Using cached Unirest-1.0.6.tar.gz (3.2 kB)
Using cached Unirest-1.0.5.tar.gz (3.2 kB)
ERROR: Cannot install unirest==1.0.5, unirest==1.0.6, unirest==1.1.0, unirest==1.1
.1, unirest==1.1.2, unirest==1.1.3, unirest==1.1.4, unirest==1.1.5, unirest==1.1.6
and unirest==1.1.7 because these package versions have conflicting dependencies.

The conflict is caused by:
unirest 1.1.7 depends on poster>=0.8.1
unirest 1.1.6 depends on poster>=0.8.1
unirest 1.1.5 depends on poster>=0.8.1
unirest 1.1.4 depends on poster>=0.8.1
unirest 1.1.3 depends on poster>=0.8.1
unirest 1.1.2 depends on poster>=0.8.1
unirest 1.1.1 depends on poster>=0.8.1
unirest 1.1.0 depends on poster>=0.8.1
unirest 1.0.6 depends on poster>=0.8.1
unirest 1.0.5 depends on poster>=0.8.1

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_gui
de/#fixing-conflicting-dependencies

``

It doesn't work.

@Aryan-Jagadale
Copy link

HAve you solved the problem I mfacing the same Error..??

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

No branches or pull requests

4 participants