通过conda 在base环境中安装特定的程序
conda install -c bioconda A程序
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.31=0
- feature:|@/linux-64::__glibc==2.31=0
- **A程序** -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.31
尝试解决的方法:
ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.7) 2.31
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
检查并尝试修改对应环境下的
libgcc_s.so; libgcc_s.so.1文件的权限,没有效果。
受到一些解决类似的问题的文章的提示,尝试对conda更新以解决兼容性问题
conda update --all
conda update conda
但都没有效果。
有些文章建议使用conda install -c conda-forge A程序 ;但是提示没有找到对应的程序
在另一个服务器相同的环境下执行
conda install -c bioconda A程序
成功安装,没有报错。
查看两个服务器区别,尤其是conda相关的配置
通过conda config --show查看镜像
成功安装的服务器的conda配置了一些国内的镜像,而报错的服务器是使用的原始镜像。问题可能找到;
在报错的服务器添加国内镜像
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/bioconda/
conda config --add channels http://mirrors.aliyun.com/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
再进行安装,成功。
conda安装软件报兼容性问题的解决 Found conflicts! Looking for incompatible packages.failed.UnsatisfiableError
conda安装软件报兼容性问题的解决Found conflicts! Looking for incompatible packages.failed.UnsatisfiableError:The following specifications were found to be incompatible with each other
conda create --name env_name python=3.x #没有设置python版本默认是原始python版本
2.然后激活新建的环境,在里边重新安装需要的库
source activate env_name
conda install pkgs_name
3. 相关命令
conda env list #查看有哪.
问题重现:
安装anaconda后,在anaconda prompt中对pandas进行更新,但是在本地原有的python中没有安装pandas这个库。在jupyter notebook中导入pandas没有问题,但是在pycharm中导入报错:没有这个模块。
问题分析:
1.单纯的认为只是没有在本地pyhton环境下安装pandas
在pycharm的命令行中安装
pip install pandas
WARNING: Ignoring invalid distribution -umpy
使用yml文件进行conda环境迁移
首先使用export 选项生成一个 environment.yml 文件,以在不同的平台和操作系统之间 复现项目环境。environment.yml 文件不针对特定操作系统,并且使用YAML格式。environment.yml 仅列出了软件包名称,由 conda 基于软件包的名称构建环境。 export 还包括使用pip安装的软件包。step1: 导出 environment.yml 文件:
注意:如果当前路径已经有了 environment.yml 文件,conda
Understanding the Subversion process
Checking out a Subversion repository using TortoiseSVN
Editing a working copy using TortoiseSVN
Inspecting changes using TortoiseSVN
Updating a working copy and resolving conflicts using TortoiseSVN
Committing changes using TortoiseSVN
Exporting a working copy using TortoiseSVN
Chapter 2: Keeping Extensions Secure
Writing SQL safe queries
Writing SQL-safe LIKE string comparison queries
Using the token
Making a filename safe
Making a directory path safe
Making a path safe
Safely retrieving request data
Getting a value from an array
Chapter 3: Working with the Database
Executing a query
Loading the first cell from the result of a query
Loading the first record from a query
This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009
6352 108th St, , Forest Hills, , 11375
Download at WoweBook.Com
Table of Contents
Loading more than one record from a query
Handling DBO errors
Creating a JTable
Creating a new record using a JTable
Updating a record using a JTable
Reading an existing record using a JTable
Deleting a record using a JTable
Checking a record in and out (record locking) using a JTable
Modifying record ordering using a JTable
Publishing and unpublishing a record using a JTable
Incrementing a record hit counter using a JTable
Chapter 4: The Session and the User
Getting the session handler
Adding data to the session
Getting session data
Checking for session data
Checking the session token
Getting the user
Determining if the current user is a guest
Getting the user's name and username
Getting the user's group ID and type
Restricting a user's access using Public, Registered, and Special
Getting the user's parameters
Setting the user's parameters
Extending and editing user parameters
Sending an email to the user
Chapter 5: Multilingual Recipes
Creating a translation
Translating some text
Determining the character length of a UTF-8 string
Removing leading and trailing UTF-8 whitespace
Comparing UTF-8 strings
Finding a UTF-8 string in a UTF-8 string
Executing a regular expression on a UTF-8 string
Reversing a UTF-8 string
Extracting a substring from a UTF-8 string
Replacing occurrences of a UTF-8 string in a UTF-8 string
Accessing characters in a UTF-8 string by position
This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009
6352 108th St, , Forest Hills, , 11375
Download at WoweBook.Com
Table of Contents
Converting a string from one encoding to another
Creating a UTF-8 aware database installation script
Chapter 6: Interaction and Styling
Getting page and component parameters
Adding CSS to a page
Overriding component templates
Adding JavaScript to a page
Creating a modal window
Generating modal content
Updating an element using Ajax and MooTools
Updating an element based on a form using Ajax and MooTools
Providing an Ajax response from a component
Enabling pagination in a list of items
Chapter 7: Customizing the Document
Setting the document title
Setting the document generator
Setting the document description
Adding metadata to the document
Changing the document character set
Changing the document MIME type
Controlling client caching of responses
Creating a PDF in a component
Creating an RSS or Atom feed in a component
Outputting a RAW document from a component
Using a custom JDocument in a component (PHP 5 only)
Chapter 8: Customizing the Backend
Disabling the menu bar
Setting the toolbar title and icon
Adding common item manipulation buttons to the toolbar
Adding common itemized manipulation buttons to the toolbar
Adding custom buttons to the toolbar
Adding spacers and dividers to the toolbar
Adding a help system to a component
Creating a filter header for tabular data in an MVC component
Filtering tabular data in an MVC component
Creating toggle-enabled order column headers for tabular data
in an MVC component
Ordering tabular data in an MVC component
This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009
6352 108th St, , Forest Hills, , 11375
Download at WoweBook.Com
Table of Contents
Chapter 9: Keeping it Extensible and Modular
Loading plugins
Invoking a plugin
Creating a Joomla! search plugin
Creating your own library and import function
Installing a plugin programmatically during a component installation
Managing categories the easy way
Defining JParameters using XML
Creating a JParameter object
Rendering a JParameter object
Saving JParameter data
Getting and setting values in a JParameter object
Defining your own JParameter type
Chapter 10: JObjects and Arrays
Getting a JObject property
Getting all of the public JObject properties
Setting a JObject property
Setting a batch of JObject properties
Reporting an error in a JObject
Getting an error from a JObject
Getting all errors from a JObject
Converting an object to an array
Converting an array to an object
Getting a column from a multidimensional array
Getting a value from an array
Casting all elements of an array to integers
Sorting an array of objects
Imploding an array
Chapter 11: Error Handling and Reporting
Raising an error-level J!error
Raising a warning-level J!error
Raising a notice-level J!error
Enqueuing a message
Changing the default J!error handling
Handling and raising a bespoke J!error
Logging errors and events using JLog
Throwing exceptions with PHP 5
Catching exceptions with PHP 5
This material is copyright and is licensed for the sole use by Vadim Kudria on 4th October 2009
6352 108th St, , Forest Hills, , 11375
Download at WoweBook.Com
Table of Contents
Chapter 12: Files and Folders
Checking whether a file or folder exists
Reading a file
Deleting a file or folder
Copying a file or folder
Moving and renaming files and folders
Creating a folder
Uploading files to Joomla!
Reading a directory structure
Changing file and folder permissions
Index
conda安装软件报兼容性问题的解决 Found conflicts! Looking for incompatible packages.failed.UnsatisfiableError
【conda 安装软件报错 ERROR conda.auxlib.logz:stringify(163): Expecting value: line 1 column 1 (char 0)】
【install.packages(“openssl“)不成功,提示tools/version.c:1:10: fatal error: openssl/opensslv.h: 不存在】
conda安装软件报兼容性问题的解决 Found conflicts! Looking for incompatible packages.failed.UnsatisfiableError
weixin_42001274:
conda安装软件报兼容性问题的解决 Found conflicts! Looking for incompatible packages.failed.UnsatisfiableError
AKiRa_csd:
conda安装软件报兼容性问题的解决 Found conflicts! Looking for incompatible packages.failed.UnsatisfiableError
weixin_42001274:
conda安装软件报兼容性问题的解决 Found conflicts! Looking for incompatible packages.failed.UnsatisfiableError
Tony Einstein:
【install.packages(“openssl“)不成功,提示tools/version.c:1:10: fatal error: openssl/opensslv.h: 不存在】
【conda 安装软件报错 ERROR conda.auxlib.logz:stringify(163): Expecting value: line 1 column 1 (char 0)】
elasticsearch使用遇到的问题
【install.packages(“openssl“)不成功,提示tools/version.c:1:10: fatal error: openssl/opensslv.h: 不存在】
【conda 安装软件报错 ERROR conda.auxlib.logz:stringify(163): Expecting value: line 1 column 1 (char 0)】
elasticsearch使用遇到的问题