Anaconda在不更新conda的情况下安装新软件包

时间:2020-09-04 10:38:39

标签: python anaconda conda

我正在尝试使用conda install安装python软件包。它弹出此消息并停止:

enter image description here

这是否意味着我必须先更新conda?是否可以在不更新到最新版本的情况下安装新软件包?

2 个答案:

答案 0 :(得分:0)

根据Anaconda GitHub的回答,您可以通过export default class Piazza_Bra_AR_Scene extends React.Component { constructor() { super(); this.state = { showSceneItems : false, } this._getInfoControls = this._getInfoControls.bind(this); this._onBackClick = this._onBackClick.bind(this); this._onBackgroundPhotoLoadEnd = this._onBackgroundPhotoLoadEnd.bind(this); } render() { return ( <ViroARScene style={styles.container}> <ViroSkyBox source={{ nx:require('./res/Skybox/negx.png'), px:require('./res/Skybox/posx.png'), ny:require('./res/Skybox/negy.png'), py:require('./res/Skybox/posy.png'), nz:require('./res/Skybox/negz.png'), pz:require('./res/Skybox/posz.png')}} onLoadEnd={this._onBackgroundPhotoLoadEnd}/> <LoadingSpinner visible={!this.state.showSceneItems} position={[0, 0, -5]}/> <ViroImage source={nastro_azzurro} onClick={() => navigation.navigate('Home')} /> //here i want to navigate {this._getInfoControls()} </ViroARScene> ); } _getInfoControls() { return ( <ViroNode opacity={0} animation={{ name : "fadeIn", run : this.state.showSceneItems, loop : false, }} > <InfoElement url={arena_url} tipo_struttura={monumento} content={arena} event_content={event_arena} contentCardScale={[1,1,1]} position={polarToCartesian([-5, 220, -15])}/> <InfoElement url={initimissimi_url} tipo_struttura={negozio} content={intimissimi} event_content={event_intimissimi} contentCardScale={[1,1,1]} position={polarToCartesian([-8, 184, -5])}/> <InfoElement url={lv_url} tipo_struttura={negozio} content={lv} contentCardScale={[1,1,1]} event_content={event_lv} position={polarToCartesian([-7, 170, -5])}/> <InfoElement url={cinema_rivoli_url} tipo_struttura={tempo_libero} content={cinema_rivoli} event_content={event_cinema_rivoli} contentCardScale={[1,1,1]} position={polarToCartesian([-6, 62, -5])}/> <InfoElement url={piazza_url} tipo_struttura={tempo_libero} content={piazza} contentCardScale={[1,1,1]} event_content={event_piazza} position={polarToCartesian([-6, -23, -5])}/> <InfoElement url={comune_url} tipo_struttura={monumento} content={comune} contentCardScale={[1.5,1.5,1.5]} event_content={event_comune} position={polarToCartesian([-7, -65, -10])}/> </ViroNode> ); } _onBackgroundPhotoLoadEnd() { this.setState({ showSceneItems:true }); } } module.exports = Piazza_Bra_AR_Scene; 实现您所寻找的目标,其中X.X是您的conda版本。

此外,可以通过以下命令conda install <package> conda=X.X

抑制conda自动更新

答案 1 :(得分:0)

最好安装最新的Conda版本来安装软件包。更新Conda很容易。终端还会显示相应的命令。 您可以在这里找到更多帮助:Conda update