简体   繁体   中英

How to install jaydebeapi in python 2.7

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
>>> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM