Azure / Azure/iotedgedev

pip install iotedgedev errors in conda environment on Windows

Open
#608 0 comments 0 reactions 0 assignees View on GitHub
InBacklog
Dominant language
Python
Stars
166
Forks
76
PR merge metrics
No merged PRs in 30d

Description

### Description

Environment:
Running conda on Windows 11

(IOTEdgeModule) C:\ >conda --version
conda 23.5.0

(IOTEdgeModule) C:\ > python --version
Python 3.9.13

(IOTEdgeModule) C:\ >docker --version
Docker version 20.10.17, build 100c701

Command:
(IOTEdgeModule) C:\ > pip install iotedgedev
ERROR:

pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
conda-repo-cli 1.0.41 requires requests_mock, which is not installed.
pytoolconfig 1.2.5 requires packaging>=22.0, but you have packaging 21.3 which is incompatible.
jupyter-core 5.3.0 requires pywin32>=300; sys_platform == "win32" and platform_python_implementation != "PyPy", but you have pywin32 227 which is incompatible.
conda-repo-cli 1.0.41 requires clyent==1.2.1, but you have clyent 1.2.2 which is incompatible.
conda-repo-cli 1.0.41 requires nbformat==5.4.0, but you have nbformat 5.7.0 which is incompatible.
conda-repo-cli 1.0.41 requires PyYAML==6.0, but you have pyyaml 5.4.1 which is incompatible.
conda-repo-cli 1.0.41 requires requests==2.28.1, but you have requests 2.25.1 which is incompatible.
black 0.0 requires packaging>=22.0, but you have packaging 21.3 which is incompatible.

### Expected behavior

No errors or abort install.

### Actual behavior

pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
conda-repo-cli 1.0.41 requires requests_mock, which is not installed.
pytoolconfig 1.2.5 requires packaging>=22.0, but you have packaging 21.3 which is incompatible.
jupyter-core 5.3.0 requires pywin32>=300; sys_platform == "win32" and platform_python_implementation != "PyPy", but you have pywin32 227 which is incompatible.
conda-repo-cli 1.0.41 requires clyent==1.2.1, but you have clyent 1.2.2 which is incompatible.
conda-repo-cli 1.0.41 requires nbformat==5.4.0, but you have nbformat 5.7.0 which is incompatible.
conda-repo-cli 1.0.41 requires PyYAML==6.0, but you have pyyaml 5.4.1 which is incompatible.
conda-repo-cli 1.0.41 requires requests==2.28.1, but you have requests 2.25.1 which is incompatible.
black 0.0 requires packaging>=22.0, but you have packaging 21.3 which is incompatible.

### Steps to Reproduce

start a conda environment
pip install iotedgedev

### Environment

Environment:
Running conda on Windows 11

(IOTEdgeModule) C:\ >conda --version
conda 23.5.0

(IOTEdgeModule) C:\ > python --version
Python 3.9.13

(IOTEdgeModule) C:\ >docker --version
Docker version 20.10.17, build 100c701

(IOTEdgeModule) C:>pip --version
pip 23.0.1 from C:\Users\SOD\anaconda3\envs\IOTEdgeModule\lib\site-packages\pip (python 3.9)

(IOTEdgeModule)>iotedgedev --version
DLL load failed while importing win32file: The specified procedure could not be found.
C:\Users\SOD\anaconda3\envs\IOTEdgeModule\lib\site-packages\paramiko\transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
iotedgedev, version 3.3.7

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.