next day →
last day (65 days later) »
Berry Holmes
5:11 PM
This is a room where you can ping me for extended discussions about any of the answers I've written. Any other discussions are also welcome :-) unless they aren't personal.
2
Feeds
Berry Holmes
has made a change to the
feeds posted into this room
Berry Holmes
5:29 PM
I'd be glad if you read out the
FAQ
s first.
Berry Holmes
5:47 PM
@Hexacoordinate-C Welcome to Baker Street!
Berry Holmes
6:16 PM
@Hippalectryon the IDLE editor asks me the current encoding of the file
Hippalectryon
utf-8
Berry Holmes
it says failed to decode
Hippalectryon
Hm can you paste the exact error ?
Berry Holmes
sure just a moment
Hippalectryon
Ah that's weird. I've never used Idle before though.
I use notepad++
Berry Holmes
6:20 PM
I had to use notepad to edit it
now the last bit of the code looks like this
chatbot.joinRooms({"3229": handleActivity, "1098": handleActivity}) # 1098 : baker-street
chatbot.enableControl(3229)
Hippalectryon
don't use idle to run it run it through the command line
Berry Holmes
alright, i'll try
Berry Holmes
6:55 PM
@Hippalectryon I got yet another error
Hippalectryon
The first line of
main.py
is
# -*- coding: utf-8 -*-
right ?
Berry Holmes
no it's just as you've typed
Hippalectryon
When you say you used notepad for the code, you mean notepad.exe ?
Berry Holmes
yes the simple notepad that comes by default with microsoft, i had sublime text on my old pc
but rn i'm just stuck with notepad,
oh no
i understood what you mean to say, i messed up the encoding right?
Hippalectryon
It looks like for some reason your file is saved with some weird encoding
yeah
Berry Holmes
7:00 PM
oops
let me start afresh, and thanks a lot for your support
Hippalectryon
:-)
- brb, dinner -
Berry Holmes
take your time and enjoy the meal!
Shadow Wizard
Looking right
Looking left
Berry Holmes
7:17 PM
Hello!
Shadow Wizard
World!
Berry Holmes
haha
Shadow Wizard
Reminds me of my Den, though I'm not sure why I started it...
Think to discuss things too, but not only my answers.
Berry Holmes
I got the inspiration from one of the mod who started "Desk#
Shadow Wizard
@BerryHolmes hmm? Where?
Berry Holmes
7:19 PM
Let me search, just a moment
chat.stackexchange.com/rooms/info/58064/miths-desk
And then I stumbled across your den :-)
@ShadowWizard there you go
Shadow Wizard
@BerryHolmes Hehe, you never said "hello" there! ;)
Berry Holmes
haha true indeed, the place was
eerily
quite
Shadow Wizard
Well, Den isn't "official" place to get help from me like this room, but I usually won't refuse to give help. :)
@BerryHolmes on Sunday whole MSE is quiet... even Tavern.
Berry Holmes
Aha :) I see
Shadow Wizard
So, is this your real picture in the avatar?
Berry Holmes
7:23 PM
thanks I would definitely ask help from you in case :)
no this is my friend
Shadow Wizard
@BerryHolmes sure thing, you can either there or here, I'm stick around. :)
Berry Holmes
thanks a lot :)
Shadow Wizard
@BerryHolmes oh, she knows she's in your profile? ;)
Berry Holmes
haha she was a bit angry about this yesterday, but she didn't ask me to put it down either
Hippalectryon
- back -
Berry Holmes
7:30 PM
welcome back, here's a new error
No module named 'requests'
I'm learning how to install modules
Hippalectryon
Oh, yeah, you need to install some python modules. Before that, did you install python 2.7 or 3.x ?
Berry Holmes
It is 3.6.1
should I've installed 2.7?
Hippalectryon
Well, I run the code with 2.7, so I don't know if it's compatible with 3.x
Berry Holmes
coding horror screams
From where do I download the packages tho?
Hippalectryon
two options
1) use
pip
from the command line :
pip install packageName
2)
lfd.uci.edu/~gohlke/pythonlibs
I recommend the second option, it's easier, and you can be sure you're picked the right version
Berry Holmes
7:40 PM
the second option looks better.. yeah
and then what do i do with the .whl file
Hippalectryon
there should be .exe too
Berry Holmes
Ctrl+F in the page and then "requests" leads me only to an .whl file
pypi.python.org/pypi/requests/2.14.2
on this page there's a .tar file tho
Hippalectryon
ah damn :( we'll have to use pip
Berry Holmes
oh :o
Hippalectryon
hm
do
pip install requests
Berry Holmes
7:47 PM
okie doing
Hippalectryon
How's it going ?
Berry Holmes
Finished processing dependencies for requests yaaaay
now i think i've to repeat the procedure for
simplecrypt
Hippalectryon
oh, the package is named
simple-crypt
for pip
Berry Holmes
ah alright, downloaded it
i was confused for a moment
simplecrypto or simple-crypt haha thanks :)
same thing for
Crypto
Hippalectryon
8:06 PM
:-)
Berry Holmes
@Hippalectryon i installed crypto but still it says no module named "Crypto"
Hippalectryon
try
pip uninstall pycrypto
easy_install pycrypto
Berry Holmes
umm well, how do i do it using pip? I've been downloading the .tar files and then extracting them and installing them using python..
pip is not recognized as an internal/external command
Hippalectryon
oh
bootstrap.pypa.io/get-pip.py
Berry Holmes
i've entered
python -m pip install -U pip setuptools
into cmd as per the documentation
Hippalectryon
8:16 PM
Run that script, then try
pip
and see if the command works
Berry Holmes
no :( still getting the same error
Hippalectryon
Did the script throw any kind of error ? (the get_pip)
Berry Holmes
just a moment
i'll try it once more
wheel was not installed. done
no still the same error am I doing something wrong
Hippalectryon
close the command line and open a new one, same error ?
Berry Holmes
perhaps something about version 3.x?
Hippalectryon
8:25 PM
Oh maybe it's not in your environment variables
You have windows 10 ?
Berry Holmes
no it's windows 8
Hippalectryon
Not a problem, same issue
Berry Holmes
let me do it through the tar method
Hippalectryon
In the start menu search for "environment variable"
You should have a result like "edit environment variables", run it
basically follow that
github.com/Langoor2/PokemonGo-Map-FAQ/wiki/…
.
Berry Holmes
runned
Hippalectryon
8:31 PM
When you've added the env variables, don't forget to close the command line and run a new one to refresh the changes
Berry Holmes
oh i forgot that
yyyyyaaaaaaaayyyyyy
it's working!!!
Hippalectryon
:DDDD
Berry Holmes
thank u soooo muchhh
:( mom's telling me to turn off the computer but this is so interesting
Hippalectryon
I'll be here tomorrow evening too :-)
Berry Holmes
haha can we continue this tomorrow?
thanks a lot for your help!
Hippalectryon
8:37 PM
np :D
Berry Holmes
goodnight!
Hippalectryon
'night
next day →
last day (65 days later) »
all rooms
Transcript for
May '17
14
May
15
Baker Street
Intended for extended discussions about answers I've written (...
bot-development
coding-horror-screams
developers
errors-errors-errors
learning-to-code
open-source
take-over-the-world
teach-a-man-to-fish
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile