libraries

Python ModuleNotFoundError despite the modules being installed

爷,独闯天下 提交于 2021-01-29 07:47:26
问题 While importing: import speech_recognition as sr import pyttsx3 I get the error: ModuleNotFoundError: No module named 'speech_recognition' ModuleNotFoundError: No module named 'pyttsx3' 回答1: Pls.run pip list in the same virtual env and check if your modules are present in the list. Also, pls.run in the python terminal the same import first. 回答2: I assume you are using Python 3 and your pip is installed and functional (you might need to use sudo or run command as admin, depending on your OS):

Trouble installing some libraries in python (oauth2client and gspread)

纵饮孤独 提交于 2021-01-28 10:19:09
问题 I'm using python 3.7 (environment created by anaconda) and trying to run python code that uses some google libraries but I don't really know how to install them. From PyCharm IDE (Settings -> Project Interpreter -> Available Packages) I cannot find those packages to install. And from terminal, running 'pip install --upgrade oauth2client' or 'pip3 install --upgrade oauth2client' doesn't seem to work either. What I don't understand is: to install packages/libraries on python 3.x, should i only

Trouble installing some libraries in python (oauth2client and gspread)

给你一囗甜甜゛ 提交于 2021-01-28 10:18:30
问题 I'm using python 3.7 (environment created by anaconda) and trying to run python code that uses some google libraries but I don't really know how to install them. From PyCharm IDE (Settings -> Project Interpreter -> Available Packages) I cannot find those packages to install. And from terminal, running 'pip install --upgrade oauth2client' or 'pip3 install --upgrade oauth2client' doesn't seem to work either. What I don't understand is: to install packages/libraries on python 3.x, should i only

Trouble installing some libraries in python (oauth2client and gspread)

若如初见. 提交于 2021-01-28 10:18:18
问题 I'm using python 3.7 (environment created by anaconda) and trying to run python code that uses some google libraries but I don't really know how to install them. From PyCharm IDE (Settings -> Project Interpreter -> Available Packages) I cannot find those packages to install. And from terminal, running 'pip install --upgrade oauth2client' or 'pip3 install --upgrade oauth2client' doesn't seem to work either. What I don't understand is: to install packages/libraries on python 3.x, should i only

Can NOT authorize calling Script for new ScriptDb when Included Library remains from previously deleted ScriptDb.

寵の児 提交于 2021-01-28 05:53:47
问题 I deleted a ScriptDb BEFORE I removed its reference from the Resources -> Installed Libraries of the calling script. I created a new ScriptDb with the same name as the old ScriptDb. When I run the calling script, I get the following message: Library with identifier libraryDb is missing (perhaps it was deleted?) When I open Resources -> Installed Libraries in the calling script, I get the following message: We're sorry, a server error occurred. Please wait a bit and try again. And when I click

. + tab AutoComplete not working in Jupyter Notebook

天涯浪子 提交于 2021-01-27 11:52:58
问题 So out of nowhere I seemingly cannot autocomplete methods using . + Tab in Jupyter Notebook. Currently running Jupyter 6.0.1 I've tried the following with no success: $ sudo easy_install readline conda install -c anaconda jedi & updated conda and the following pip install pyreadline thanks! 来源: https://stackoverflow.com/questions/60066265/tab-autocomplete-not-working-in-jupyter-notebook

You do not have access to library [xyz], used by your script, or it has been deleted

ⅰ亾dé卋堺 提交于 2020-12-13 04:38:07
问题 This was very likely a Google server error. Here are some details and the solution. This started at 8:55pm EDT (GMT -4) Friday, October 27 and continued for almost 3 days when I stopped waiting for it to fix itself like the last problem I commented on a few weeks ago. Nothing had changed in 17 days such that I should lose access. The script was most certainly still there. Everything involved was owned by "me." What may have triggered the problem is that I set one of my libraries--not even the

Python unable to import module within library [closed]

非 Y 不嫁゛ 提交于 2020-12-13 03:30:50
问题 Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 18 days ago . Improve this question I'm trying to use the QSerialPort module of PyQt5. Everything I have found has indicated that QtSerial which contains QSerialPort should come with PyQt5. For example, >>> from PyQt5 import QtSerial Traceback (most recent call last): File "<stdin>", line 1, in

Python unable to import module within library [closed]

安稳与你 提交于 2020-12-13 03:30:09
问题 Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 18 days ago . Improve this question I'm trying to use the QSerialPort module of PyQt5. Everything I have found has indicated that QtSerial which contains QSerialPort should come with PyQt5. For example, >>> from PyQt5 import QtSerial Traceback (most recent call last): File "<stdin>", line 1, in

Python unable to import module within library [closed]

人走茶凉 提交于 2020-12-13 03:28:59
问题 Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 18 days ago . Improve this question I'm trying to use the QSerialPort module of PyQt5. Everything I have found has indicated that QtSerial which contains QSerialPort should come with PyQt5. For example, >>> from PyQt5 import QtSerial Traceback (most recent call last): File "<stdin>", line 1, in