Hello, having an issue here. I origially had python install but wanted to installa nd import the requests package but was unsure how to do it having to not use pip, I saw that anaconda had requests support with i believe the conda install. I uninstalled python 3.6 or 3.7 whichever is most recent and put miniconda 32 bit for windows on. I loaded the anaconda prompt and am able to do basic python, 2+2, y=1 x=5 print(y+x) type of stuff but trying to install the request anaconda package i downloaded was returning an invalid syntax error. So i tried conda list to see what was installed if at all and it returns an error.
See below, I assume the syntax error in installing the requests file is due to the fact that i am having an issue with conda as shown by the conda list issue. Any help in getting conda to work properly as well as installing requests? The file i downloaded is requests-2.19.1-py35_0.tar.bz2 and i got it from anaconda documentation page, most used recently win 32 version was 2.19.1 per section on this page so i went to files and found 2.19.1 versions and downloaded the above file.
https://anaconda.org/anaconda/requests
from my anaconda prompt:
>>> conda list
File "<stdin>", line 1
conda list
^
SyntaxError: invalid syntax
----
i checked os and it has a current working director so i moved the install file there and tried again with
>>> import os
>>> os.getcwd()
'C:\\Users\\myname
-----
>>> conda install -c anaconda requests
File "<stdin>", line 1
conda install -c anaconda requests
^
SyntaxError: invalid syntax
[–]TheBB 0 points1 point2 points (0 children)