Skip to content

Commit

Permalink
fix VTK-related issues
Browse files Browse the repository at this point in the history
typo in previous commit
  • Loading branch information
CogBrainHealthLab authored Nov 30, 2024
1 parent 4ff5d0a commit b09b88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/VWRfirstrun.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ VWRfirstrun=function(requirement="any", n_vert=0, promptless=FALSE)
message('A specific version of the Numpy package (<= 1.26.4) is more stable for analyses, it will now be installed in the Python libraries along with its dependencies.\n')
#pip instead of install_py as it will use a virtual environment
system('(pip install numpy==1.26.4 || pip3 install numpy==1.26.4)') #posterior numpy versions break python functions
system('(pip install vtk==9.3.1 || pip3 install nvtk==9.3.1)') #latest vtk==9.4.0 causes problems
system('(pip install vtk==9.3.1 || pip3 install vtk==9.3.1)') #latest vtk==9.4.0 causes problems

message('Please restart R after Python installation for its environment to be properly detected by reticulate.')

Expand Down

0 comments on commit b09b88b

Please sign in to comment.