Miniconda Package
Published: August 17, 2017 - 1:25 PM
Good morning,
I would like to create a package for the "Continuum Anaconda" software, but I keep getting the following error:
Installing dst-anaconda3
Exception: Error during install of dst-anaconda3 (=4.4.0-4): errors in packages [[u'dst-anaconda3 (=4.4.0-4)', PackageEntry('dst-anaconda3','4.4.0-4')]]
Traceback (most recent call last):
File "C:\wapt\waptservice\waptservice.py", line 2100, in run
self.running_task.run()
File "C:\wapt\waptservice\waptservice.py", line 1360, in pwrapper
return func(*arg, **kwargs)
File "C:\wapt\waptservice\waptservice.py", line 1420, in run
self._run()
File "C:\wapt\waptservice\waptservice.py", line 1844, in _run
self.result.get('errors',[])))
Exception: Error during install of dst-anaconda3 (=4.4.0-4): errors in packages [[u'dst-anaconda3 (=4.4.0-4)', PackageEntry('dst-anaconda3','4.4.0-4')]]
Here is the install() function from my setup.py:
The switch for silent installation is presumably /S: https://conda.io/docs/help/silent.html
On the other hand, I understand that I then need to run the following command to install the Spyder editor: "conda install -c anaconda spyder". Can I simply run this command with run()?
I would like to create a package for the "Continuum Anaconda" software, but I keep getting the following error:
Installing dst-anaconda3
Exception: Error during install of dst-anaconda3 (=4.4.0-4): errors in packages [[u'dst-anaconda3 (=4.4.0-4)', PackageEntry('dst-anaconda3','4.4.0-4')]]
Traceback (most recent call last):
File "C:\wapt\waptservice\waptservice.py", line 2100, in run
self.running_task.run()
File "C:\wapt\waptservice\waptservice.py", line 1360, in pwrapper
return func(*arg, **kwargs)
File "C:\wapt\waptservice\waptservice.py", line 1420, in run
self._run()
File "C:\wapt\waptservice\waptservice.py", line 1844, in _run
self.result.get('errors',[])))
Exception: Error during install of dst-anaconda3 (=4.4.0-4): errors in packages [[u'dst-anaconda3 (=4.4.0-4)', PackageEntry('dst-anaconda3','4.4.0-4')]]
Here is the install() function from my setup.py:
Code: Select all
def install():
if iswin64():
print('Installation de dst-anaconda3-x64')
install_exe_if_needed("Anaconda3-4.4.0-Windows-x86_64.exe",'/S',key='Anaconda',min_version='4.4.0')On the other hand, I understand that I then need to run the following command to install the Spyder editor: "conda install -c anaconda spyder". Can I simply run this command with run()?