Comments (3)
I am also suffering from the same 'rlang' version problem: I cannot load the 'furrr' package that depends on rlang >= 1.0.2.
As a temporary workaround, I could update the 'rlang' package after unloading all dependent packages, and was able to run the 'furrr' package without problems:
# check rlang version at the start
packageVersion('rlang')
[1] ‘1.0.1’
# load furrr package after install.packages('furrr')
library(furrr)
Loading required package: future
Error: package or namespace load failed for ‘furrr’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 1.0.1 is already loaded, but >= 1.0.2 is required
... (snip)
# re-install rlang
install.packages('rlang')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
# check re-installed rlang version
packageVersion('rlang')
[1] ‘1.1.3’
# unload rlang and all dependent packages
unloadNamespace('IRkernel')
unloadNamespace('IRdisplay')
unloadNamespace('repr')
unloadNamespace('pillar')
unloadNamespace('ellipsis')
unloadNamespace('vctrs')
unloadNamespace('lifecycle')
unloadNamespace('htmltools')
unloadNamespace('rlang')
# load re-installed rlang
library(rlang)
# load furrr package again, and it works fine
library(furrr)
Loading required package: future
from colabtools.
Same problem:
options(repos = c(CRAN = "https://cloud.r-project.org/"))
install.packages("rlang")
library(rlang)
packageVersion("rlang")
Output:
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Error in value[[3L]](cond): Package ‘rlang’ version 1.0.1 cannot be unloaded:
Error in unloadNamespace(package) : namespace ‘rlang’ is imported by ‘ellipsis’, ‘pillar’, ‘vctrs’, ‘lifecycle’, ‘htmltools’ so cannot be unloaded
Traceback:
1. library(rlang)
2. tryCatch(unloadNamespace(package), error = function(e) {
. P <- if (!is.null(cc <- conditionCall(e)))
. paste("Error in", deparse(cc)[1L], ": ")
. else "Error : "
. stop(gettextf("Package %s version %s cannot be unloaded:\n %s",
. sQuote(package), oldversion, paste0(P, conditionMessage(e),
. "\n")), domain = NA)
. })
3. tryCatchList(expr, classes, parentenv, handlers)
4. tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. value[[3L]](cond)
6. stop(gettextf("Package %s version %s cannot be unloaded:\n %s",
. sQuote(package), oldversion, paste0(P, conditionMessage(e),
. "\n")), domain = NA)
from colabtools.
Well, within the past hour, the kernel seems to have updated to the point that rlang version 1.1.3 is the default installed version, and ggplot2 version 3.4.4 (2nd-to-last most recent version) is installed. Don't know what happened to cause the kernel to revert back to an ancient version of rlang/tidyverse, but it seems to be okay now?
from colabtools.
Related Issues (20)
- Giving error while saving HOT 1
- ModuleNotFoundError: No module named 'fpdf2' HOT 1
- Converting notebook to html failing with error metadata["widgets"][WIDGET_STATE_MIMETYPE]["state"] KeyError: 'state'
- Printing Issues
- Colab Pro. Account has been blocked from accessing Colab HOT 1
- Ubuntu 22.04 geckodriver/firefox crashes HOT 1
- AI tools not working HOT 1
- HELLO HOT 1
- Security Issue: API Key Exposure in Google Colab HOT 1
- bokeh show_app is currently unsupported. HOT 1
- Cannot load TF and jax together in colab
- Should the default CPU runtime have Python packages that depend on CUDA? HOT 1
- Could not able to connect the GPU> It is showing no backend ! HOT 4
- Cannot connect to my Google Drive HOT 3
- Issue with colab pro+ HOT 3
- Stuck on connecting to even a CPU. HOT 2
- Many users unable to connect to any runtimes HOT 1
- I can't use gpu to run tf(tensorflow) library, can you help me run it using gpu? HOT 5
- Program not running HOT 2
- GPU access HOT 1
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 colabtools.