packages

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi' [duplicate]

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This question already has an answer here: lib unspecified & Error in loadNamespace 4 answers package 'stringi' does not work after updating to R3.2.1 5 answers When I use library(Hmisc) I get the following error Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi' Error: package 'ggplot2' could not be loaded As well, if I use library(ggplot2) I get the following error Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi'

cx_Freeze - The appdirs package is required

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I`m trying to convert a .py script to an .exe cx_Freeze compiles the exe succesfully. However when I run the exe file it throws this error: ImportError: The 'appdirs' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution Here is my setup.py from cx_Freeze import setup, Executable setup( name = "dbx_sharelink" , version = "0.1" , description = " " , executables = [Executable("dbx_sharelink.py")] , ) Source code Python script import sys import dropbox import pandas

How do I find a list of Homebrew's installable packages?

孤人 提交于 2019-12-03 01:30:53
问题 Recently I installed Brew. How can I retrieve a list of available brew packages to install? 回答1: brew help will show you the list of commands that are available. brew list will show you the list of installed packages. You can also append formulae, for example brew list postgres will tell you of files installed by postgres (providing it is indeed installed). brew search <search term> will list the possible packages that you can install. brew search post will return multiple packages that are

installation of package ‘recharts’ had non-zero exit status

匿名 (未验证) 提交于 2019-12-03 01:26:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Please help me to install recharts package in R. The result is: installation of package ‘recharts’ had non-zero exit status I am unable to install it. The code from R console is posted below: install.packages('recharts', repos = c('http://yihui.name/xran', 'http://cran.rstudio.com')) Warning in install.packages : cannot open: HTTP status was '404 Not Found' Warning in install.packages : cannot open: HTTP status was '404 Not Found' Warning in install.packages : unable to access index for repository http://yihui.name/xran/bin/windows/contrib/3

Upgrade python packages from requirements.txt using pip command

心不动则不痛 提交于 2019-12-03 01:25:20
问题 How do I upgrade all my python packages from requirements.txt file using pip command? tried with below command $ pip install --upgrade -r requirements.txt Since, the python packages are suffixed with the version number ( Django==1.5.1 ) they don't seem to upgrade. Is there any better approach than manually editing requirements.txt file? EDIT As Andy mentioned in his answer packages are pinned to a specific version, hence it is not possible to upgrade packages through pip command. But, we can

Can&#039;t install packages in Windows 10

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just reinstalled Python 3.6, but when I try to install packages, Windows returns errors. First I tried installing package BeautifulSoup from the Windows command prompt: python -m pip install BeautifulSoup but this returns the following error: Collecting BeautifulSoup Using cached BeautifulSoup-3.2.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\Robert\AppData\Local\Temp\pip-build-iiyyxs2o\BeautifulSoup\setup.py", line 22 print "Unit tests

SSLError: bad handshake, Python requests

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am consuming Ebay Trading APIs using Ebay python sdk which is eventually sing python-requests for making API calls. All was working fine, but since last few days I am unable to make call. I am getting error: SSLError: bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],) Here is complete traceback: In [9]: response = api.execute('GetSessionID', data) --------------------------------------------------------------------------- SSLError Traceback (most recent call last) in () ----> 1 response =

use an external library in pyspark job in a Spark cluster from google-dataproc

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have a spark cluster I created via google dataproc. I want to be able to use the csv library from databricks (see https://github.com/databricks/spark-csv ). So I first tested it like this: I started a ssh session with the master node of my cluster, then I input: pyspark -- packages com . databricks : spark - csv_2 . 11 : 1.2 . 0 Then it launched a pyspark shell in which I input: df = sqlContext . read . format ( 'com.databricks.spark.csv' ). options ( header = 'true' , inferschema = 'true' ). load ( 'gs:/xxxx/foo.csv' ) df . show

ImportError: No module named &#039;queue&#039; while running my app freezed with cx_freeze

匿名 (未验证) 提交于 2019-12-03 01:22:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using python 3.4. I am able to run my python script without any problem. But While running my freezed python script , following error have appeared. I am able to freeze my script successfully too with cx_freeze. C:\Program Files (x86)\utils>utils.exe Traceback (most recent call last): File "C:\Python34\lib\site-packages\requests\packages\__init__.py", line 27, i n <module> from . import urllib3 File "C:\Python34\lib\site-packages\requests\packages\urllib3\__init__.py", line 8, in <module> from .connectionpool import ( File "C:\Python34

How to fix ImportError: No module named packages.urllib3?

匿名 (未验证) 提交于 2019-12-03 01:18:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm running Python 2.7.6 on an Ubuntu machine. When I run twill-sh (Twill is a browser used for testing websites) in my Terminal, I'm getting the following: Traceback ( most recent call last ): File "dep.py" , line 2 , in import twill . commands File "/usr/local/lib/python2.7/dist-packages/twill/__init__.py" , line 52 , in from shell import TwillCommandLoop File "/usr/local/lib/python2.7/dist-packages/twill/shell.py" , line 9 , in from twill import commands , parse , __version__ File "/usr/local/lib/python2.7/dist-packages/twill