How to install jaydebeapi in python 2.7 - python

I'm using python 2.7 on Window7. I need to install jaydebeapi. I tried
conda install JayDeBeApi
But I got following error
installation error
Also I tried the steps mentioned in
How to install JayDeBeApi in python 3.6
but import jaydebeapi is giving error message
ImportError: No module named jaydebeapi
in my anaconda with spyder 3.2.6
I also downloaded it from
https://github.com/baztian/jaydebeapi
and used following command in Anaconda promt
python setup.py install
It works in anaconda prompt. Please refer the screen shot
Running in conda
But import statement is still giving error in python
Can you please suggest how to import jaydebeapi

run pip install ModuleName on your CMD
pip install JayDeBeApi
Resultat :
Collecting JayDeBeApi
Using cached
https://files.pythonhosted.org/packages/87/e2/a84253efa32c104256d
44731513b8d8b7e47a890b6e44fb42c54688a5dc2/JayDeBeApi-1.1.1-py2-none-any.whl
Collecting JPype1 (from JayDeBeApi)
Using cached
https://files.pythonhosted.org/packages/c4/4b/60a3e63d51714d4d7ef
1b1efdf84315d118a0a80a5b085bb52a7e2428cdc/JPype1-0.6.3.tar.gz
Installing collected packages: JPype1, JayDeBeApi
Running setup.py install for JPype1 ... done
Successfully installed JPype1-0.6.3 JayDeBeApi-1.1.1
Done:
>>> import jaydebeapi
>>>

Related

After installing modele program is still not running

Am importing opcua in my python file:
from opcua import Client
before i ran python -m pip install opcua and it was succesfully installed
but it is still not resolved after i ran the file
am using python 3.10.4 and i upgraded pip to latest version
You should also install the cryptography module:
pip install cryptography
Opcua depends on it. Once installed it should work.

PIP installs correctly but does nothing when executed

I'm having trouble with Python.
I downloaded Python and pip without error.
But when I run pip install flask, it just waits a second and goes back to the command prompt.
Same issue when I run python -m pip install flask.
However, it works when I run py -m pip install flask.
Any ideas why this happens? Thanks!
My path is as follows:
%USERPROFILE%\AppData\Local\Programs\Python\Python38
%USERPROFILE%\AppData\Local\Programs\Python\Python38\Scripts
Message when installing pip.
Collecting pip
Using cached pip-20.1.1-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Successfully installed pip-20.1.1
You might have various versions of python. Can you just try your pip install by mentioning the version
python3.7 -m pip install flask

I can't open scrapy shell in terminal

I installed scrapy with
pip install scrapy
and it was installed successfully, I can import it in my script and it works.
However, when I use scrapy shell "https://www.google.com" on Windows CMD with Python3 it gives me the following error:
ModuleNotFoundError: No module named 'win32api'
So I tried
pip install win32api
Could not find a version that satisfies the requirement win32api
(from versions: ) No matching distribution found for win32api
How can I fix this error and use scrapy's shell?
Note: I'm using Windows 10 and python 3.7.2.
You need pywin32 installed because of this Twisted bug.
Install it with
pip install pypiwin32
Try to install pywin32:
pip install pypiwin32

Getting error of missing protobuf while connecting MySQL to python in windows

While installing mysql-connector on cmd prompt using command:
pip3 install mysql-connector
It said installed successfully, but gave this error:
mysql-connector-python 8.0.15 requires protobuf>=3.0.0, which is not
installed windows 8.1
I can't find install instructions for the right version of protobuf, that might be needed.
Later, while making db connection in pycharm using statement
mydb = mysql.connector.connect(host, user, passwd)
I got this error:
ModuleNotFoundError: No module named 'mysql'
Any idea how to proceed? Using python 3.7 on windows 8.1
To install protubuf using pip use,
pip3 install protubuf has version of 3.6.1.
And for mysql ImportError, a package ConfigParser has been renamed to configparser for Python 3.
For that install configparserusing pip again after installing mysql
pip3 install configparser

Having issues with Teradatasql python

I would like to connect to the Teradata server and I am using the following code:
Import teradata
Import teradatasql
Con=teradata.connect( connection string)
I have downloaded the teradatasql whl file and used the following command to install it:
Pip install teradatasql-16.20.0.39-py3-none-any.whl
I am getting the following error:
Could not find a version that satisfies the requirement pycryptodome
I have also downloaded a pyroptosomeme but it is not installing
I appreciate your help
We recommend that you download and install from pypi directly:
pip install teradatasql
When you install directly from pypi then pip install automatically downloads and installs any required prerequisite packages such as pycryptodome.

Categories

Resources