Comments (8)
I was able to resolve this issue...
The set_it_up function in setup.py, line 13 references conf_path, which is None because the installation evidently did not set the irs_config_dir environment variable. The previous line in setup.py attempts to locate this environment variable, which should resemble [HOMEDIR]/.irs.
So I ran the following (on Ubuntu):
export irs_config_dir=/home/dylan/.irs
I also added the line to /home/dylan/.bash_profile in order to persist the setting after restarts...
For Winders:
setx irs_config_dir "%HOMEPATH%\.irs"
You will have to close and reopen the command prompt for the variable to take effect...
'Hope that helps!
from irs.
I also have found this error. Have you find a workaround?
from irs.
No
from irs.
Ubuntu 18, Python 3.7.3
irs --setup
Traceback (most recent call last):
File "/home/mary/miniconda3/bin/irs", line 10, in <module>
sys.exit(main())
File "/home/mary/miniconda3/lib/python3.7/site-packages/irs/cli/cli.py", line 40, in main
set_it_up()
File "/home/mary/miniconda3/lib/python3.7/site-packages/irs/install/setup.py", line 13, in set_it_up
bin_path = os.path.join(conf_path, "bin")
File "/home/mary/miniconda3/lib/python3.7/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
from irs.
I found this alternative, https://github.com/ritiek/spotify-downloader.
Works great.
from irs.
from irs.
Sorry about this, I've been working on a crystal port for the past 6 months in between school and other personal projects, and as such I'm not really supporting the python build anymore. It was a cluster fuck of code that was taking far too much time to actively maintain.
I'd highly recommend checking out the new version on Windows Subsystem for Linux, but there was so much disparity between systems on the python version that I gave up on it.
from irs.
from irs.
Related Issues (20)
- Compile error -- `Error: undefined method 'mapping' for JSON:Module` HOT 1
- Compilation error: undefined local variable or method 'future' for Logger HOT 5
- Program hangs on download HOT 3
- Cant get past irs --install HOT 2
- Unhandled exception: Index out of bounds (IndexError) HOT 4
- Missing hash-key: "give-url" (KeyError) when trying to run with only album & artist HOT 2
- Wrong extension given for config file in readme HOT 10
- Unexpected char
- Youtube organization changed HOT 3
- Feature: Allow selecting youtubevideo to download HOT 4
- Release version is 1.2.1, internal version is 1.4.0 HOT 1
- Can't find libevent-2.1.so.6 HOT 13
- Youtube layout changed error HOT 3
- Multiple Issues and Suggestions HOT 2
- update documentation (what search_terms: does?) HOT 2
- youtube-dl error when searching for URL HOT 1
- URI-encode depreciated HOT 1
- Install Struggle HOT 11
- runtime error related to binary_directory HOT 1
- youtube-dl integration corrupted 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 irs.