Stellaris

Stellaris

Stellaris Dashboard
rumhirschen Nov 6, 2018 @ 11:41am
Help for Installation
Hello,

unfortunately I have to bother you with my installation Problems on Windows 7.

I watched your instruction video.

I tried to deinstall and reinstall Python, it is 3.7. and I ran a pip install of all the requiered packages. And I tried several other things. I checked the 'Path' routing manually.
Even the instructions stated that it can be put in any directory, I put in the stellaris directory for a try, because before hand it was on a different drive.

But I cannot get it to work.

I know dashboard does not support other mods. But I did not expect that other mods would be an issue in installation.

I would be very glad if you could help me with the following problem.

Everytime now install.bat runs into this problem:

C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard>python -m venv env

C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard>cmd /k "call env\Scripts\activate & python -m pip install -e ."
Parameterformat incorrect - 850.

[...]

Requirement already satisfied: jupyter-core in c:\program files (x86)\steam\steamapps\common\stellaris\stellaris-dashboard\env\lib\site-packages (from nbformat>=4.2->plotly->stellarisdashboard==0.0.0)
(4.4.0)

Installing collected packages: stellarisdashboard
Running setup.py develop for stellarisdashboard

Complete output from command "C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard\env\Scripts\python.exe" -c "import setuptools, tokenize;__file__='C:\\Program Files (x86)\
\Steam\\steamapps\\common\\Stellaris\\stellaris-dashboard\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" de
velop --no-deps:

Cython is not installed, using pre-built C-extension if available, or (slow) fallback solution.
running develop
Checking .pth file support in C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard\env\Lib\site-packages\
C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard\env\Scripts\pythonw.exe -E -c pass

TEST PASSED: C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard\env\Lib\site-packages\ appears to support .pth files
error: ("Can't get a consistent path to setup script from installation directory", 'c:\\program files (x86)\\steam\\steamapps\\common\\stellaris\\stellaris-dashboard\\', 'c:\\program files (x86)\\
steam\\steamapps\\common\\stellaris\\stellaris-dashboard')

----------------------------------------
Command ""C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard\env\Scripts\python.exe" -c "import setuptools, tokenize;__file__='C:\\Program Files (x86)\\Steam\\steamapps\\commo
n\\Stellaris\\stellaris-dashboard\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed
with error code 1 in C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard\

You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

(env) C:\Program Files (x86)\Steam\steamapps\common\Stellaris\stellaris-dashboard>
Last edited by rumhirschen; Nov 6, 2018 @ 11:41am
< >
Showing 1-9 of 9 comments
rumhirschen Nov 7, 2018 @ 2:14am 
Maybe there are conflicts because of an parallel Installation of Anaconda?
blubblubblobb  [developer] Nov 7, 2018 @ 7:18am 
Hi, I have never used Anaconda myself, but if you have multiple python versions installed, you could try replacing the python in the "python -m venv env" command in the install.bat script with the explicit path to the correct python.exe file. Maybe this will fix the problem?
rumhirschen Nov 7, 2018 @ 12:22pm 
Thank you for your answer.
I already tried this explicit path in the install.bat. :-(

Maybe I try a clean sweep of python and retry the mod installation
Just to be clear, mods should not a scource of error at this point, right?

And at least I really want to thank you for this mod! It brings a better sense of history to the game, I always missed something like this.
blubblubblobb  [developer] Nov 8, 2018 @ 2:47am 
The installation should be independent of the game mods you have installed. I think it is related to how I setup the project structure. It is a bit weird that I don't have any problems at all, but I might be able to fix it for the next release.

Maybe you could remove your existing env folder or start with a clean download of the latest release and try the following steps: (for 1 and 2 you can simply change the install.bat script before running it)
1. Run
python -m venv env
2. Run
cmd /k "call env\Scripts\activate & python -m pip install -r requirements.txt"
3. Move the
src/stellarisdashboard
folder up one level, so that the stellarisdashboard folder sits right next to the env folder
4. Run the stellarisdashboard.bat file (I think it should work without any changes)

Please let me know if that resolves your problem :)
Last edited by blubblubblobb; Nov 8, 2018 @ 2:52am
rumhirschen Nov 8, 2018 @ 6:51am 
Thank you! I will try that and report back.
rumhirschen Nov 8, 2018 @ 1:31pm 
Okay this worked out. In principle it shows up as an extra menü in the In-Game-Browser/help menu. But as I run a heavily modded game or because of not enough save games to read from/time elapse it does not show any data. And I can't select a game.
awesomeadam217 Nov 8, 2018 @ 5:08pm 
Not sure if you read the discussion here, but I also had anaconda and came across the same error. Also your last comment is the same problem I have after a related workaround (heavily modded game not showing data).

It would be hard to develop a save game parser that could account for mods. ¯\_(ツ)_/¯

503 errors when you try and select the game? or something similar
rumhirschen Nov 8, 2018 @ 10:49pm 
Oh, I know dashboard cannot support other mods. Thats is totally understandable to me. This was not meant as a complain by me.
I can't remember a 503 error, there was just no game to select from.
blubblubblobb  [developer] Nov 9, 2018 @ 1:50am 
Cool, I'm glad that this got it to work after all!

Handling all possible mods that change what is written to the save files is a pretty daunting task... But maybe I can make the code to be more robust against missing data. This way it might be possible to use at least some features with mods.

If you want, you can email one or two modded save files that aren't read correctly to blubblubblobb at gmail dot com and maybe add in a list of the mods you used. Then I can try to figure something out.
< >
Showing 1-9 of 9 comments
Per page: 1530 50