question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation on Windows fails unless cryptography is installed separately

See original GitHub issue

When 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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
iphelixcommented, Oct 5, 2017

Please reopen if encountered again.

0reactions
iphelixcommented, Oct 5, 2017

Appears to work with the latest version of python and adding cryptography to dependencies before pyopenssl

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found