Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdstat not found in pip #14

Open
impshum opened this issue Apr 13, 2019 · 7 comments
Open

mdstat not found in pip #14

impshum opened this issue Apr 13, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@impshum
Copy link

impshum commented Apr 13, 2019

Entered...

impshum$ pip3.5 install -r requirements.txt

Got...

Collecting mdstat==1.0.4 (from -r requirements.txt (line 1))
  Could not fetch URL https://pypi.python.org/simple/mdstat/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) - skipping
  Could not find a version that satisfies the requirement mdstat==1.0.4 (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for mdstat==1.0.4 (from -r requirements.txt (line 1))
@klattimer
Copy link
Owner

Looks like you have an SSL/TLS certificate issue on your system. You're hitting a SSL/TLS error which looks like an old insecure TLS version is being served to you, do you get this problem with other things? It could indicate a man in the middle attack. Will keep it open out of curiosity until you get it working.

Can't reproduce it... on a mac, or linux box.

Collecting mdstat==1.0.4 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/61/57/879865d489c7f56d1b1687866f4e9eaecbc7dce7072bcf5bb4877c66c492/mdstat-1.0.4.tar.gz
Requirement already satisfied: CherryPy==18.1.1 in ./venv/lib/python3.5/site-packages (from -r requirements.txt (line 2)) (18.1.1)
Requirement already satisfied: psutil==5.6.1 in ./venv/lib/python3.5/site-packages (from -r requirements.txt (line 3)) (5.6.1)
Requirement already satisfied: cheroot>=6.2.4 in ./venv/lib/python3.5/site-packages (from CherryPy==18.1.1->-r requirements.txt (line 2)) (6.5.4)
Requirement already satisfied: more-itertools in ./venv/lib/python3.5/site-packages (from CherryPy==18.1.1->-r requirements.txt (line 2)) (7.0.0)
Requirement already satisfied: zc.lockfile in ./venv/lib/python3.5/site-packages (from CherryPy==18.1.1->-r requirements.txt (line 2)) (1.4)
Requirement already satisfied: portend>=2.1.1 in ./venv/lib/python3.5/site-packages (from CherryPy==18.1.1->-r requirements.txt (line 2)) (2.3)
Requirement already satisfied: backports.functools-lru-cache in ./venv/lib/python3.5/site-packages (from cheroot>=6.2.4->CherryPy==18.1.1->-r requirements.txt (line 2)) (1.5)
Requirement already satisfied: six>=1.11.0 in ./venv/lib/python3.5/site-packages (from cheroot>=6.2.4->CherryPy==18.1.1->-r requirements.txt (line 2)) (1.12.0)
Requirement already satisfied: setuptools in ./venv/lib/python3.5/site-packages (from zc.lockfile->CherryPy==18.1.1->-r requirements.txt (line 2)) (18.2)
Requirement already satisfied: tempora>=1.8 in ./venv/lib/python3.5/site-packages (from portend>=2.1.1->CherryPy==18.1.1->-r requirements.txt (line 2)) (1.14)
Requirement already satisfied: pytz in ./venv/lib/python3.5/site-packages (from tempora>=1.8->portend>=2.1.1->CherryPy==18.1.1->-r requirements.txt (line 2)) (2018.9)
Requirement already satisfied: jaraco.functools>=1.20 in ./venv/lib/python3.5/site-packages (from tempora>=1.8->portend>=2.1.1->CherryPy==18.1.1->-r requirements.txt (line 2)) (2.0)
Building wheels for collected packages: mdstat
Building wheel for mdstat (setup.py) ... done
Stored in directory: /Users/karllattimer/Library/Caches/pip/wheels/af/aa/2d/26995d4f58c7568f22063685fbcda381427069e14883541a46
Successfully built mdstat
Installing collected packages: mdstat
Successfully installed mdstat-1.0.4

@klattimer klattimer added the bug Something isn't working label Apr 14, 2019
@impshum
Copy link
Author

impshum commented Apr 14, 2019

I've not had this problem before no.

@klattimer
Copy link
Owner

OK, this should be fixed in two parts, firstly mdstat is now an optional requirement of the requirements.txt file. And secondly the UI doesn't crap out if you don't have a raid, or booted with uboot. So works in a pi, and should work on your mac.

Please check and confirm.

@impshum
Copy link
Author

impshum commented Apr 15, 2019

I'm not running xcode as I never use it (plus it's a waste of space for me). psutil requires it.

Not going smoothly here like.

@klattimer
Copy link
Owner

xcode command line utils perhaps?

@impshum
Copy link
Author

impshum commented Apr 17, 2019

I seriously need to flash this machine. It's got the bad AIDS or something.

@klattimer
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants