Installation on Windows fails unless cryptography is installed separately
See original GitHub issueWhen I install FakeNet-NG on Windows 7 by running python setup.py install
in an elevated command prompt, installation fails with the following error:
Installed c:\users\username\appdata\local\temp\easy_install-feuwer\cryptography-2.0.3\.eggs\pycparser-2.18-py2.7.egg
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*' found under directory 'vectors'
_openssl.c
build\temp.win-amd64-2.7\Release\_openssl.c(434) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
error: [Error 5] Access is denied: 'c:\\users\\username\\appdata\\local\\temp\\easy_install-feuwer\\cryptography-2.0.3\\.eggs\\cffi-1.10.0-py2.7-win-amd64.egg\\_cffi_backend.pyd'
A work-around is to induce the installation to succeed by first running pip install cryptography
. After that, running python setup.py install
terminates successfully and FakeNet-NG works when I invoke it by typing simply fakenet
in an elevated command prompt.
This is on
- Windows 7 Professional SP1 amd64
- Python 2.7.12 (x86 or amd64)
- VC for Python 2.7 from https://aka.ms/vcpython27
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Failed to install Python Cryptography package with PIP and ...
So, first thing you should try is upgrading your pip and installing the latest cryptography version as older versions don't get newer wheel ......
Read more >Installing package from git fails on cryptograpghy - Cano not ...
I am on the latest Poetry version. I have searched the issues of this repo and believe that this is not a duplicate....
Read more >Frequently asked questions — Cryptography 3.3.2 ...
If you are having issues installing cryptography the first troubleshooting step is to upgrade pip and then try to install ...
Read more >Installing the AWS Encryption SDK command line interface
This topic explains how to install the AWS Encryption CLI. ... On Windows, after you install Python, add the path to the Python.exe...
Read more >[KB8027] Error "This copy of windows is not installed on the ...
ESET Endpoint Encryption (EEE) Client and EEE Server are separate ... Re-install the Operating System with 1 disk present or clean the disks ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please reopen if encountered again.
Appears to work with the latest version of python and adding cryptography to dependencies before pyopenssl