Is there a way to install h2o driverless ai on windows 10? - python-3.x

I am trying to install h2o driverless ai and so far I am unable to find any way. I am using jupyter notebook and I am unable to import h2oai_client.
My python version :
pip 20.0.2 from C:\Users\user\miniconda3\lib\site-packages\pip (python 3.7)
When i try to import h2oai_client, it says not found
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-afa0aad75588> in <module>
----> 1 from h2oai_client import Client
ModuleNotFoundError: No module named 'h2oai_client'

You can install it on Windows 10 Pro / Enterprise / Education. You can follow this doc.
h2oai_client is the Python client. You would need to host Driverless AI on a server with the instructions above, then you can install the client. Then you can connect to it using the Python client.

Related

ModuleNotFoundError: No module named 'gpxpy'

I'm running a Jupyter notebook with the lines:
import gpxpy
import gpxpy.gpx
and I'm getting:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
/var/folders/kc/5p61t70n0llbn05934gj4r_w0000gn/T/ipykernel_37440/3640958118.py in <module>
----> 1 import gpxpy
2 import gpxpy.gpx
ModuleNotFoundError: No module named 'gpxpy'
FWIW, doing the following on the terminal command line (macOS 16.6.4)
$ pip3 search gpxpy
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.
$
Don't know whether it's a conda environment problem or a problem with the gpxpy package itself.
I logged into anaconda.org, searched for module gpxpy and then did one of the recommended installs:
conda install -c conda-forge gpxpy
At least I got around the module load error.

How to get python API to access Smartsheet

I am following the smartsheet API's python-sdk example to do some practice.
Below are my steps (using Python 3.4.4 on macOS 10.7.5):
installed the SDK package from their GitHub repo
installed pip using pip install smartsheet-python-sdk in my terminal
created a .py file and moved it into the SDK file
Issue
When I run it, I got following error message:
Traceback (most recent call last):
File "/Users/canny_aiyaya/Desktop/smartsheet-python-sdk-master/smartsheet/charity.py", line 5, in <module>
import smartsheet
File "/Users/canny_aiyaya/Desktop/smartsheet-python-sdk-master/smartsheet/smartsheet.py", line 28, in <module>
import requests
ImportError: No module named 'requests'
Code in the .py file
import smartsheet
ss_client = smartsheet.Smartsheet(access_token)
ss_client.errors_as_exceptions(True)
Analysis
I looked for some possible solutions, and try to install requests on my terminal using sudo pip3 install requests, but it shows:
No matching distribution found for requests
This is my first time trying to use API on Smartsheet, any supports/links/videos will very helpful.
There are a number of dependencies. You can run python setup.py install from the Smartsheet SDK directory to install them.

Jupyter Notebook can't find module

Hi I have been trying to install twython for Jupyter Notebook. I have proved through the python repl that it is universally installed throughout my laptop. But it still won't appear on Jupyter Notebook. Looking for help trying to figure out it is found in a spot that it can be found by my Anaconda 3 Jupyter Notebook.
Context: Homework assignment trying to mine twitter for tweets
Here is the errors I am receiving and I am running Mac OS
/Users/name/twitter/__init__.py:22: UserWarning: The twython library has not been installed. Some functionality from the twitter package will not be available.
"The twython library has not been installed. "
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-38297a1141e0> in <module>
----> 1 import twitter
2 import twython
3 #---------------------------------------------
4 # Define a Function to Login Twitter API
5 def oauth_login():
~/twitter/__init__.py in <module>
34
35
---> 36 from nltk.twitter.common import json2csv
ModuleNotFoundError: No module named 'nltk.twitter
Have you installed nltk package?
If not, do it:
pip3 install -U nltk
then run python3
inside python3 command line, run:
import nltk
nltk.download()
after the download, restart jupyter, and run your code again.

How do I download Bloomberg data into Python?

I have just downloaded the latest Anaconda python 3.6.3.
Now I want too download data from Bloomberg using their api 'import blpapi' but Bloomberg only supports python up to 3.4.4.
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call
last) in ()
----> 1 import blpapi
ModuleNotFoundError: No module named 'blpapi'
How can I download their data into Spider or Jupiter notebook. Is there another earlier version of python that I have to download? and if so where?
Many thanks in advance. James
Yes, you can manage different conda versions of python with environments:
conda create -n py27 python=2.7 anaconda
Then,
Activate the new environment.
Verify the new environment is your current environment
To verify that the current environment uses the new Python version, in your terminal window or an Anaconda Prompt, run: python --version
All the versions of Bloomberg API are available here, from 2.6 to 3.4.
Note you need a Bloomberg account to access data via Bloomberg.

python module not found error

This question has been asked a few times, but the remedy appears to complicated enough that I'm still searching for a user specific solution.
I recently installed Quandl module using pip command. Even after successful installation my python idle is still showing
Traceback (most recent call last):
File "F:\Python36\Machine Learning\01.py", line 3, in <module>
import Quandl
ModuleNotFoundError: No module named 'Quandl'
I have used import command in my code.
I am using python 3.6.1 version.
I am working on a windows 10 Desktop.
I have also tried re-installation of module.
You can better navigate to your python scripts folder and open a command window there and try pip3 install quandl .Hope this helps.

Resources