Closed jengelman closed 6 years ago
We are in the process of building all of the packages. You won't be able to update to 3.7 until all of the packages in your environment are available. You can create a separate environment to play with python 3.7, but it won't have many of your packages available.
I have this same problem. All I want is a new fresh environment with Python 3.7 on Windows 7 64-bit. I don't even want all the extra packages as I understand those take longer to be made available in Python 3.7. However, I still encountered the same problem. Why is this not working?
conda create -n py37 python=3.7
More info: I tried with both Anaconda and Miniconda installations (I used 64-bit installer with Python 3.6 as default).
Here is my conda info python=3.7
:
python 3.7.0 hea74fb7_0
-----------------------
file name : python-3.7.0-hea74fb7_0.tar.bz2
name : python
version : 3.7.0
build string: hea74fb7_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/win-64
size : 21.1 MB
arch : None
constrains : ()
license : PSF
md5 : 0d32017fe32d896f49629ff1ca68e399
platform : None
subdir : win-64
timestamp : 1530191353802
url : https://repo.anaconda.com/pkgs/main/win-64/python-3.7.0-hea74fb7_0.tar.bz2
dependencies:
vc 14.*
pip
But I seem to have the dependencies listed above?
# packages in environment at ...\AppData\Local\Continuum\miniconda3:
#
# Name Version Build Channel
vc 14 h0510ff6_3
pip 10.0.1 py36_0
Well for me:
conda create -n py37_2 python=3.7
Solving environment: done
## Package Plan ##
environment location: C:\Users\builder\m64\envs\py37_2
added / updated specs:
- python=3.7
The following packages will be downloaded:
package | build
---------------------------|-----------------
python-3.7.0 | hea74fb7_0 21.1 MB defaults
The following NEW packages will be INSTALLED:
python: 3.7.0-hea74fb7_0 defaults
vc: 14-h0510ff6_3 defaults
vs2015_runtime: 14.0.25123-3 defaults
What do you get from just conda info
?
conda info
on my "base" env produced this:
$ conda info
active environment : None
user config file : C:\...\.condarc
populated config files : C:\...\.condarc
conda version : 4.5.4
conda-build version : not installed
python version : 3.6.5.final.0
base environment : C:\...\AppData\Local\Continuum\miniconda3 (writable)
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/win-64
https://repo.anaconda.com/pkgs/pro/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\...\AppData\Local\Continuum\miniconda3\pkgs
C:\...\AppData\Local\conda\conda\pkgs
envs directories : C:\...\AppData\Local\Continuum\miniconda3\envs
C:\...\AppData\Local\conda\conda\envs
C:\...\.conda\envs
platform : win-64
user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Windows/7 Windows/6.1.7601
administrator : False
netrc file : None
offline mode : False
$ conda create -n py37 python=3.7
Solving environment: ...working... failed
UnsatisfiableError: The following specifications were found to be in conflict:
- python=3.7
Use "conda info <package>" to see the dependencies for each package.
You have conda-forge as your top priority channel.
Please use -c defaults
on your command line to see if that avoids whatever conflict you are seeing here.
Unfortunately, that did not solve the conflict.
$ conda create -n py37 python=3.7 -c defaults
Solving environment: ...working... failed
UnsatisfiableError: The following specifications were found to be in conflict:
- python=3.7
Use "conda info <package>" to see the dependencies for each package.
Earlier we were missing some builds against python 3.7 stack such as pip but that should be available now. I wonder if there's some mirroring issue going on?
:woman_shrugging: I guess I'll try again next week. Thank you for your help!
This is not specific to windows, I'm seeing the same dependency failures on linux and mac. Perhaps the topic can be amended.
:~$ conda install python=3.7 Fetching package metadata ........... Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
@mcguipat, you are trying to replace the core component of a full python stack (probably 3.6 for which we have released hundreds of packages many of which you will have installed) with a python stack that's currently in the process of being built out (this involves roughly 680 packages for 6 different OS variants). At present only certifi, python, pip, setuptools and wheel packages have been released and only for 64-bit OSes (but also excluding linux-ppc64le).
If you want to play with the python interpreter and this very limited set of packages you need to do so in a new environment until all the packages have been released. For that you should do and see:
conda create -n py37 python=3.7
Solving environment: done
## Package Plan ##
environment location: /opt/conda/envs/py37
added / updated specs:
- python=3.7
The following packages will be downloaded:
package | build
---------------------------|-----------------
python-3.7.0 | hc3d631a_0 31.7 MB https://repo.anaconda.com/pkgs/main
wheel-0.31.1 | py37_0 62 KB https://repo.anaconda.com/pkgs/main
setuptools-39.2.0 | py37_0 550 KB https://repo.anaconda.com/pkgs/main
pip-10.0.1 | py37_0 1.7 MB https://repo.anaconda.com/pkgs/main
certifi-2018.4.16 | py37_0 142 KB https://repo.anaconda.com/pkgs/main
------------------------------------------------------------
Total: 34.1 MB
The following NEW packages will be INSTALLED:
ca-certificates: 2018.03.07-0 https://repo.anaconda.com/pkgs/main
certifi: 2018.4.16-py37_0 https://repo.anaconda.com/pkgs/main
libedit: 3.1.20170329-h6b74fdf_2 https://repo.anaconda.com/pkgs/main
libffi: 3.2.1-hd88cf55_4 https://repo.anaconda.com/pkgs/main
libgcc-ng: 7.2.0-hdf63c60_3 https://repo.anaconda.com/pkgs/main
libstdcxx-ng: 7.2.0-hdf63c60_3 https://repo.anaconda.com/pkgs/main
ncurses: 6.1-hf484d3e_0 https://repo.anaconda.com/pkgs/main
openssl: 1.0.2o-h20670df_0 https://repo.anaconda.com/pkgs/main
pip: 10.0.1-py37_0 https://repo.anaconda.com/pkgs/main
python: 3.7.0-hc3d631a_0 https://repo.anaconda.com/pkgs/main
readline: 7.0-ha6073c6_4 https://repo.anaconda.com/pkgs/main
setuptools: 39.2.0-py37_0 https://repo.anaconda.com/pkgs/main
sqlite: 3.24.0-h84994c4_0 https://repo.anaconda.com/pkgs/main
tk: 8.6.7-hc745277_3 https://repo.anaconda.com/pkgs/main
wheel: 0.31.1-py37_0 https://repo.anaconda.com/pkgs/main
xz: 5.2.4-h14c3975_4 https://repo.anaconda.com/pkgs/main
zlib: 1.2.11-ha838bed_2 https://repo.anaconda.com/pkgs/main
Proceed ([y]/n)? y
Downloading and Extracting Packages
python-3.7.0 | 31.7 MB | ####################################################################################################################################################################################################################################### | 100%
wheel-0.31.1 | 62 KB | ####################################################################################################################################################################################################################################### | 100%
setuptools-39.2.0 | 550 KB | ####################################################################################################################################################################################################################################### | 100%
pip-10.0.1 | 1.7 MB | ####################################################################################################################################################################################################################################### | 100%
certifi-2018.4.16 | 142 KB | ####################################################################################################################################################################################################################################### | 100%
Preparing transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate py37
#
# To deactivate an active environment, use
#
# $ conda deactivate
(devenv) bash-4.1# conda activate py37
(py37) bash-4.1# python
Python 3.7.0 (default, Jun 28 2018, 13:15:42)
[GCC 7.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
@mingwandroid I tried the conda create -n py37 python=3.7
command you said should work, but like everyone else I still got the UnsatisfiableError
. From what you posted it looks like maybe vc
is not yet available.
But thank you for explaining the nature of the difficulty!
Well, I'm still a bit baffled I must admit.
@mingwandroid I obviously understand the extent of the dependencies; however, it seems to only be a small number that explicitly restrict version to 3.6. I would have to assume python 3.x releases are backward compatible, so I don’t really see the substance in your comment.
Python->pip->wheel->wincertstore and wincertstore for py37 hasn't been uploaded yet.
So, to test out python 3.7 on windows, do:
conda create -n py37 python=3.7 c3i_test::wincertstore
OR:
conda config --set add_pip_as_python_dependency False
conda create -n py37 python=3.7
I would have to assume python 3.x releases are backward compatible, so I don’t really see the substance in your comment.
You don't have to assume incorrect assumptions of you don't want to.
is this bug only tracking windows ?
For a fresh install of miniconda on Linux and then running an upgrade, I get a failure
~/Code/miniconda3/bin/conda install -c anaconda python=3.7
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- chardet -> python=3.6
- python=3.7
Use "conda info <package>" to see the dependencies for each package.
This is not a bug, it is a lack of packages. Please if you want to play with python 3.7 at present, create a new environment to do so in. And don't expect many packages to exist yet.
As @nehaljwani mentioned above, the main issue that was preventing us from creating new environments was probably the absence of wincertstore
. Now that it is available, I was able to create a fresh environment by excluding default packages. ipython
does not yet support 3.7.
conda create -n py37 python=3.7 --no-default-packages
What is the timeline for all the packages to be compatible with 3.7?
What is the timeline for all the packages to be compatible with 3.7?
For linux (x86. x86-64, ppc64le) and macOS the full suite of Python 3.7 packages are already available.
For Windows, when it's done! While it's not really possible to give a reliable timeline for building the latest versions of 1000 packages and fixing all the issues encountered I'm estimating another 3 days or so.
Hi @mingwandroid , are the windows packages ready now? It's been a month but I'm still having problems.
Things should be better. Please open an issue detailing the exact nature of your exact issue filling all the requested information in.
I am not able to update python from 3.6.6 to the latest version in Anaconda Navigator. After attempting, the pop-up window claims "All requested packages already installed", which according to Anaconda is not correct. I confirmed the version I am using is in fact 3.6.6. I using 64-bit Win7. Any idea what's going on here?
Actual Behavior
After Python 3.7.0 was released and uploaded to the anaconda channel, (as shown by https://anaconda.org/anaconda/python), I tried to update with
conda install -c anaconda python
.Conda then attempted to install python 3.6.6 and a bunch of other packages I already had installed., I then tried running
conda update python
, which told me that all requested packages were already installed.To confirm that python 3.7.0 was in fact available, I ran
conda info python==3.7
, and got the following output:Directly running
conda install python=3.7
gives the following:Expected Behavior
Regular update process. I was previously able to upgrade to python 3.6 and 3.6.5 this way.
Steps to Reproduce
Any method to install python 3.7 from conda.
Anaconda or Miniconda version:
Python 3.6.6 :: Anaconda Ccustom (64-bit) anaconda command client (version 1.6.14) conda 4.5.4
Operating System:
Windows 7 Professional SP1
conda info
conda list --show-channel-urls