Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation still not working after serveral trys #1075

Closed
NmCAD opened this issue Nov 25, 2020 · 10 comments
Closed

Installation still not working after serveral trys #1075

NmCAD opened this issue Nov 25, 2020 · 10 comments
Labels
Command Line Utility (CLI) Issues related to pyRevit CLI tool [subsystem] Installer Issues related to the pyRevit installer [subsystem]

Comments

@NmCAD
Copy link

NmCAD commented Nov 25, 2020

Hello Everyone!
First of all thanks for pyRevit i love it!
I want to start Python programming myself and I really need the installation.
I also tried to install from a full git repsoritory... look:

_PS C:\Users\Jose De Jesus> pyrevit clones
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)_

But sorry I gave it up.

  1. For the installation i used the .exe pyRevit_4.8.4_signed. This went well.
  2. I installed the .exe pyRevit.CLI_4.8.4_signed too.
  3. I use an MSI Laptop, 64 bit and my Windows 10 Home is in German. Also Revit is installed in German.
  4. I use Revit 2020 and 2019.
  5. I run the command

pyrevit attach master 277 --installed

and this happens:

_PS C:\Users\Jose De Jesus> pyrevit attach master 277 --installed
Error: Can not find clone "master"
Run with "--debug" option to see debug messages_ 

I can do this from cmd or powershell...i get the same results:

_C:\Users\Jose De Jesus>pyrevit attach master 277 --installed
Error: Can not find clone "master"
Run with "--debug" option to see debug messages_
  1. I created my own .addin file on %ProgramData% and pyRevit was avaliable on the UI of my both Revits.
    I was a little bit unsure because of the GUID of the addin File. I was able to use pyRevit and also i have installed pyRevit MEP.
    But Revit ended crushing, depending on the tools that i used. I was very unsure using my own addinfiles. So i ended uf deleting them, and deinstalling the software. On the Log Time Load Report were 5 red messages pointing to None.

Desktop (please complete the following information):

  • OS: Windows 10 Home
  • pyRevit Version pyRevit_4.8.4
  • pyRevit Environment:
PS C:\Users\Jose De Jesus> pyrevit attach master 277 --installed
Error: Can not find clone "master"
Run with "--debug" option to see debug messages 

PS C:\Users\Jose De Jesus> pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
==> Attachments
==> Installed Extensions
==> Default Extension Search Path
C:\Users\Jose De Jesus\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2020.2.3 | Version: 20.2.30.42 | Build: 20200826_1250(x64) | Language: 1033 | Path: "C:\Program
 Files\Autodesk\Revit 2020\"
2019 Update for Trial Build | Version: 19.0.1.1 | Build: 20180328_1600(x64) | Language: 1033 | 
Path: "C:\Program Files\Autodesk\Revit 2019\"
==> Running Revit Instances
==> User Environment
Microsoft Windows 10 [Version 10.0.19041]
Executing User: MSI\Jose De Jesus
Active User: MSI\Jose De Jesus
Admin Access: No
%APPDATA%: "C:\Users\Jose De Jesus\AppData\Roaming"
Latest Installed .Net Framework: 4.8
No .Net Target Packs are installed.
No .Ne-Core Target Packs are installed.
pyRevit CLI 4.8.4.0

I would be very happy if i can run pyRevit. I thank you very much for the support.
Regards
Jose

@eirannejad
Copy link
Collaborator

eirannejad commented Nov 27, 2020

Hello @NmCAD
pyrevit clones lists the installed pyRevit clones. For some reason the installer fails to register the master clone. The clone is installed by default under %APPDATA%/pyRevit-Master. You'd need to register this clone first:

pyrevit clones add master "C:\Users\Jose De Jesus\AppData\Roaming\pyRevit-Master"

After the clone is registered, then you can

pyrevit attach master 277 --installed

BTW, you don't need to install the CLI separately. The installer is provided for people who want to clone pyRevit manually and need the CLI to manage the environments. There are great resources on the forums related to this

@eirannejad eirannejad added Installer Issues related to the pyRevit installer [subsystem] Command Line Utility (CLI) Issues related to pyRevit CLI tool [subsystem] labels Nov 27, 2020
@NmCAD
Copy link
Author

NmCAD commented Nov 28, 2020 via email

@wangtie
Copy link

wangtie commented Jun 18, 2021

hello @eirannejad
when i input this command: pyrevit clones add master "C:\Users\i3yoo\AppData\Roaming\pyRevit-Master"
I have the issue. Is there any solution?

C:\Users\i3yoo>pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.8" | Path: "C:\Program Files\pyRevit-Master"
==> Attachments
master | Product: "2018 First Customer Ship" | Engine: IPY277 (277) | Path: "C:\Program Files\pyRevit-Master" | AllUsers
==> Installed Extensions
==> Default Extension Search Path
C:\Users\i3yoo\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2018 First Customer Ship | Version: 18.0.0.420 | Build: 20170223_1515(x64) | Language: 1033 | Path: "d:\Program Files\Autodesk\Revit 2018"
==> Running Revit Instances
==> User Environment
Microsoft Windows 10 [Version 10.0.19042]
Executing User: DESKTOP-N8QO3RH\i3yoo
Active User: DESKTOP-N8QO3RH\i3yoo
Admin Access: Yes
%APPDATA%: "C:\Users\i3yoo\AppData\Roaming"
Latest Installed .Net Framework: 4.8
Installed .Net Target Packs: v3.5 v4.0 v4.5 v4.5.1 v4.5.2 v4.6 v4.6.1 v4.7.2 v4.X
No .Ne-Core Target Packs are installed.
pyRevit CLI 4.8.8.0

C:\Users\i3yoo>pyrevit clones add master "C:\Users\i3yoo\AppData\Roaming\pyRevit-Master"
Error: 未能找到路径“C:\Users\i3yoo\AppData\Roaming\pyRevit-Master”的一部分。
Run with "--debug" option to see debug messages

@wangtie
Copy link

wangtie commented Jun 18, 2021

@eirannejad and when i open revit ,then report error
image

@BigFishBIM
Copy link

@eirannejad and when i open revit ,then report error
image

我也是这样,请问您解决了吗

@ExCanMan
Copy link

I had different errors and this line into CMD helped me out, now it works perfectly
pyrevit attach master 2711 --installed --allusers

@clay-m-smith
Copy link

I am getting a similar bug after trying all of the fixes. See attached
image_2022-08-16_202249841

@bizfamo
Copy link

bizfamo commented Sep 26, 2022

Hello! I am trying to install the Tesla Toolbar version of pyRevit on my machine and I cannot seem to get it to work. Any chance I could get some help with this? The installation instructions I have tell me to copy the pyRevit files into my AppData folder, copy the addin file with my replaced username, and then I get the error the error below:
image

Any help is greatly appreciated!

@dago50
Copy link

dago50 commented Nov 4, 2022

please see attached

Screenshot 2022-11-04 111500

@Tonny013
Copy link

Py revit with 2022 does not load?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command Line Utility (CLI) Issues related to pyRevit CLI tool [subsystem] Installer Issues related to the pyRevit installer [subsystem]
Projects
None yet
Development

No branches or pull requests

9 participants