Watson Developer Cloud & Twisted Install With Error Code 1 - python

I am trying to connect to the Watson Developer Cloud API, and am having issues installing Watson Developer Cloud. I am using
pip install --upgrade "watson-developer-cloud>=1.2.1
The install gets hung up on the install of Twisted. I have tried pip install twisted and installing using "Twisted-17.9.0.tar.bz2" from the Twisted site.
https://twistedmatrix.com/trac/wiki/Downloads
https://www.ibm.com/watson/developercloud/natural-language-classifier/api/v1/python.html?python
I have exhausted all my resources. Any ideas how to resolve the following error?
Error Code 1

Are you by chance running in a VM? If you are, try installing it on a stand alone (not VM) machine.
I had a similar issue trying to get Watson Developer going on a VM and it also stuck on the Twisted component - but i was able to take the (almost) same environment on a stand alone basis (not VM) and it installed.
I assumed that I had somehow not configured the interface correctly (which is probably true) - but it installed on the stand alone without issue.

Try to install it as Administrator
Update your pip
Before installing Watson, run this:
xcode-select --install

Related

How to deploy python project on a RHEL linux appliance without using PIP

I'm trying to run a python project on a RHEL 7 appliance without PIP installed, nor do I have sudo access. I'm able to deploy and run my python code without issue on the appliance, just without dependencies, so I do not get very far. How do I package a python project with all dependencies so that I can avoid the need for PIP altogether?
I've looked at some examples for packaging the python projects, but they assume the box has no Internet but does have PIP installed. Being that I don't have PIP, this is not very helpful.

How to install EB CLI on Windows?

I have used the entire day trying to install EB CLI on windows in order to connect to AWS Elastic Beanstalk but I keep getting the same error:
Running setup.py install for docker-py
Could not find .egg-info directory in install record for docker-py>=1.1.0 <=1.7.2 (from awsebcli)
I started out with the latest version of Python but after reading of other users issues on Stack Overflow I decided to downgrade my Python version to 3.4.0. However, I still get the same error, meaning that I cannot do EB init to connect to my Elastic Beanstalk instance since it does not recognise the command.
I also tried to un-install docker-py and re-install it - still not working.
Any ideas to what I am doing wrong?
It looks as if you may have version conflicts. See a similar issue here
Try installing awsebcli in a virtual environment, as suggested by the aws docs.

Problems using pip to install libraries from github for python3.4 on an ubuntu 14.04 machine

Firstly I'm a first year computer science major so inexpeirence maybe my problem here but I can't find a solid solution after about 4 hours of googling and stumbling about.
I'm trying to install a library from github to use in python3.4 to play around with and learn about using api's. I'm using a Chromebook (Asus C300m) with ubuntu dual booted for coding.
I've tried various methods of using pip to install the library. It seems using the default pip command is broken for my version of ubuntu and throws an "incomplete read" error.
I tried using the get-pip.py file instead and that seems to work. But that installs the library only to the 2.7 version of python that came with the OS install not the 3.4 version I have to use for class and am currently learning in.
I also tried installing and using pip3 but that throws an "incomplete read" error just like the default pip command did.
I'm very willing to link my failed console commands but there have been so many I'm not sure which would be most helpful.
Thanks for any help anyone can provide.

Runtime error alongside Django on Amazon AWS EC2 Linux AMI issue

I am getting this error: signalling support is unavailable because the blinker library is not installed.
I am running Django 1.6.5 under python 2.6.9.
Is it possible that the error will go away if i update python on the server to 2.7.x?
If so how can I update the server without losing everything I have done upto this point creating my website on the instance?
Thanks so much in advance.
Just install blinker by typing pip install blinker in the console.
Be sure you install it in your virtualenv if by any chance you use one, just by activating it before executing the pip command.
You may also review your staging procedure to correctly install project dependencies.

Installing txMYSQL on Python

I am trying to establish MYSQL connection with my twisted server script. I found out that txMYSQL is a good choice to use, I dowloaded the package out of Github and tried installing from the setup.py file, but it didn't work.
I tried inslalling txMYSQL by using easy_install txmysql but it dosen't appear to be found through this command since its not on pythons server.
How can I install txMYSQL ?
I am currently using python 2.7.8 on my Windows machine.
Try to install using pip and referencing Github repo. I tried here and worked well on a Ubuntu 12.04.4
pip install git+https://github.com/hybridlogic/txMySQL.git

Categories

Resources