无法导入stargazer(“ ModuleNotFoundError:没有名为'stargazer'的模块)

时间:2020-04-27 16:56:12

标签: python pycharm stargazer

安装https://www.electronicsforu.com/electronics-projects/software-projects-ideas/image-processing-using-matlab-basic-operations-part-2-4后,我将无法导入。

我正在使用Pycharm 2020.1。我尝试在本地环境和直接在终端中安装stargazer(通过pip)。

我的特定代码是:

select jsonb_object_agg(id,name) from animal_names;

最后一行返回错误:

SELECT
  $__timeGroupAlias(start,$__interval),
  animal_names::jsonb ->> dog.id::text AS metric,
  count(dog.chewed_bones) AS “# bones chewed“
FROM animals.dog
WHERE $__timeFilter(start_time)

stargazer似乎已安装(从“点列表”中):

import matplotlib.pyplot as plt
import numpy as np
from scipy import stats
import statsmodels.api as sm
from stargazer.stargazer import Stargazer

将不胜感激。

0 个答案:

没有答案