question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running install_aif360() on Windows 8.1

See original GitHub issue

After I install en load aif360 from Github on my Windows machine, I get an error:
Error: Installing Python packages into a virtualenv is not supported on Windows

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
nrkarthikeyancommented, Sep 23, 2020

@FrieseWoudloper please provide more details. @gdequeiroz ^^^

0reactions
FrieseWoudlopercommented, Sep 26, 2020

Executing R.Version() gave me some interesting information

$platform
[1] "x86_64-w64-mingw32"

$arch
[1] "x86_64"

$os
[1] "mingw32"

$system
[1] "x86_64, mingw32"

$status
[1] ""

$major
[1] "4"

$minor
[1] "0.2"

$year
[1] "2020"

$month
[1] "06"

$day
[1] "22"

$`svn rev`
[1] "78730"

$language
[1] "R"

$version.string
[1] "R version 4.0.2 (2020-06-22)"

$nickname
[1] "Taking Off Again"

IOError: [Errno 2] No such file or directory: '%USERPROFILE%\\AppData\\Local\\r-miniconda\\envs\\r-reticulate\\lib\\site-packages\\aif360\\datasets\\..\\data\\raw\\adult\\adult.data'
To use this class, please download the following files:

	https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data
	https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.test
	https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.names

and place them, as-is, in the folder:

	%USERPROFILE%\AppData\Local\r-miniconda\envs\r-reticulate\lib\site-packages\aif360\data\raw\adult

I downloaded the adult.* files and put them in the directory mentioned above. I executed the code again:

ad <- adult_dataset()

This time I only got this warning:

WARNING:root:Missing Data: 3620 rows removed from AdultDataset.

So I guess it is working fine now. Could you confirm that?

Upgrading R on my Windows 7 laptop, and installing + running R with administrative privileges didn’t solve the problem on my Windows 8.1 laptop. When I execute the following code:

library(aif360)
install_aif360()

I still get this error:

Error: Installing Python packages into a virtualenv is not supported on Windows

So maybe I should just accept that it is not going to work on my old laptop?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation Guide for AI Fairness 360 Toolkit
We will describe how to install AI Fairness 360 toolkit (AIF360) in a standard machine running a. Windows, Linux, MacOS operating systems.
Read more >
error using aif360 package for bias mitigation - Stack Overflow
I installed the package correctly using the command !pip aif360 install in google colab, but after days I was working in my project...
Read more >
Windows 8.1 Pro (Retail) Installation Fails At Beginning Of
Windows installation encountered an unexpected error. Verify that the installation sources are accessible, and restart the installation. Error ...
Read more >
AI Fairness 360
This extensible open source toolkit can help you examine, report, and mitigate discrimination and bias in machine learning models throughout the AI application ......
Read more >
Fairness in AI Systems - Consileon AI
Errors in the prediction of higher-weighted samples are thus more ... pip install ‚aif360[LFR,OptimPreproc]' #Some algorithms require further dependencies.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found