Comments (3)
Indeed a normal pip installation will not work offline, because it needs to download a number of dependencies (listed in requirements.txt and setup.py).
To install offline, you need to get every dependency first, and then install them one by one in the correct order, with oletools at the end. This would need to be added to the documentation.
from oletools.
Okay, thanks.
Is this the only way or is it possible to make a Copy 'n Paste deployment of all installed packages from a development machine to a production machine?
Sorry, I'm a C#-developer and not familar with Python environment.
from oletools.
In theory yes, you could copy the site-packages
directory where Python stores all external packages, assuming you have the same python version on both machines.
But you need to pay attention how external packages have been installed in the first place:
- if packages were installed as root/administrator, they should be in the global site-packages directory of the python interpreter. (this is the easiest solution but not recommended on modern Linux distributions)
- if they were installed as a non-admin user, they may be in a site-packages directory in the user's profile.
- and they can also be installed in a virtual environment, which is located in a dedicated directory to avoid dependency conflicts with the system.
But all in all, I would recommend to download all dependencies locally and install them with pip (with a script, to automate things). It's probably a bit more work, but it would avoid any install glitches.
from oletools.
Related Issues (20)
- mraptor: should ignore directories when using wildcards HOT 1
- ftguess: file type not detected due to lack of root storage CLSID
- oleid/oleobj/msodde: sensibility to zipbomb packaged inside OOXML files
- clsid: add tag to select suspicious CLSIDs
- Olevba not expecting optional ProjectCompatVersion record HOT 9
- clsid/ftguess: add ZED container format
- Macro detection issues HOT 2
- Make VBA Tools->References Information available HOT 2
- ftguess: fallback to magika (or others) when file type not identified
- olevba/mraptor: extract info from vbaData.xml
- olevba: ignore malformed OLE files inside OpenXML
- oleobj/oleid: very large OLE object not reported
- oleobj/oleid: distinguish legitimate hyperlinks from suspicious ones
- ftguess: add strict/safe mode to match extension to file formats
- ftguess: add options to list supported file formats and extensions
- ftguess: add option to rename files with extension matching format
- olevba, mraptor: add keywords LoadXML/transformNode for XSL to script
- olevba+mraptor: add keywords from malapi.io
- oleid, ftguess: parsing issues with PPTM file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oletools.