添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
天涯  ·  [KAFKA-7188] Avoid ...·  1 月前    · 
天涯  ·  使用LM ...·  1 月前    · 
天涯  ·  韩宝贝 ...·  1 月前    · 
天涯  ·  OpenAI 开源音频转文字模型 ...·  1 月前    · 
天涯  ·  PyCharm运行是报错:ModuleNot ...·  1 月前    · 
天涯  ·  ... make sure you ...·  1 月前    · 
文雅的开水瓶  ·  信用中国(天津东丽)·  21 分钟前    · 
博学的上铺  ·  怎样优化联合作战体系·  21 分钟前    · 
bash Anaconda3-5.2.0-Linux-x86_64.sh

告诉我已存在

ERROR: File or directory already exists: '/root/anaconda3'
If you want to update an existing installation, use the -u option.
bash Anaconda3-5.2.0-Linux-x86_64.sh -u

之后提示没有安装bunzip2,使用以下指令安装,然后还是报错,这次是软件源有问题

[/root/anaconda3] >>> 
PREFIX=/root/anaconda3
Anaconda3-5.2.0-Linux-x86_64.sh: line 350: bunzip2: command not found
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
[root@ml-cent-3 result]# yum install -y bzip2
Loaded plugins: fastestmirror
http://mirrors.163.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.163.com; Unknown error"
Trying other mirror.

好吧,换个软件源,按照网上的方法来,我发现我没有wget……

只能参考给centos重新安装yum的base-repo源手动下载对应处理器的版本,然后上传到linux上安装wget

[root@ml-cent-3 result]# rpm -ivh wget-1.19.5-3.fc29.x86_64.rpm
warning: wget-1.19.5-3.fc29.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 429476b4: NOKEY
error: Failed dependencies:
	libgnutls.so.30()(64bit) is needed by wget-1.19.5-3.fc29.x86_64
	libgnutls.so.30(GNUTLS_3_4)(64bit) is needed by wget-1.19.5-3.fc29.x86_64
	libidn2.so.0()(64bit) is needed by wget-1.19.5-3.fc29.x86_64
	libidn2.so.0(IDN2_0.0.0)(64bit) is needed by wget-1.19.5-3.fc29.x86_64
	libmetalink.so.3()(64bit) is needed by wget-1.19.5-3.fc29.x86_64
	libnettle.so.6()(64bit) is needed by wget-1.19.5-3.fc29.x86_64
	libnettle.so.6(NETTLE_6)(64bit) is needed by wget-1.19.5-3.fc29.x86_64
	libpsl.so.5()(64bit) is needed by wget-1.19.5-3.fc29.x86_64

报错,百度得知使用下面方式可以安装成功,但是无法使用

rpm -ivh wget-1.19.5-3.fc29.x86_64.rpm --force --nodeps
# 安装后
# wget
wget: error while loading shared libraries: libidn2.so.0: cannot open shared object file: No such file or directory

原来下的版本不对,还是去这里下载tar.gz的吧,解压后进入文件夹查看INSTALL文档中有提示安装方法,于是尝试,,结果没有安装gcc,尝试用yum去安装gcc是失败的,以为软件源的问题没解决啊!

[root@ml-cent-3 wget-1.19]# file  INSTALL
INSTALL: ASCII text
[root@ml-cent-3 wget-1.19]# vi INSTALL
[root@ml-cent-3 wget-1.19]# ./configure && make && make install
configure: configuring for GNU Wget 1.19
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports nested variables... (cached) yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/etc/result/wget-1.19':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

最后解决办法很简单,很粗暴,但是我竟然没有想到,,直接在网易源官网就可以下载repo文件,晕,赶紧下载下来,重命名成CentOS-Base.repo放到/etc/yum.repos.d/,还是不行

最后解决办法

最后对比了下可以正常通过yum安装软件的服务器的export出来的信息,发现其他正常服务器都有设置proxy,就这个服务器没有,果断把proxy设置搬过去,可以正常通过yum安装程序了,说明之前的repo根本没有问题!

之后就可以正常安装Anaconda了,需要注意的是刚装好是用不了conda,pip等命令的,需要添加路径

export PATH=$PATH:/root/anaconda3/bin
我们选中自己电脑合适的版本就行了,我这里安装的是3.7 直接下载anaconda可能会非常慢!!! 解决方法:右键选中要下载的版本→复制链接地址→打开迅雷新建任务,用迅雷下载就会变得非常得快啦 anaconda安装过程 为了尽量成功,一般是安装在C盘比较好,而且一般是根据默认的安装就好了 比如你的文件目录是这样的:/home/LIST_2080Ti/njh/anaconda3。删掉你的目录里面的anaconda3文件夹,而在右面的地址设定时候保留即可。因为我想把anaconda3建在自己的文件夹之下。所以需要修改一下路径。/home/LIST_2080Ti/njh/anaconda3即可。其实你只要把你文件夹里的那个anaconda3文件夹删除就行了。而自己设定路径的时候,必须随便设置一个没有的文件夹才行。 即上一篇帖子说道,换了系统~~~~所以我们开始吧 安装anaconda3 基于上次的教训,由于anaconda的官网下载起来很不友好,下载的特别慢!!!!(当然,也可能是我的电脑的原因)这次全部备份! abc@abc-ThinkCentre-M910s-N000:~$ cd 下载\ abc@abc-ThinkCentre-M910s-N000:~/下载$ bash Anaconda3-5.3.1... 查看电脑系统版本; uname -a 清华镜像站下载安装包,一般选择最新的,并根据版本选择:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 从下载的脚本所在目录打开终端,安装conda,输入; bash Anaconda3-2021.05-Linux-x86_64.sh 出现如下问题 ERROR: File or 之前在服务器上跑深度学习代码时,一直用的虚拟环境(),安装很多包的时候需要管理员权限。 虚拟环境安装教程推荐:https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432712108300322c61f256c74803b43bfd65c6f8d0d0000 最近重新配置了ana... support@fairygui.com -------------------- FairyGUI is a flexible UI framework for Unity, working with the professional FREE Game UI Editor: FairyGUI Editor. Download the editor from here: http://en.fairygui.com/ -------------------- Get Started -------------------- Run demos in Assets/FairyGUI/Examples/Scenes. The UI project is in Examples-UIProject.zip, unzip it anywhere. Use FairyGUI Editor to open it. Using FairyGUI in Unity: * Place a UIPanel in scene by using editor menu GameObject/FairyGUI/UIPanel. * Or using UIPackage.CreateObject to create UI component dynamically, and then use GRoot.inst.AddChild to show it on screen. ----------------- Version History ----------------- 3.4.0 - NEW: Add multi-display support. - NEW: Add API DynamicFont(name, font). - IMPROVED: Compatibility with 2018.3. - FIXED: Incorrect letter spacing on mobile platform. - FIXED: Same transition hook may be called twice. - FIXED: Exception raised when texture was disposed before object was disposed. 3.3.0 - NEW: Add textfield maxwidth feature. - NEW: Add API to query package dependencies. - IMPROVED: Graphics module refactor. Now it is more convenient to create various shapes(pie, lines, polygon etc) and do mesh deform. Memory usage on building mesh is also dropped. Also supports automatically setup uv for arbitrary quad to avoid seam between 2 triangles. All shaders are updated, don't forget to replace shaders in your project. - IMPROVED: Text-Brighter mechanism is removed, so FairyGUI-Text-Brighter.shader is removed. - IMPROVED: Add support for shrinking multi-line text. - IMPROVED: Improve Lua support. 3.2.0 - NEW: Add DisplayObjectInfo component. Define script symbol FAIRYGUI_TEST to enable it. - FIXED: A virtual list scrolling bug. - FIXED: A BlendMode bug. 3.1.0 - NEW: Draw extra 8 directions instead of 4 directions to archive text outline effect. Toggle option is UIConfig.enhancedTextOutlineEffect. - IMPROVED: Eexecution efficiency optimizations. - IMPROVED: GoWrapper now supports multiple materials. - FIXED: Correct cleanup action for RemovePackage. 3.0.0 From this version, we change package data format to binary. Editor version 3.9.0 with 'binary format' option checked in publish dialog is required to generating this kind of format. Old XML format is not supported anymore. - NEW: Add UIPackage.UnloadAssets and UIPackage.ReloadAssets to allow unload package resources without removing the package. - NEW: Add TransitionActionType.Text and TransitionActionType.Icon. 2.4.0 - NEW: GTween is introduced, DOTween is no longer used inside FairyGUI. - NEW: Transitions now support playing partially and pausing. - IMPROVED: Change the way of registering bitmap font. - FIXED: A GButton pivot issue. - FIXED: Correct text align behavior. 2.3.0 - NEW: Allow loader to load component. - NEW: Add text template feature. - FIXED: Exclude invisible object in FairyBatching. 2.2.0 - NEW: Modify shaders to fit linear color space. - IMPROVED: Improve relation system to handle conditions that anchor is set. - IMPROVED: Eliminate GC in transition. - FIXED: Fixed a bug of unloading bundle in UIPackage. - FIXED: Fixed issue that some blend mode(multiply, screen) works improperly. 2.1.0 - NEW: Add GGraph.DrawRoundRect. - NEW: Add FillType.ScaleNoBorder. - FIXED: Repair potential problems of virtual list. - FIXED: Fixed a bug in handling shared materials. 2.0.0 - NEW: RTL Text rendering support. Define scripting symbols RTL_TEXT_SUPPORT to enabled it. - NEW: Support for setting GObject.data in editor. - NEW: Support for setting selectedIcon of list item in editor. - IMPROVED: Add UIConfig.depthSupportForPaitingMode. - IMPROVED: Set sorting order of popup automatically. - FIXED: Fixed a text layout bug when line spacing is negative. - FIXED: Reset ScrollPane.draggingPane when an active scrollPane is being disposed. - FIXED: Fixed a bug of skew rendering. 1、首先打开清华大学开源软件镜像选择一个安装镜像,我选择的是在deepin桌面,单击右键选择{在终端中打开}选项,进入终端输入必须要这样下载,不能自己从浏览器或者下载工具下载,否则安装会下载完毕,在终端输入然后一直点击回车直到界面显示END然后点击Q键,界面显示do you accept the license terms?[yes|no]输入yes然后单击回车,然后询问否将Anaconda安装在当前路径下,直接回车安装在默认路径下,再点击回车进行安装。如果之前你安装失败过,会提示如下错误, wget https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh 提示 -bash:wget command not found,表示系统中没有安装wget软件包。
 
推荐文章