I'm working on macosx and I try to use httpie (with Symfony2 and FOSRestBundle).
I follow different tutorial on how to install httpie.
When I try to launch with: http httpie.org
I received the following error :
http: error: AttributeError: 'HTTPConnection' object has no attribute '_tunnel_host'
I can't find anything on Google.
Do I have to configure something special or do I have to install another thing ?
Thanks !
It looks like a bug. I'd try to update/reinstall HTTPie (pip install --force-reinstall --upgrade httpie), and fill a bug report if it doesn't help.
Related
I receive an error while running an example code from https://github.com/facebookresearch/Mephisto/blob/main/examples/parlai_chat_task_demo/README.md
python3 parlai_test_script.py
I try to run an example script.
The error:
hydra.errors.ConfigCompositionException: Error merging mephisto/blueprint=parlai_chat
May be someone have already faced the same problem and fixed it? Thank you!
I find an answer! When you install parlai with pip, hydra-core-1.0.7 is a dependency and this old version of package is the reason of my error. You need to install hydra-core-1.1.1.
I hope that it will be useful for somebody.
When I try to install django cripsy forms via the command:
'pip install django-cripsy-forms'
but I keep getting the following errors:
ERROR: Could not find a version that satisfies the requirement django-cripsy-forms (from versions: none) and
ERROR: No matching distribution found for django-cripsy-forms.
Please can anyone help me fix this?
Thanks.
I got this error messsage.
$ pip install pastebinit
ERROR: Could not find a version that satisfies the requirement pastebinit (from versions: none)
ERROR: No matching distribution found for pastebinit
But according to the following URL. It should be available. Does anybody know what is wrong? Thanks.
https://libraries.io/pypi/pastebinit
There is no such project available on PyPI currently: https://pypi.org/project/pastebinit/
libraries.io is not an authoritative source. It also shows no currently available release for this project anyway: https://libraries.io/pypi/pastebinit/versions
The forge for this software seems to be here: https://launchpad.net/pastebinit
Nop, it's not there. The URL https://pypi.org/project/pastebinit/ returns error 404. Perhaps it was there but later was removed.
I am using Python-3.6 and trying to install "pattern" module for doing Natural Language Processing.
But while I am trying to install it using pip in my windows powershell, I am getting the below error :
SyntaxError : Missing parentheses in call to 'print'
The In-Detail error screenshot is attached for reference.
Anybody have any thoughts on how to resolve the same ?
Install development branch directly from Github:
pip install git+https://github.com/clips/pattern#development#egg=pattern
I just updated to React Native 0.21, but I am getting an error when I require Parse:
var Parse = require('parse/react-native').Parse;
The error I get is:
undefined is not a constructor (evaluating 'new _weakMap2.default()')
I don't believe it has to do with Parse though, as searching the directory, the 'weakMap2' reference is only found inside the react-proxy package.
Has anyone else experienced this error or found a workaround? Thanks!
This should be fixed in react-proxy#1.1.7.
(Don’t use 2.x, it’s not related to React Native at all currently!)
You can run npm install react-proxy#1.1.7 so NPM updates it locally. If you are using npm#2.x, you would need to run npm install react-proxy#1.1.7 inside node_modules/react-native/node_modules/react-transform-hmr or something like this—check where it is installed and make sure it’s 1.x but up to date.
Don't really know the issue but running Parse JS SDK as version 1.6.14 works for me. Have the same error as you when running latest 1.7.1. Hard to trace the error.
npm i parse#1.6.14 --save
I forced react-proxy to version 2.0.1 and the error is now gone for me.