Skip to content

Latest commit

 

History

History
53 lines (49 loc) · 3.23 KB

install_guide.md

File metadata and controls

53 lines (49 loc) · 3.23 KB

rvt_model_services python install guide

since rvt_model_services relies on a bunch of awesome packages,
here is an installation guide which might be useful:

CPython:

  • install cpython 3.7 or higher: download Python the installer (64bit recommended)
    from python.org . make sure you install it for all users, if you need installation and rvt_model_services with different user privileges.
    ideally have "add to path" ist selected. (recommended!)
  • the python packages can be installed from this directory:
    • either with the included requirements.txt:
      python -m pip install --user -r requirements.txt
    • or for each package individually:
      python -m pip install --user beautifulsoup4
      python -m pip install --user bokeh
      python -m pip install --user colorama
      python -m pip install --user colorful
      python -m pip install --user docopt
      python -m pip install --user numpy
      python -m pip install --user pandas
      python -m pip install --user psutil
      python -m pip install --user olefile
      python -m pip install --user slackclient==1.0.6 python -m pip install --user rvt_detector
      python -m pip install --user rjm
      python -m pip install --user tinydb
      python -m pip install --user prompt-toolkit
      python -m pip install --user requests
  • check afterwards with a "pip list" if your installation process was successful
  • optionally/ideally you could set this up in an virtual environment, but that is beyond the scope of this guide.

Autodesk Revit®

  • regular install to the standard paths like these:
    • C:\Program Files\Autodesk\Revit Architecture 2019
    • C:\Program Files\Autodesk\Revit 2020

not required but recommended:

  • RevitPythonShell: download the newest installer from the releases section from github revitpythonshell
    if you are stuck:

    • installation details on file locations from Daren Thomas' gitbook
    • with the IT setup at our company I had to do the following on a win7 machine:
      install RPS as Administrator, then copy the following files and folders with content over:
      • C:\Users\<InstallAdmin>\AppData\Roaming\RevitPythonShell201X
        -> C:\Users\<YourUserAccount>\AppData\Roaming\RevitPythonShell201X
      • C:\Users\<InstallAdmin>\AppData\Roaming\Autodesk\Revit\Addins\201X\RevitPythonShell201X.addin
        -> C:\Users\<YourUserAccount>\AppData\Roaming\Autodesk\Revit\Addins\201X\RevitPythonShell201X.addin
  • install a console emulator that is both powerful and fun to use.

  • maybe even combine Python and windows prompt:

    • xonsh: install via: python3 -m pip install --user xonsh