I am following the pynomo installation steps in order to use their code.
I installed Anaconda, tried to run the code and it said there was an attribute error - object has no attribute 'texoutput'.
I realised I had to install Tex Live for this to work but even after installing I still get the same error message.
I'm very new to this so I am unsure how to properly set it up for it to work.
Here is there instructions:
enter image description here
Related
I've been stuck on this issue for almost 2 days. I installed python 3.10 and I've been trying to connect it with Anaconda and VS Code. Whenever I import numpy library or even try to run any code it doesn't connect to the kernel.
Similarly, when I tried using it on Jupyter Notebook it gave me the same error. There were a few solutions here that said uninstall pyzmq and reinstall it, but whenever I try to do that using command prompt it gives me the error "pip is not defined as a function" so I installed pip and ran the code and it still didn't run.
Can you please help me out?
enter image description hereenter image description hereenter image description here
I am using Spyder 4.1.5 with Python 3.8.5 with Anaconda
When trying to show the content of a variable in Spyder i get the following error
Spyder is unable to show the variable you are trying to view because the module spydercustomize was not found in your Spyder environment. Please install this package in your Spyder environment.
A simple pip install spydercustomize does not work
I don't even know why it is missing. I think the problem occured the first time when I tried to update Spyder. A reinstallation of Anaconda didn't help either.
My Google skills were not good enough to find any solution. I only find problems where variables don't show in the variable explorer. But that is not my problem.
Btw, built in classes like lists or dicts can be displayed, custom classes can't.
I appreciate your help!
EDIT
After updating to Spyder 4.2.0 I got the following error:
Spyder was unable to retrieve the value of this variable from the
console.
The error message was: An error occured, see the console.
Note: Please don't report this problem on Github, there's nothing to
do about it.
Console is empty
Looks like spydercustomize is part of a package called spyder-kernels. Maybe try:
$ pip install spyder spyder-kernels --upgrade
Windows 10, Python 3.8.5, using Mu 1.0.3. I am trying to install new modules. I just started learning python this weekend so I am pretty clueless. There does not seem to be much online that addresses this problem, unless I just don't know the right words.
I have tried going to command line and entering set PYTHONPATH="[a list of all paths that came up in response to printing sys.path]". The command line seemed to accept this, since it did not give me an error message. But Mu still gives me a
ModuleNotFoundError: no module named "modulename".
I have additionally obtained just the location of the module by typing its name into the shell, and then attempting sys.path.append("path"), in both Mu and the shell. I get the same ModuleNotFoundError.
So, how do I get the code editor to find modules? And, how do I make it a permanent fix?
As per this article the Mu editor has its own Python environment, separate from the one that typical Python installations have
Due to this, to be able to use them on Windows, we have to install our requirements into a specific location:
pip install –r automate-win-requirements.txt --target "C:\Users\USERNAME\AppData\Local\Mu\pkgs"
it might be a pathing issue since the first error I got on script was the pygame module not existing and after trying to install the module on the terminal i keep getting a DEPRECATION message saying python 2.7 reached the end of it's life.......
I'm trying to figure out how to set my atom text editor path right and figure out how to use pip 3 on the terminal any advice on what to do?
just for context this was all working until sometime ago. I haven't downloaded anything since then.
Have u tried simply uninstalling python and reinstalling the newest version? Had this issue some times when teaching python, and uninstalling + reinstalling plus considering the correct environment variable path ( https://discuss.atom.io/t/running-python-on-atom/49460) solved it always so far, good luck!
Having some problems with Gdal installation with python 2.7 on Windows 7 32bit. I am running MSVC 2010. I have followed the instruction from the blog website
http://cartometric.com/blog/2011/10/17/install-gdal-on-windows/
The installation is fine. At the end of it, I am able to run ogr2ogr in the MS-DOS and have gotten the similar screen as listed in the blog.
However, when I am trying to use the command "import osgeo" on the Python IDLE GUI shell. A series of error message is released, reading like the following
"DLL error:.........."
I believe that this might mean that the python binding is of wrong version. I have cleared up my installation by removing the following: Python-Gdal binding, Gdal, Python 2.7
After removing them, I have retried my installation with Python 3.2.3 instead and loaded the Gdal package and python binding accordingly. However, the same error returns.
Is there any intermediate steps that I could take to verify the installation. Any other advice I could have to have the bindings installed? Or is my reinstallation method correct?
I have tried to install FWTools too. It doesnt seem to work either. I have run the Python shell from EV-shell and type in "import osgeo". Have gotten the message "no module exist...."
Thanks
Get the precompiled gdal from here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal
I have some other notes on setting up postgres and postgis 2.0 here if you need it:
http://monkut.webfactional.com/blog/archive/2012/5/2/using-django-14-with-gdal-19-and-postgis-20/