Comments (4)
import sys, subprocess
def install_dependency(module):
call = [sys.executable, '-m', 'pip', 'install', module, '-t', sys.path[0]]
return subprocess.check_call(call)
install_dependency("scipy")
from topologicsverchok.
import sys, subprocess, pkg_resources
def install_dependency(module):
call = [sys.executable, '-m', 'pip', 'install', module, '-t', sys.path[0]]
return subprocess.check_call(call)
dependency_list = [#'ifcopenshell',
'ipfshttpclient',
"web3",
"openstudio",
'honeybee',
'honeybee-energy',
'ladybug',
'py2neo',
'pyvisgraph',
'specklepy',
'numpy',
'pandas',
'scipy']
installed_packages = {i.key: i.version for i in pkg_resources.working_set}
for module in dependency_list:
if module in installed_packages.keys():
print(f"{module} is already installed.")
else:
try:
install_dependency(module)
print(f"{module} installed.")
except:
print(f"Error during installing {module}")
from topologicsverchok.
There is #ifcopenshell because ifcopenshell on pip is currently available only for python 3.9. It is not available for python 3.10.
There is no json on the dependency list because it is already in the python standard library.
from topologicsverchok.
Thank you for the suggestion, I have added a node to Topologic to install the optional dependencies. ifcopenshell and homemaker need to be installed separately as they are not pip installable.
from topologicsverchok.
Related Issues (20)
- NameError("name 'tol' is not defined") in latest release HOT 1
- Build with Python 3.10 to support Blender 3.1?
- Fails to load libTopologicCore.0.0.0.dylib on MacOS HOT 4
- issue when activating latest version HOT 32
- Openstudio Binary Path on Linux HOT 4
- Installation issue on blender in Linux HOT 5
- Change U/V Direction of Faces HOT 8
- Dictionarybycustomproperties HOT 6
- linux version: libTopologicCore.so.0 file too short + other problems HOT 12
- Error with latest Sverchok HOT 10
- v.0.8.1.7 alpha is half empty HOT 10
- Activation in Blender not working HOT 9
- Feature Request: Optimized Oriented Bounding Box (OOBB) HOT 6
- More elaborate README HOT 1
- energy model bugs and questions HOT 4
- CellDictionaries are incorrect after rotating Cellcomplex HOT 7
- Why it cannot be actived HOT 3
- HBModel.ByTopology argument error
- Are menu icons coming HOT 4
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 topologicsverchok.