Search found 10 matches
- Thu Sep 12, 2019 12:04 pm
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
also as an additional point to the actual title of the thread, it would be nice to have a plugin requirements type deal... i'm sure you guys know that though. i don't know anything about how hard it is to implement something like that. you guys have done a ton of work for this mod for free and it's ...
- Thu Sep 12, 2019 11:45 am
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
sorry i forgot to update the thread, but i just ended up changing libraries. and i did run with -debug, here the only log i kept. sorry i don't remember which package was installed for each of these https://pastebin.com/9R1mEDeT if anyone is searching for postgres postgresql psycopg2 etc... i switch...
- Tue Sep 10, 2019 6:35 pm
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
Well, it segfaults in a completely bare lxc. I officially give up
- Tue Sep 10, 2019 10:51 am
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
So, i've tested now as isolated as I possibly can. I'm running a debian 9 (stretch/oldstable) VM, same version as my server, except it's 32bit instead of 64bit. EDIT: obviously this is not isolated in terms of the libraries ( this issue ), i couldn't think of a better words, sorry.. i haven't tried ...
- Mon Sep 09, 2019 8:55 pm
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
just discovered i can color my text. cute. using the 'psycopg2' package results in sp plugin load test [SP] Loading plugin 'test'... [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plu...
- Mon Sep 09, 2019 6:05 pm
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
The issue about the warning you referenced mention to use: pip install --no-binary psycopg2 Tried with that option already? That's actually for an older version, they don't package it with binaries by default anymore so that command is the same as pip install psycopg2 on the current version, at lea...
- Mon Sep 09, 2019 5:12 pm
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
From their documentation, you need to install psycopg2-binary if you want a stand alone package which is what you need for Source.Python since the interpreter is embedded. Hi, I have tried that one, and it gives a seg fault if I remember correctly. There is an issue related to some clashing between...
- Mon Sep 09, 2019 4:44 pm
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
Have you tried to install the psycopg2 to the <csgo-install-dir>/csgo/addons/source-python/packages/site-packages ? pip install psycopg2 -t $CSGO_INSTALL_DIR/csgo/addons/source-python/packages/site-packages PS: swap of course $CSGO_INSTALL_DIR with the full csgo installation directory. Hi, thanks f...
- Mon Sep 09, 2019 3:06 pm
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
Re: What is the most reasonable way to install a pypi package to source.python?
everything in this comment is specific to my case and i dont expect anyone to help but i would really appreciate it if someone could try The package i'm trying to install is psycopg2, like i said it worked perfectly on windows and i wrote a shit load of queries with it so i'd really like to get it w...
- Mon Sep 09, 2019 3:03 pm
- Forum: General Discussion
- Topic: What is the most reasonable way to install a pypi package to source.python?
- Replies: 15
- Views: 27238
What is the most reasonable way to install a pypi package to source.python?
While developing my plugin on windows, if i remember correctly i just installed 32bit python 3.6.1 and installed the package with pip and moved it to addons/source-python/packages/site-packages. Whatever I did, it worked flawlessly. However, I've been struggling endlessly to achieve this on debian 9...