精华内容
下载资源
问答
  • pip安装jupyterlab:pip install --user jupyterlab,出现警告:which is not on PATH WARNING: The script jsonschema.exe is installed in 'C:\Users\huipu\AppData\Roaming\Python\Python39\Scripts' which is ...

    项目场景:使用pip安装jupyterlab时出现警告:

    pip安装jupyterlab:pip install --user jupyterlab,出现警告:which is not on PATH

    WARNING: The script jsonschema.exe is installed in 'C:\Users\huipu\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
      Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    

    原因分析:

    警告的含义是:

    脚本jsonschema.exe安装在’C: Users\huipu\AppData\Roaming\Python\Python39\Scripts’中,但是不在PATH中。
    考虑将此目录添加到PATH中,或者,如果您希望废止此警告,可以使用 --no-warn-script-location


    解决方案:

    所以我们需要将该路径(‘C: Users\huipu\AppData\Roaming\Python\Python39\Scripts’)加入环境变量:

    1. 首先进入“设置”中的“高级系统设置”:

    在这里插入图片描述

    1. 在“高级”一栏右下点击“环境变量”:

    在这里插入图片描述

    1. 在“系统变量”中找到“Path”,选中之后点击下方的“编辑”:

    在这里插入图片描述

    1. 点击右侧的“新建”,将警告信息中建议加入PATH的路径 'C:Users\huipu\AppData\Roaming\Python\Python39\Scripts’加进去:
      在这里插入图片描述
    2. 加完之后! 点击下方的“确定”,返回到上一级之后也要点“确定”,一直“确定”直到退出“高级系统设置”。

    效果:

    关掉之前的命令行,重新cmd启动一个新的界面,再运行命令pip install --user jupyterlab,发现警告消失:

    在这里插入图片描述
    为什么要重新启动cmd?
    因为原cmd用的还是旧的环境变量,重新启动cmd使得我们更新后的环境变量起作用。

    展开全文
  • python第三方库安装后遇到的问题 ...然后装好了,就黄字提示我 WARNING: The script jsonschema.exe is installed in ’ 你的python.exe所在盘符位置‘ which is not on PATH. 有问题找百度 那最后使用的是 新建

    python第三方库安装后遇到的问题
    –by旧人旧梦旧时光

    闲话少说,直奔主题。我是在vscode上安装了python 插件后,遇到这个问题的。
    本来是想图个方便,想着直接就右键执行脚本就ok了。结果提示我说jupyter等没有安装啊,没关系。我装。然后装好了,就黄字提示我 WARNING: The script jsonschema.exe is installed in ’ 你的python.exe所在盘符位置‘ which is not on PATH.
    有问题找百度
    那最后使用的是
    新建一个
    系统变量
    : PYTHONPATH
    值:C:\Users\xxx\AppData\Roaming\Python\Python3x\site-packages(此处为默认的第三方库安装所在的位置。如果python 不是默认位置安装的,不可对号入座)
    ps:至于这个系统变量呢,如果你也用的是win10系统的话,可以在系统搜索框里直接搜索 系统变量, 点进去就好了
    还有一个解决方法 就是使用 --no–warn-script-location 强制压下这个警告,我是使用的添加环境变量的方法。
    到这里这个问题就解决了
    内容参考:https://blog.csdn.net/L_up_up_up/article/details/112779939

    展开全文
  • 问题描述 ... WARNING: The script locust is installed in '/home/xuechao/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning,

    问题描述

    使用命令 pip install locust 安装后弹出如下警告:

    Installing collected packages: locust
      WARNING: The script locust is installed in '/home/xuechao/.local/bin' which is not on PATH.
      Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    Successfully installed locust-2.2.1
    

    原因分析

    '/home/xuechao/.local/bin' 未添加到环境变量。

    解决方案

    echo 'export PATH=/home/xxx/bin:$PATH' >>~/.bashrc
    source ~/.bashrc
    

    注意事项

    xxx 替换为你的用户名和路径,比如我这里应该替换为 xuecaho/.local

    展开全文
  • 2019-10-08 15:17:28 DEBUG org.apache.zookeeper.ClientCnxn Reading reply sessionid:0x10000192d2c000b, packet:: clientPath:/hbase/meta-region-server serverPath:/hbase/meta-region-server finished:false ...

    HBase错误解决
    在IDEA中远程连接时提示错误
    2019-10-08 15:17:28 DEBUG org.apache.zookeeper.ClientCnxn Reading reply sessionid:0x10000192d2c000b, packet:: clientPath:/hbase/meta-region-server serverPath:/hbase/meta-region-server finished:false header:: 11,4 replyHeader:: 11,94489280688,0 request:: '/hbase/meta-region-server,F response:: #ffffffff000146d61737465723a3136303030ffffff9b44fffffff0ffffff8b5f48ffffffbbffffffbc50425546a12a6736c6176653210ffffff947d18ffffffffffffffbfffffff8cffffffb0ffffffcf2d100183,s{34359738425,60129596943,1561451869773,1569062411965,17,0,0,0,53,0,34359738425}
    2019-10-08 15:17:28 DEBUG org.apache.zookeeper.ClientCnxn Got ping response for sessionid: 0x10000192d2c000b after 2ms
    2019-10-08 15:17:28 DEBUG org.apache.hadoop.hbase.client.RpcRetryingCallerImpl Call exception, tries=9, retries=16, started=29249 ms ago, cancelled=false, msg=org.apache.hadoop.hbase.NotServingRegionException: hbase:meta,1 is not online on slave2,16020,1570518833642

    , details=row ‘user_table’ on table ‘hbase:meta’ at region=hbase:meta,1.1588230740, hostname=slave2,16020,1567495495679, seqNum=-1, see https://s.apache.org/timeout, exception=org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException: hbase:meta,1 is not online on slave2,16020,1570518833642

    Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.NotServingRegionException): org.apache.hadoop.hbase.NotServingRegionException: hbase:meta,1 is not online on slave2,16020,1570518833642

    1
    2
    3
    4
    5
    6
    7
    8
    9
    接着在hbase shell中尝试创建表失败,错误提示:
    ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
    at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2946)
    at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1942)
    at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:603)
    at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService 2. c a l l B l o c k i n g M e t h o d ( M a s t e r P r o t o s . j a v a ) a t o r g . a p a c h e . h a d o o p . h b a s e . i p c . R p c S e r v e r . c a l l ( R p c S e r v e r . j a v a : 413 ) a t o r g . a p a c h e . h a d o o p . h b a s e . i p c . C a l l R u n n e r . r u n ( C a l l R u n n e r . j a v a : 130 ) a t o r g . a p a c h e . h a d o o p . h b a s e . i p c . R p c E x e c u t o r 2.callBlockingMethod(MasterProtos.java) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130) at org.apache.hadoop.hbase.ipc.RpcExecutor 2.callBlockingMethod(MasterProtos.java)atorg.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413)atorg.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)atorg.apache.hadoop.hbase.ipc.RpcExecutorHandler.run(RpcExecutor.java:324)
    at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)
    1
    2
    3
    4
    5
    6
    7
    8
    9
    查看hbase log文件,错误提示:
    2019-10-08 15:41:19,966 WARN [Thread-14] master.HMaster: hbase:meta,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1570520219373, server=slave2,16020,1567495495679}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined; operator intervention required. Schedule an assign.
    2019-10-08 15:45:35,967 WARN [Thread-14] master.HMaster: hbase:meta,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1570520219373, server=slave2,16020,1567495495679}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined; operator intervention required. Schedule an assign.

    1
    2
    3
    解决办法

    进入zookeeper目录

    /home/hadoop/zookeeper/apache-zookeeper-3.5.5/bin

    运行zookeeper环境命令

    zkCli.sh -server localhost:2181

    删除zookeeper下的hbase(会提示可以用deleteall代替,但该命令还是可以用)

    rmr /hbase
    1
    2
    3
    4
    5
    6
    之后远程IDEA连接以及建表都可以正常使用,原因就是在关闭重启集群前得关闭hadoop\hbase\zookpeer,不然再次启动会有奇奇怪怪的问题.

    然后删除zk里面的 /hbase目录

    展开全文
  • 问题I already installed the android studio but i am having a problem to proceed ahead,and the problem is Android SDK path not specified, what does it mean, do i need to download something or what?...
  • PhantomJS not found on PATH 解决: 单独安装 npm install phantomjs@2.1.1 --ignore-scripts 如下 D:\Project_liu\video.js-7.10.2>npm install phantomjs@2.1.1 --ignore-scripts (node:10628) ...
  • 在启动时发现出现如下信息[org.apache.catalina.core.AprLifecycleListener]-[INFO] The ApacheTomcat Native library which allows optimal performance in productionenvironments was not found on t...
  • 错误信息:sessions are not supported by the mongodb cluster to which this client is connected 在springboot2.x集成MongoDB 4.4 版本插入数据时报错,通过百度查找MongoDB 单节点不支持事物导致,通过研究在...
  • 使用CDH版本的pyspark进行xgboost训练时,一直报一个错误 “TypeError: ‘JavaPackage’ object is not callable”。起初以为是jar包版本或路径错误,因此尝试了多个版本的xgboost4j,包括0.72、0.81、0.9、1.0.0、...
  • 而$PATH变量就是告诉系统当我敲命令的时候,你要去哪里找这些命令对于的shell。相当与windows里的PATh环境变量。 查看环境变量,输出有一丢丢长度 $ printenv # 作用相同,两个命令都可以查看环境变量 $ export 两...
  • 解决pip3 install waring ‘The script xxx is installed in ‘/home/xxx/bin‘ which is not on PATH‘ WARNING: The script virtualenv is installed in ‘/home/local/bin’ which is not on PATH. Consider ...
  • which is not on PATH. Consider adding this directory to PATH or, … 环境 macOS Catalina Python 3.8 Vscode version 1.54 pip 21.0.1 terminal - zsh python安装 用homebrew安装,homebrew的具体安装方法可以...
  • WARNING: The scripts f2py, f2py3 and f2py3.6 are installed in '/home/nano/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --...
  • 如题error: chmod on /path/.git/config.lock failed: Operation not permitted 问题分析 From R1, the reason is : The linux command chmod is not supported by NTFS. Solution which it suggest is : mkdir ...
  • 本文笔者将介绍在ubuntu18.04环境如何交叉编译opencv4.5.3,内容涉及常见编译不通过的规避方法,以及“CMAKE_SYSTEM_PROCESSOR is not defined.”、“compiler broken”、“ The C/C++ compiler is not able to ...
  • 问题I tried to update Android Studio to 3.0 but got some crazy error, so I uninstalled AS and installed AS 3.0, but now when I try to open a file, I get an "SDK path not specified" error and nothing I...
  • The lbfgsC.mexmaci64 file comes pre-compiled, and with a time-stamp from ... Many things have changed on MacOS since then... :)In a terminal window, I tried: $> otool -L lbfgsC.mexmaci64 lbfgsC....
  • Elasticsearch 设置密码保护之后就出现如题错误,Kibana server is not ready yet. 网上有些解决方案说修改Kibana.yml里的elasticsearch.hosts: [ "http://elasticsearch:9200" ],此方案只对于ElasticSearch尚未...
  • 经过一番仔细辨别排查,发现使用tnsping显示出一行信息 已使用 HOSTNAME 适配器来解析别名 看来并没有使用tnsnames.ora用做解析文件,修改该oracle客户端的sqlnet.ora, NAMES.DIRECTORY_PATH= (TNSNAMES) 强制其只...
  • 1.首先理解这种类似于任务型对话推荐的过程以及其需要解决的三个基本...how to adapt to the users’ online feedback. To the best of our knowledge, there lacks a unified framework that addresses these probl
  • Linux中的which和whereis

    2021-03-24 11:51:42
    which和whereis 系统中常用which和whereis来查找命令的位置 which比where更直白和简洁的定位到程序的位置 whereiswhich显示的更丰富,可以同时显示帮助及二进制文件 [二 3月 23 23:19:43 root@C8-3-55 ~ ]# ...
  • ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
  • python Failed to build opencv-python ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly 解决方案 升级pip工具包: pip install --upgrade pip setuptools ...
  • npm install报错:gyp verb `which` failed Error: not found: python2
  • py which use PEP 517 and cannot be installed directly 解决方法 pip install mujoco_py==2.0.2.8 参考文献 ERROR: Could not build wheels for mujoco-py which use PEP 517 and cannot be installed directly
  • 不想看我啰嗦太多的可以直接向下看解决方法。 关于Python中使用pip安装库是出现的一个问题 问题背景:我在学习Python时,学习到pip安装第三库时,...’ which is not on PATH. Consider adding this directory to PATH
  • JAVA_HOME:其中安装了java(JAVA_HOME : where is java installed)我试图设置JAVA_HOME来让tomcat 7工作没有成功。我正在使用CentOS 6.3。 这是我迄今为止所做的:其中java / usr / bin / java所以我编辑了.bash_...
  • The project uses Gradle version which is incompatible with Studio running on Java 10 or newer. See details at https://github.com/gradle/gradle/issues/8431 Possible solution: - Upgrade Gradle wrapper ...
  • An alternative solution is to set up Android Studio to use a custom JDK using on your machine which has the CA certificate installed, using the menu in File -> Project Structure -> SDK Location -> ...
  • 简易版:Source标签页,指定本工程的源码目录和输出目录。Projects标签页,指定本工程所依赖的其他工程。Libraries标签页,指定本...官方版:Java Build PathThe options in this page indicate the build path s...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 162,420
精华内容 64,968
关键字:

isnotonpathwhich