Comments (11)
Install node.js>=16
from bad_copenheimer.
I was indeed using version 10.18 but now i get this error
Kirysaki@CloudMachine ~/bad_copenheimer-dev-builds$ python3 mongoBot.pyw
mongoBot.pyw:13: DeprecationWarning: The v4 is now deprecated and won't be supported in the future. Please, migrate to v5. https://github.com/interactions-py/interactions.py
import interactions
Traceback (most recent call last):
File "mongoBot.pyw", line 25, in <module>
import utils
File "/home/ubuntu/bad_copenheimer-dev-builds/utils/__init__.py", line 6, in <module>
from .database import Database
File "/home/ubuntu/bad_copenheimer-dev-builds/utils/database.py", line 4, in <module>
class Database:
File "/home/ubuntu/bad_copenheimer-dev-builds/utils/database.py", line 9, in Database
) -> list[dict[str, int]]:
TypeError: 'type' object is not subscriptable
from bad_copenheimer.
only python above 3.9 can run that
from bad_copenheimer.
I'm not able to reproduce this but for a temporary fix in "/home/ubuntu/bad_copenheimer-dev-builds/utils/database.py", line 9, you can remove the return type and see if that resolves it.
from bad_copenheimer.
No more errors related to that just weird ones like :
Kirysaki@CloudMachine ~/bad_copenheimer-dev-builds$ python3 setup.py
Traceback (most recent call last):
File "/home/ubuntu/bad_copenheimer-dev-builds/setup.py", line 4, in <module>
from utils import logger
File "/home/ubuntu/bad_copenheimer-dev-builds/utils/__init__.py", line 7, in <module>
from .finder import Finder
File "/home/ubuntu/bad_copenheimer-dev-builds/utils/finder.py", line 8, in <module>
import interactions
ModuleNotFoundError: No module named 'interactions'
Kirysaki@CloudMachine ~/bad_copenheimer-dev-builds$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting mcstatus (from -r requirements.txt (line 1))
Using cached mcstatus-10.0.2-py3-none-any.whl (26 kB)
Collecting discord-py-interactions (from -r requirements.txt (line 2))
Using cached discord_py_interactions-5.0.1-py3-none-any.whl (838 kB)
Requirement already satisfied: pymongo in /usr/local/lib/python3.11/dist-packages (from -r requirements.txt (line 3)) (4.3.3)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (2.22.0)
Collecting python-masscan (from -r requirements.txt (line 5))
Using cached python-masscan-1.0.0.tar.gz (7.7 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Im using python 3.11.3
from bad_copenheimer.
Btw setuptools is already installed
Kirysaki@CloudMachine ~/bad_copenheimer-dev-builds$ pip install setuptools
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (45.2.
```0)
from bad_copenheimer.
Is masscan installed? And interactions is discord-py-interactions
from bad_copenheimer.
yes it is
from bad_copenheimer.
Check the docs to pass an overridden path for where masscan is installed, as I don't think they have implemented the paths for arch I think you should make an issue with the package owner, the package is called 'python-masscan'
from bad_copenheimer.
but i was using masscan until the installation of the bot with no problems at all, i can reset the cloud machine to try again
from bad_copenheimer.
what version of python you have installed?
i keep getting weird errors
my dc is Kirysaki#0809 if you need any info about system etc
from bad_copenheimer.
Related Issues (20)
- [Bug]: DeprecationWarning: NotImplemented should not be used in a boolean context HOT 11
- Masscan and scanner works on windows HOT 13
- Error HOT 2
- [Bug]: cant open setup HOT 5
- [Bug]: HOT 5
- Error-Message HOT 6
- [Bug]: Failed to import on start mongoBot.pyw HOT 11
- [Bug]: /find Players does not exist HOT 3
- [Bug]: Error when running the setup.py file HOT 1
- [Bug]: Issues with the setup.py file (continuation) HOT 7
- [Bug]: Unable to start scanCore.py HOT 2
- [Bug]: Player not found in database HOT 1
- [Bug]: Not determining server properties as it should HOT 4
- [Bug]: ModuleNotFoundError: No module named 'interactions.api.models' HOT 1
- [Bug]: Cant run mongoBot.pyw HOT 1
- [Bug]: Error with /find command (mongobot) HOT 14
- [Bug]: Error with scancore.ipnb HOT 2
- Some additional /find functions
- [Bug]: Some /find-related bugs HOT 4
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 bad_copenheimer.